sepidmnorozy/Indonesian_sentiment
Viewer • Updated • 11.3k • 99 • 2
How to use digo-prayudha/Indonesian_sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="digo-prayudha/Indonesian_sentiment") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("digo-prayudha/Indonesian_sentiment")
model = AutoModelForSequenceClassification.from_pretrained("digo-prayudha/Indonesian_sentiment")This model is a fine-tuned version of distilbert-base-uncased on sepidmnorozy/Indonesian_sentiment. It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|---|---|---|---|
| 0.4013 | 0.3141 | 0.8667 | 0 |
| 0.2526 | 0.2923 | 0.8839 | 1 |
| 0.1678 | 0.2402 | 0.9016 | 2 |
from transformers import pipeline
model = pipeline("text-classification",model="digo-prayudha/Indonesian_sentiment")
model("Makanannya Enak sekali!")
Base model
distilbert/distilbert-base-uncased