Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import pandas as pd
|
|
7 |
from transformers import pipeline
|
8 |
from sentence_transformers import SentenceTransformer
|
9 |
|
10 |
-
model_name = "9wimu9/mt5-
|
11 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
12 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
13 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
|
7 |
from transformers import pipeline
|
8 |
from sentence_transformers import SentenceTransformer
|
9 |
|
10 |
+
model_name = "9wimu9/lfqa-mt5-large-sin-v1"
|
11 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
12 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
13 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|