DGurgurov's picture
Upload README.md with huggingface_hub
9492a60 verified

Fine-tuned XLM-R Model for slovenian Sentiment Analysis

This is a fine-tuned XLM-R model for sentiment analysis in slovenian.

Model Details

  • Model Name: XLM-R Sentiment Analysis
  • Language: slovenian
  • Fine-tuning Dataset: DGurgurov/slovenian_sa

Training Details

  • Epochs: 20
  • Batch Size: 32 (train), 64 (eval)
  • Optimizer: AdamW
  • Learning Rate: 5e-5

Performance Metrics

  • Accuracy: 0.91877
  • Macro F1: 0.91037
  • Micro F1: 0.91877

Usage

To use this model, you can load it with the Hugging Face Transformers library:

from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("DGurgurov/xlm-r_slovenian_sentiment")
model = AutoModelForSequenceClassification.from_pretrained("DGurgurov/xlm-r_slovenian_sentiment")

License

[MIT]