cccc commited on
Commit
03dd16b
·
1 Parent(s): 31e3f30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,8 +36,8 @@ def sentiment_analysis(sentence, model_name):
36
  "CCCC/RoBERTa_English_FinancialNews_tuned":"roberta",
37
  }
38
 
39
- tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-moe-54b")
40
- model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-moe-54b")
41
 
42
  batched_input = ['We now have 4-month-old mice that are non-diabetic that used to be diabetic," he added.',
43
  "Dr. Ehud Ur, professor of medicine at Dalhousie University in Halifax, Nova Scotia and chair of the clinical and scientific division of the Canadian Diabetes Association cautioned that the research is still in its early days."
 
36
  "CCCC/RoBERTa_English_FinancialNews_tuned":"roberta",
37
  }
38
 
39
+ tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-distilled-600M")
40
+ model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M")
41
 
42
  batched_input = ['We now have 4-month-old mice that are non-diabetic that used to be diabetic," he added.',
43
  "Dr. Ehud Ur, professor of medicine at Dalhousie University in Halifax, Nova Scotia and chair of the clinical and scientific division of the Canadian Diabetes Association cautioned that the research is still in its early days."