|
--- |
|
library_name: peft |
|
tags: |
|
- trl |
|
- sft |
|
- generated_from_trainer |
|
base_model: meta-llama/Llama-2-7b-hf |
|
datasets: |
|
- generator |
|
model-index: |
|
- name: llama7bit-lora-sql |
|
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. --> |
|
|
|
# llama7bit-lora-sql |
|
|
|
This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the generator dataset. |
|
It achieves the following results on the evaluation set: |
|
- Loss: 0.3700 |
|
|
|
## 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.0003 |
|
- train_batch_size: 8 |
|
- eval_batch_size: 8 |
|
- seed: 1399 |
|
- gradient_accumulation_steps: 4 |
|
- total_train_batch_size: 32 |
|
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
|
- lr_scheduler_type: cosine |
|
- lr_scheduler_warmup_steps: 100 |
|
- training_steps: 500 |
|
|
|
### Training results |
|
|
|
| Training Loss | Epoch | Step | Validation Loss | |
|
|:-------------:|:-----:|:----:|:---------------:| |
|
| 1.2068 | 0.06 | 20 | 0.8181 | |
|
| 0.6757 | 0.12 | 40 | 0.5148 | |
|
| 0.5104 | 0.17 | 60 | 0.4552 | |
|
| 0.4633 | 0.23 | 80 | 0.4269 | |
|
| 0.442 | 0.29 | 100 | 0.4110 | |
|
| 0.428 | 0.35 | 120 | 0.3993 | |
|
| 0.4209 | 0.41 | 140 | 0.3983 | |
|
| 0.4142 | 0.47 | 160 | 0.3932 | |
|
| 0.4032 | 0.52 | 180 | 0.3888 | |
|
| 0.3999 | 0.58 | 200 | 0.3841 | |
|
| 0.3977 | 0.64 | 220 | 0.3827 | |
|
| 0.397 | 0.7 | 240 | 0.3811 | |
|
| 0.3927 | 0.76 | 260 | 0.3781 | |
|
| 0.3873 | 0.82 | 280 | 0.3762 | |
|
| 0.3871 | 0.87 | 300 | 0.3728 | |
|
| 0.3861 | 0.93 | 320 | 0.3715 | |
|
| 0.3809 | 0.99 | 340 | 0.3695 | |
|
| 0.3664 | 1.05 | 360 | 0.3700 | |
|
|
|
|
|
### Framework versions |
|
|
|
- PEFT 0.9.0 |
|
- Transformers 4.38.2 |
|
- Pytorch 2.1.0+cu118 |
|
- Datasets 2.18.0 |
|
- Tokenizers 0.15.2 |