Update model
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
3 |
import numpy as np
|
4 |
import torch
|
5 |
|
6 |
-
BASE_MODEL = "
|
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)
|