Update README.md
Browse files
README.md
CHANGED
|
@@ -50,8 +50,8 @@ Users should validate predictions on a case-by-case basis for high-stakes applic
|
|
| 50 |
from transformers import BertTokenizer, BertForSequenceClassification
|
| 51 |
|
| 52 |
# Load the tokenizer and model
|
| 53 |
-
tokenizer = BertTokenizer.from_pretrained("agufsamudra/
|
| 54 |
-
model = BertForSequenceClassification.from_pretrained("agufsamudra/
|
| 55 |
|
| 56 |
# Example usage
|
| 57 |
text = "Saya sangat puas dengan pelayanan ini!"
|
|
|
|
| 50 |
from transformers import BertTokenizer, BertForSequenceClassification
|
| 51 |
|
| 52 |
# Load the tokenizer and model
|
| 53 |
+
tokenizer = BertTokenizer.from_pretrained("agufsamudra/indo-sentiment-analysis")
|
| 54 |
+
model = BertForSequenceClassification.from_pretrained("agufsamudra/indo-sentiment-analysis")
|
| 55 |
|
| 56 |
# Example usage
|
| 57 |
text = "Saya sangat puas dengan pelayanan ini!"
|