community-datasets/tamilmixsentiment
Viewer • Updated • 15.7k • 428 • 4
How to use Vasanth/tamil-sentiment-distilbert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Vasanth/tamil-sentiment-distilbert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Vasanth/tamil-sentiment-distilbert")
model = AutoModelForSequenceClassification.from_pretrained("Vasanth/tamil-sentiment-distilbert")This model is a fine-tuned version of distilbert-base-cased on the tamilmixsentiment dataset. It achieves the following results on the evaluation set:
This model was just created for doing classification task on tamilmixsentiment dataset
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.0442 | 1.0 | 250 | 0.9883 | 0.674 |
| 0.9227 | 2.0 | 500 | 0.9782 | 0.673 |
| 0.7591 | 3.0 | 750 | 1.0230 | 0.665 |