Text Classification
Transformers
TensorBoard
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use Rasmy/finetuned_roberta_for_augmented_cognitive_distortions_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rasmy/finetuned_roberta_for_augmented_cognitive_distortions_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Rasmy/finetuned_roberta_for_augmented_cognitive_distortions_classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Rasmy/finetuned_roberta_for_augmented_cognitive_distortions_classification") model = AutoModelForSequenceClassification.from_pretrained("Rasmy/finetuned_roberta_for_augmented_cognitive_distortions_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
finetuned_roberta_for_augmented_cognitive_distortions_classification
This model is a fine-tuned version of roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 1.0335
- F1: 0.6418
- Precision: 0.6270
- Recall: 0.6852
- Accuracy: 0.6852
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: 4e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall | Accuracy |
|---|---|---|---|---|---|---|---|
| 1.0333 | 1.0 | 2315 | 1.0335 | 0.6418 | 0.6270 | 0.6852 | 0.6852 |
| 0.8155 | 2.0 | 4630 | 1.0707 | 0.6507 | 0.6331 | 0.6790 | 0.6790 |
| 0.624 | 3.0 | 6945 | 1.1999 | 0.6471 | 0.6374 | 0.6614 | 0.6614 |
Framework versions
- Transformers 4.47.0
- Pytorch 2.5.1+cu121
- Datasets 3.3.1
- Tokenizers 0.21.0
- Downloads last month
- 5
Model tree for Rasmy/finetuned_roberta_for_augmented_cognitive_distortions_classification
Base model
FacebookAI/roberta-base