| | --- |
| | base_model: bert-base-uncased |
| | library_name: peft |
| | license: apache-2.0 |
| | tags: |
| | - generated_from_trainer |
| | model-index: |
| | - name: lora-bert-sst2 |
| | 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. --> |
| |
|
| | # lora-bert-sst2 |
| |
|
| | This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset. |
| | It achieves the following results on the evaluation set: |
| | - Loss: 0.2517 |
| |
|
| | ## 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.0001 |
| | - train_batch_size: 128 |
| | - eval_batch_size: 128 |
| | - seed: 42 |
| | - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
| | - lr_scheduler_type: linear |
| | - num_epochs: 2 |
| |
|
| | ### Training results |
| |
|
| | | Training Loss | Epoch | Step | Validation Loss | |
| | |:-------------:|:-----:|:----:|:---------------:| |
| | | 0.3469 | 1.0 | 527 | 0.2568 | |
| | | 0.2536 | 2.0 | 1054 | 0.2517 | |
| |
|
| |
|
| | ### Framework versions |
| |
|
| | - PEFT 0.13.1 |
| | - Transformers 4.44.2 |
| | - Pytorch 2.4.1+cu121 |
| | - Datasets 3.0.1 |
| | - Tokenizers 0.19.1 |