Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: llama2
|
| 3 |
+
base_model: codellama/CodeLlama-7b-Instruct-hf
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
model-index:
|
| 7 |
+
- name: codellama_instruct_pt_text2sql
|
| 8 |
+
results: []
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
+
|
| 14 |
+
# codellama_instruct_pt_text2sql
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [codellama/CodeLlama-7b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-7b-Instruct-hf) on the None dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 0.0150
|
| 19 |
+
|
| 20 |
+
## Model description
|
| 21 |
+
|
| 22 |
+
More information needed
|
| 23 |
+
|
| 24 |
+
## Intended uses & limitations
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Training and evaluation data
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training procedure
|
| 33 |
+
|
| 34 |
+
### Training hyperparameters
|
| 35 |
+
|
| 36 |
+
The following hyperparameters were used during training:
|
| 37 |
+
- learning_rate: 0.0003
|
| 38 |
+
- train_batch_size: 4
|
| 39 |
+
- eval_batch_size: 8
|
| 40 |
+
- seed: 42
|
| 41 |
+
- gradient_accumulation_steps: 8
|
| 42 |
+
- total_train_batch_size: 32
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- lr_scheduler_warmup_ratio: 0.06
|
| 46 |
+
- num_epochs: 5.0
|
| 47 |
+
|
| 48 |
+
### Training results
|
| 49 |
+
|
| 50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 51 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
| 52 |
+
| 0.0693 | 0.22 | 2000 | 0.0589 |
|
| 53 |
+
| 0.047 | 0.45 | 4000 | 0.0396 |
|
| 54 |
+
| 0.0364 | 0.67 | 6000 | 0.0307 |
|
| 55 |
+
| 0.0311 | 0.89 | 8000 | 0.0278 |
|
| 56 |
+
| 0.0251 | 1.11 | 10000 | 0.0241 |
|
| 57 |
+
| 0.0243 | 1.34 | 12000 | 0.0228 |
|
| 58 |
+
| 0.0227 | 1.56 | 14000 | 0.0223 |
|
| 59 |
+
| 0.0212 | 1.78 | 16000 | 0.0201 |
|
| 60 |
+
| 0.0202 | 2.01 | 18000 | 0.0182 |
|
| 61 |
+
| 0.016 | 2.23 | 20000 | 0.0184 |
|
| 62 |
+
| 0.0156 | 2.45 | 22000 | 0.0179 |
|
| 63 |
+
| 0.015 | 2.67 | 24000 | 0.0173 |
|
| 64 |
+
| 0.0147 | 2.9 | 26000 | 0.0165 |
|
| 65 |
+
| 0.0112 | 3.12 | 28000 | 0.0165 |
|
| 66 |
+
| 0.0109 | 3.34 | 30000 | 0.0161 |
|
| 67 |
+
| 0.0109 | 3.56 | 32000 | 0.0155 |
|
| 68 |
+
| 0.0105 | 3.79 | 34000 | 0.0152 |
|
| 69 |
+
| 0.0104 | 4.01 | 36000 | 0.0150 |
|
| 70 |
+
| 0.0077 | 4.23 | 38000 | 0.0158 |
|
| 71 |
+
| 0.0078 | 4.46 | 40000 | 0.0151 |
|
| 72 |
+
| 0.0076 | 4.68 | 42000 | 0.0150 |
|
| 73 |
+
| 0.0077 | 4.9 | 44000 | 0.0150 |
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
### Framework versions
|
| 77 |
+
|
| 78 |
+
- Transformers 4.34.0.dev0
|
| 79 |
+
- Pytorch 2.0.1+cu118
|
| 80 |
+
- Datasets 2.14.4
|
| 81 |
+
- Tokenizers 0.13.3
|