Update README.md
Browse files
README.md
CHANGED
@@ -6,7 +6,7 @@ Indonesian BERT Base Sentiment Classifier is a sentiment-text-classification mod
|
|
6 |
from transformers import pipeline
|
7 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
8 |
|
9 |
-
|
10 |
|
11 |
model = AutoModelForSequenceClassification.from_pretrained(pretrained)
|
12 |
tokenizer = AutoTokenizer.from_pretrained(pretrained)
|
|
|
6 |
from transformers import pipeline
|
7 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
8 |
|
9 |
+
pretrained= "mdhugol/indonesia-bert-sentiment-classification"
|
10 |
|
11 |
model = AutoModelForSequenceClassification.from_pretrained(pretrained)
|
12 |
tokenizer = AutoTokenizer.from_pretrained(pretrained)
|