poltextlab commited on
Commit
b5e3ca1
1 Parent(s): 06fb9d6

update sentiment model from xlm-roberta-large-pooled-sentiment to poltextlab/xlm-roberta-large-pooled-MORES

Browse files
Files changed (1) hide show
  1. interfaces/sentiment.py +1 -1
interfaces/sentiment.py CHANGED
@@ -20,7 +20,7 @@ domains = {
20
 
21
 
22
  def build_huggingface_path(language: str):
23
- return "poltextlab/xlm-roberta-large-pooled-sentiment"
24
 
25
  def predict(text, model_id, tokenizer_id):
26
  device = torch.device("cpu")
 
20
 
21
 
22
  def build_huggingface_path(language: str):
23
+ return "poltextlab/xlm-roberta-large-pooled-MORES"
24
 
25
  def predict(text, model_id, tokenizer_id):
26
  device = torch.device("cpu")