|
--- |
|
library_name: transformers |
|
license: apache-2.0 |
|
base_model: distilbert/distilbert-base-uncased |
|
tags: |
|
- generated_from_trainer |
|
metrics: |
|
- accuracy |
|
model-index: |
|
- name: distilbert-finetuning |
|
results: [] |
|
--- |
|
|
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You |
|
should probably proofread and complete it, then remove this comment. --> |
|
|
|
# distilbert-finetuning |
|
|
|
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co./distilbert/distilbert-base-uncased) on the None dataset. |
|
It achieves the following results on the evaluation set: |
|
- Loss: 0.4057 |
|
- Accuracy: 0.8387 |
|
- F1 Macro: 0.8326 |
|
|
|
## 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: 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: 10 |
|
|
|
### Training results |
|
|
|
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | |
|
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:| |
|
| 0.7293 | 1.0 | 907 | 0.4495 | 0.8206 | 0.8107 | |
|
| 0.377 | 2.0 | 1814 | 0.3867 | 0.8422 | 0.8389 | |
|
| 0.2841 | 3.0 | 2721 | 0.4231 | 0.8383 | 0.8324 | |
|
| 0.1976 | 4.0 | 3628 | 0.4991 | 0.8366 | 0.8304 | |
|
|
|
|
|
### Framework versions |
|
|
|
- Transformers 4.46.3 |
|
- Pytorch 2.4.0 |
|
- Datasets 3.1.0 |
|
- Tokenizers 0.20.3 |
|
|