Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use mehddii/roberta-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mehddii/roberta-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mehddii/roberta-finetuned")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mehddii/roberta-finetuned") model = AutoModelForSequenceClassification.from_pretrained("mehddii/roberta-finetuned") - Notebooks
- Google Colab
- Kaggle
roberta-finetuned
This model is a fine-tuned version of FacebookAI/roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0130
- Accuracy: 0.9987
- F1: 0.9991
- Precision: 0.9987
- Recall: 0.9996
- Roc Auc: 0.9999
- Tpr@fpr1%: 0.9998
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: 64
- eval_batch_size: 128
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall | Roc Auc | Tpr@fpr1% |
|---|---|---|---|---|---|---|---|---|---|
| 0.0338 | 1.0 | 2642 | 0.0092 | 0.9988 | 0.9992 | 0.9989 | 0.9994 | 0.9999 | 0.9996 |
| 0.0000 | 2.0 | 5284 | 0.0070 | 0.9989 | 0.9993 | 0.9994 | 0.9991 | 0.9999 | 0.9998 |
| 0.0011 | 3.0 | 7926 | 0.0130 | 0.9987 | 0.9991 | 0.9987 | 0.9996 | 0.9999 | 0.9998 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.8.3
- Tokenizers 0.22.2
- Downloads last month
- 1
Model tree for mehddii/roberta-finetuned
Base model
FacebookAI/roberta-base