metadata
license: mit
base_model: roberta-base
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: roberta-base-lora-text-classification
results: []
roberta-base-lora-text-classification
This model is a fine-tuned version of roberta-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4596
- Accuracy: {'accuracy': 0.937}
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: 0.001
- train_batch_size: 4
- eval_batch_size: 4
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 6
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy |
---|---|---|---|---|
No log | 1.0 | 250 | 0.2240 | {'accuracy': 0.942} |
0.3471 | 2.0 | 500 | 0.3056 | {'accuracy': 0.932} |
0.3471 | 3.0 | 750 | 0.3573 | {'accuracy': 0.937} |
0.0905 | 4.0 | 1000 | 0.4528 | {'accuracy': 0.945} |
0.0905 | 5.0 | 1250 | 0.4691 | {'accuracy': 0.938} |
0.0447 | 6.0 | 1500 | 0.4596 | {'accuracy': 0.937} |
Framework versions
- Transformers 4.35.2
- Pytorch 2.1.0+cu118
- Datasets 2.15.0
- Tokenizers 0.15.0