Spaces:
Sleeping
Sleeping
Unityraptor
commited on
Commit
•
f306387
1
Parent(s):
86c4485
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ tokenizer = AutoTokenizer.from_pretrained("humarin/chatgpt_paraphraser_on_T5_bas
|
|
9 |
|
10 |
model = AutoModelForSeq2SeqLM.from_pretrained("humarin/chatgpt_paraphraser_on_T5_base").to(device)
|
11 |
|
12 |
-
translator = pipeline("translation", model="
|
13 |
|
14 |
def paraphrase(
|
15 |
question,
|
|
|
9 |
|
10 |
model = AutoModelForSeq2SeqLM.from_pretrained("humarin/chatgpt_paraphraser_on_T5_base").to(device)
|
11 |
|
12 |
+
translator = pipeline("translation", model="facebook/nllb-200-distilled-600M")
|
13 |
|
14 |
def paraphrase(
|
15 |
question,
|