DGurgurov's picture
Upload README.md with huggingface_hub
7eaba53 verified
# Fine-tuned XLM-R Model for uzbek Sentiment Analysis
This is a fine-tuned XLM-R model for sentiment analysis in uzbek.
## Model Details
- **Model Name**: XLM-R Sentiment Analysis
- **Language**: uzbek
- **Fine-tuning Dataset**: DGurgurov/uzbek_sa
## Training Details
- **Epochs**: 20
- **Batch Size**: 32 (train), 64 (eval)
- **Optimizer**: AdamW
- **Learning Rate**: 5e-5
## Performance Metrics
- **Accuracy**: 0.88177
- **Macro F1**: 0.87393
- **Micro F1**: 0.88177
## Usage
To use this model, you can load it with the Hugging Face Transformers library:
```python
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("DGurgurov/xlm-r_uzbek_sentiment")
model = AutoModelForSequenceClassification.from_pretrained("DGurgurov/xlm-r_uzbek_sentiment")
```
## License
[MIT]