Spaces:
Running
Running
File size: 321 Bytes
07a5a6f |
1 2 3 4 5 6 |
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("monakth/bert-base-multilingual-uncased-finetuned-squadv2")
model = AutoModelForQuestionAnswering.from_pretrained("monakth/bert-base-multilingual-uncased-finetuned-squadv2") |