Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,9 @@ Original file is located at
|
|
8 |
"""
|
9 |
|
10 |
from transformers import pipeline
|
|
|
|
|
|
|
11 |
|
12 |
model_checkpoint = "Madhana/distilroberta-base-finetuned-wikitext2-SQuAD-qa-WandB2"
|
13 |
new_model = AutoModelForQuestionAnswering.from_pretrained(model_checkpoint)
|
|
|
8 |
"""
|
9 |
|
10 |
from transformers import pipeline
|
11 |
+
from transformers import AutoModelForQuestionAnswering
|
12 |
+
from transformers import AutoTokenizer
|
13 |
+
|
14 |
|
15 |
model_checkpoint = "Madhana/distilroberta-base-finetuned-wikitext2-SQuAD-qa-WandB2"
|
16 |
new_model = AutoModelForQuestionAnswering.from_pretrained(model_checkpoint)
|