Instructions to use Ysfxjo/marbert-saudi-complaint-action with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ysfxjo/marbert-saudi-complaint-action with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Ysfxjo/marbert-saudi-complaint-action")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Ysfxjo/marbert-saudi-complaint-action") model = AutoModelForSequenceClassification.from_pretrained("Ysfxjo/marbert-saudi-complaint-action") - Notebooks
- Google Colab
- Kaggle
marbert-saudi-complaint-action
This model is a fine-tuned version of UBC-NLP/MARBERTv2 on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0589
- Accuracy: 0.9897
- Precision: 0.9897
- Recall: 0.9897
- F1: 0.9896
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: 32
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 0.06
- num_epochs: 20
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.1002 | 1.0 | 1500 | 0.0976 | 0.977 | 0.9779 | 0.977 | 0.9771 |
| 0.0293 | 2.0 | 3000 | 0.0412 | 0.993 | 0.9930 | 0.993 | 0.9930 |
| 0.0350 | 3.0 | 4500 | 0.0440 | 0.9927 | 0.9927 | 0.9927 | 0.9927 |
| 0.0344 | 4.0 | 6000 | 0.0514 | 0.993 | 0.9930 | 0.993 | 0.9930 |
Framework versions
- Transformers 5.7.0
- Pytorch 2.4.1+cu124
- Datasets 4.8.5
- Tokenizers 0.22.2
- Downloads last month
- 151
Model tree for Ysfxjo/marbert-saudi-complaint-action
Base model
UBC-NLP/MARBERTv2