Spaces:
Runtime error
Runtime error
pierreguillou
commited on
Commit
·
3494273
1
Parent(s):
1f7f0cb
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import transformers
|
|
3 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
4 |
|
5 |
# model & tokenizer
|
6 |
-
model_name = "t5-base-qa-squad-v1.1-portuguese"
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
8 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
9 |
|
|
|
3 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
4 |
|
5 |
# model & tokenizer
|
6 |
+
model_name = "pierreguillou/t5-base-qa-squad-v1.1-portuguese"
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
8 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
9 |
|