hanifnoerr
commited on
Commit
•
d7699d8
1
Parent(s):
0ceac5c
Update README.md
Browse files
README.md
CHANGED
@@ -29,6 +29,9 @@ model-index:
|
|
29 |
language:
|
30 |
- id
|
31 |
pipeline_tag: text-classification
|
|
|
|
|
|
|
32 |
---
|
33 |
|
34 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -44,16 +47,17 @@ It achieves the following results on the evaluation set:
|
|
44 |
|
45 |
## Model description
|
46 |
|
47 |
-
|
48 |
|
49 |
## How to use
|
50 |
|
|
|
51 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
52 |
|
53 |
tokenizer = AutoTokenizer.from_pretrained("hanifnoerr/Fine-tuned-Indonesian-Sentiment-Classifier")
|
54 |
|
55 |
model = AutoModelForSequenceClassification.from_pretrained("hanifnoerr/Fine-tuned-Indonesian-Sentiment-Classifier")
|
56 |
-
|
57 |
|
58 |
### Training results
|
59 |
|
|
|
29 |
language:
|
30 |
- id
|
31 |
pipeline_tag: text-classification
|
32 |
+
|
33 |
+
widget:
|
34 |
+
- text: "Kalo kamu WFH emang kerja?"
|
35 |
---
|
36 |
|
37 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
47 |
|
48 |
## Model description
|
49 |
|
50 |
+
This model can be used to determine the sentiment of a text with three possible outputs [positive, negative, neutral]
|
51 |
|
52 |
## How to use
|
53 |
|
54 |
+
```python
|
55 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
56 |
|
57 |
tokenizer = AutoTokenizer.from_pretrained("hanifnoerr/Fine-tuned-Indonesian-Sentiment-Classifier")
|
58 |
|
59 |
model = AutoModelForSequenceClassification.from_pretrained("hanifnoerr/Fine-tuned-Indonesian-Sentiment-Classifier")
|
60 |
+
```
|
61 |
|
62 |
### Training results
|
63 |
|