Instructions to use Laranya011/grievance-intent-classifier-muril with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Laranya011/grievance-intent-classifier-muril with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Laranya011/grievance-intent-classifier-muril")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Laranya011/grievance-intent-classifier-muril") model = AutoModelForSequenceClassification.from_pretrained("Laranya011/grievance-intent-classifier-muril", device_map="auto") - Notebooks
- Google Colab
- Kaggle
grievance-intent-classifier-v2-balanced
This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.6702
- Accuracy: 0.8344
- Macro F1: 0.8345
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Macro F1 |
|---|---|---|---|---|---|
| 2.4905 | 1.0 | 79 | 2.3141 | 0.3312 | 0.2521 |
| 1.8231 | 2.0 | 158 | 1.3090 | 0.7389 | 0.7190 |
| 1.1407 | 3.0 | 237 | 0.8648 | 0.8089 | 0.8055 |
| 0.8072 | 4.0 | 316 | 0.6984 | 0.8535 | 0.8543 |
| 0.6327 | 5.0 | 395 | 0.6549 | 0.8662 | 0.8662 |
Framework versions
- Transformers 4.44.2
- Pytorch 2.4.0+cu121
- Datasets 4.0.0
- Tokenizers 0.19.1
- Downloads last month
- 3
Model tree for Laranya011/grievance-intent-classifier-muril
Base model
FacebookAI/xlm-roberta-base