change the model
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipe
|
|
5 |
import torch
|
6 |
|
7 |
# Inisialisasi model dan tokenizer
|
8 |
-
model_name = "
|
9 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
10 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
11 |
|
|
|
5 |
import torch
|
6 |
|
7 |
# Inisialisasi model dan tokenizer
|
8 |
+
model_name = "ragilbuaj/sentiment-analysis-TWS-reviews"
|
9 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
10 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
11 |
|