Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ from langs import LANGS
|
|
6 |
#from langs_all import LANGS ##for 200+ languages
|
7 |
|
8 |
TASK = "translation"
|
9 |
-
CKPT = "facebook/nllb-200-distilled-1.3B"
|
10 |
-
|
11 |
|
12 |
model = AutoModelForSeq2SeqLM.from_pretrained(CKPT)
|
13 |
tokenizer = AutoTokenizer.from_pretrained(CKPT)
|
|
|
6 |
#from langs_all import LANGS ##for 200+ languages
|
7 |
|
8 |
TASK = "translation"
|
9 |
+
# CKPT = "facebook/nllb-200-distilled-1.3B"
|
10 |
+
CKPT = "facebook/nllb-200-distilled-600M"
|
11 |
|
12 |
model = AutoModelForSeq2SeqLM.from_pretrained(CKPT)
|
13 |
tokenizer = AutoTokenizer.from_pretrained(CKPT)
|