ashourzadeh7 commited on
Commit
c090998
·
verified ·
1 Parent(s): 02bf3e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import torch
4
 
5
  # this model was loaded from https://hf.co/models
6
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
7
- model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M").to(device)
8
- tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-distilled-600M")
9
 
10
 
11
  LANGS = ["pes_Arab", "ckb_Arab", "eng_Latn"]
 
4
 
5
  # this model was loaded from https://hf.co/models
6
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
7
+ model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-3.3B").to(device)
8
+ tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-3.3B")
9
 
10
 
11
  LANGS = ["pes_Arab", "ckb_Arab", "eng_Latn"]