Text Classification
Transformers
TensorBoard
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use JahBless/roberta_bias with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JahBless/roberta_bias with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JahBless/roberta_bias")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JahBless/roberta_bias") model = AutoModelForSequenceClassification.from_pretrained("JahBless/roberta_bias", device_map="auto") - Notebooks
- Google Colab
- Kaggle
roberta_bias
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.4163
- Accuracy: 0.8944
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: 8
- eval_batch_size: 16
- 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: 3
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.3811 | 1.0 | 800 | 0.3968 | 0.8581 |
| 0.3316 | 2.0 | 1600 | 0.3870 | 0.8712 |
| 0.2051 | 3.0 | 2400 | 0.4163 | 0.8944 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.1.2
- Datasets 3.5.1
- Tokenizers 0.21.1
- Downloads last month
- 8
Model tree for JahBless/roberta_bias
Base model
FacebookAI/roberta-base