adorkin commited on
Commit
9dfe88f
1 Parent(s): 9b3da76

Update model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
3
  import numpy as np
4
  import torch
5
 
6
- BASE_MODEL = "AlekseyDorkin/xlm-roberta-en-ru-emoji"
7
  TOP_N = 5
8
 
9
  model = AutoModelForSequenceClassification.from_pretrained(BASE_MODEL)
 
3
  import numpy as np
4
  import torch
5
 
6
+ BASE_MODEL = "amazon-sagemaker-community/xlm-roberta-en-ru-emoji-v2"
7
  TOP_N = 5
8
 
9
  model = AutoModelForSequenceClassification.from_pretrained(BASE_MODEL)