Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use namesarnav/ac-reason-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use namesarnav/ac-reason-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="namesarnav/ac-reason-roberta-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("namesarnav/ac-reason-roberta-base") model = AutoModelForSequenceClassification.from_pretrained("namesarnav/ac-reason-roberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ac-reason-roberta-base
This model is a fine-tuned version of roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.1492
- Accuracy: 0.975
- Macro F1: 0.9750
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_FUSED 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: 100
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Macro F1 |
|---|---|---|---|---|---|
| No log | 1.0 | 188 | 0.3178 | 0.89 | 0.8890 |
| No log | 2.0 | 376 | 0.1796 | 0.945 | 0.9450 |
| 0.3079 | 3.0 | 564 | 0.6228 | 0.875 | 0.8733 |
| 0.3079 | 4.0 | 752 | 0.1492 | 0.975 | 0.9750 |
| 0.3079 | 5.0 | 940 | 0.1458 | 0.972 | 0.9720 |
Framework versions
- Transformers 5.17.0
- Pytorch 2.14.0+cu130
- Datasets 3.6.0
- Tokenizers 0.23.2
- Downloads last month
- 43
Model tree for namesarnav/ac-reason-roberta-base
Base model
FacebookAI/roberta-base