Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ import torch
|
|
| 28 |
|
| 29 |
# Load the tokenizer and model
|
| 30 |
# model_name = 'aubmindlab/bert-base-arabertv02'
|
| 31 |
-
model_name = '
|
| 32 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 33 |
model = AutoModelForSequenceClassification.from_pretrained(model_name, num_labels=3)
|
| 34 |
|
|
|
|
| 28 |
|
| 29 |
# Load the tokenizer and model
|
| 30 |
# model_name = 'aubmindlab/bert-base-arabertv02'
|
| 31 |
+
model_name = 'tabularisai/multilingual-sentiment-analysis'
|
| 32 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 33 |
model = AutoModelForSequenceClassification.from_pretrained(model_name, num_labels=3)
|
| 34 |
|