Update README.md
Browse files
README.md
CHANGED
|
@@ -1,17 +1,34 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
-
#
|
| 7 |
|
| 8 |
-
|
|
|
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
|
|
|
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
### Model Description
|
| 15 |
|
| 16 |
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- sentiment-analysis
|
| 5 |
+
- bert
|
| 6 |
+
- text-classification
|
| 7 |
+
license: apache-2.0
|
| 8 |
+
language:
|
| 9 |
+
- id
|
| 10 |
+
base_model: indobenchmark/indobert-base-p1
|
| 11 |
+
pipeline_tag: text-classification
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Sentiment BERT Tweet
|
| 15 |
|
| 16 |
+
A BERT model fine-tuned for Indonesian tweet sentiment classification.
|
| 17 |
+
This model classifies tweets into three sentiment categories:
|
| 18 |
|
| 19 |
+
- **Positive**
|
| 20 |
+
- **Negative**
|
| 21 |
+
- **Neutral**
|
| 22 |
|
| 23 |
+
## How to Use
|
| 24 |
|
| 25 |
+
```python
|
| 26 |
+
from transformers import pipeline
|
| 27 |
+
|
| 28 |
+
model = pipeline("text-classification", model="VIOLET21/sentiment-bert-indo")
|
| 29 |
+
result = model("Saya sangat senang hari ini!")
|
| 30 |
+
print(result)
|
| 31 |
|
|
|
|
| 32 |
|
| 33 |
<!-- Provide a longer summary of what this model is. -->
|
| 34 |
|