pragnakalp commited on
Commit
07a5a6f
1 Parent(s): 311f5dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
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")