|
|
--- |
|
|
license: llama2 |
|
|
library_name: peft |
|
|
tags: |
|
|
- generated_from_trainer |
|
|
base_model: codellama/CodeLlama-7b-hf |
|
|
model-index: |
|
|
- name: sql-code-llama |
|
|
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. --> |
|
|
|
|
|
# sql-code-llama |
|
|
|
|
|
This model is a fine-tuned version of [codellama/CodeLlama-7b-hf](https://huggingface.co/codellama/CodeLlama-7b-hf) on an unknown dataset. |
|
|
It achieves the following results on the evaluation set: |
|
|
- Loss: 0.4620 |
|
|
|
|
|
## 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: 32 |
|
|
- eval_batch_size: 8 |
|
|
- seed: 42 |
|
|
- gradient_accumulation_steps: 4 |
|
|
- total_train_batch_size: 128 |
|
|
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
|
|
- lr_scheduler_type: linear |
|
|
- lr_scheduler_warmup_steps: 100 |
|
|
- training_steps: 400 |
|
|
|
|
|
### Training results |
|
|
|
|
|
| Training Loss | Epoch | Step | Validation Loss | |
|
|
|:-------------:|:-----:|:----:|:---------------:| |
|
|
| 2.1604 | 0.04 | 20 | 1.9793 | |
|
|
| 1.1151 | 0.07 | 40 | 0.8205 | |
|
|
| 0.8219 | 0.11 | 60 | 0.6630 | |
|
|
| 0.5871 | 0.14 | 80 | 0.5909 | |
|
|
| 0.4129 | 0.18 | 100 | 0.5730 | |
|
|
| 0.5695 | 0.22 | 120 | 0.5218 | |
|
|
| 0.4224 | 0.25 | 140 | 0.5122 | |
|
|
| 0.6429 | 0.29 | 160 | 0.5232 | |
|
|
| 0.4826 | 0.33 | 180 | 0.4914 | |
|
|
| 0.3566 | 0.36 | 200 | 0.5035 | |
|
|
| 0.5297 | 0.4 | 220 | 0.4846 | |
|
|
| 0.4034 | 0.43 | 240 | 0.4812 | |
|
|
| 0.6001 | 0.47 | 260 | 0.4841 | |
|
|
| 0.4673 | 0.51 | 280 | 0.4717 | |
|
|
| 0.3482 | 0.54 | 300 | 0.4801 | |
|
|
| 0.5158 | 0.58 | 320 | 0.4717 | |
|
|
| 0.3967 | 0.62 | 340 | 0.4658 | |
|
|
| 0.5728 | 0.65 | 360 | 0.4661 | |
|
|
| 0.4584 | 0.69 | 380 | 0.4630 | |
|
|
| 0.3529 | 0.72 | 400 | 0.4620 | |
|
|
|
|
|
|
|
|
### Framework versions |
|
|
|
|
|
- PEFT 0.10.1.dev0 |
|
|
- Transformers 4.36.0 |
|
|
- Pytorch 2.0.1+cu118 |
|
|
- Datasets 2.18.0 |
|
|
- Tokenizers 0.15.2 |