SeyedAli/Persian-Text-Emotion
Viewer • Updated • 6.95k • 53 • 4
How to use mansoorhamidzadeh/bert_classification_persian_emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="mansoorhamidzadeh/bert_classification_persian_emotion") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("mansoorhamidzadeh/bert_classification_persian_emotion")
model = AutoModelForSequenceClassification.from_pretrained("mansoorhamidzadeh/bert_classification_persian_emotion")This model is a fine-tuned version of PartAI/TookaBERT-Base on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.4802 | 1.0 | 695 | 0.4607 |
| 0.2808 | 2.0 | 1390 | 0.4024 |
| 0.177 | 3.0 | 2085 | 0.4380 |
Base model
PartAI/TookaBERT-Base