Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use JBhug/roberta-base_intents_20 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JBhug/roberta-base_intents_20 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JBhug/roberta-base_intents_20")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JBhug/roberta-base_intents_20") model = AutoModelForSequenceClassification.from_pretrained("JBhug/roberta-base_intents_20", device_map="auto") - Notebooks
- Google Colab
- Kaggle
roberta-base_intents_20
This model is a fine-tuned version of roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 3.5647
- Accuracy: 0.0962
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: 5e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 27
- 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: 40
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 2.7071 | 0.3030 | 10 | 3.1593 | 0.0769 |
| 1.9915 | 0.6061 | 20 | 3.2570 | 0.0577 |
| 1.3124 | 0.9091 | 30 | 3.3799 | 0.1154 |
| 0.7975 | 1.2121 | 40 | 3.5843 | 0.1154 |
| 0.424 | 1.5152 | 50 | 3.6496 | 0.1154 |
| 0.279 | 1.8182 | 60 | 3.5647 | 0.0962 |
Framework versions
- Transformers 4.47.0
- Pytorch 2.5.1+cu124
- Datasets 2.18.0
- Tokenizers 0.21.0
- Downloads last month
- 5
Model tree for JBhug/roberta-base_intents_20
Base model
FacebookAI/roberta-base