Spaces:
Running
Running
pragnakalp
commited on
Commit
•
07a5a6f
1
Parent(s):
311f5dd
Update app.py
Browse files
app.py
CHANGED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
|
2 |
+
from transformers import pipeline
|
3 |
+
|
4 |
+
tokenizer = AutoTokenizer.from_pretrained("monakth/bert-base-multilingual-uncased-finetuned-squadv2")
|
5 |
+
|
6 |
+
model = AutoModelForQuestionAnswering.from_pretrained("monakth/bert-base-multilingual-uncased-finetuned-squadv2")
|