peterbeamish
commited on
Commit
•
5a6a540
1
Parent(s):
6aae4b9
End of training
Browse files- README.md +79 -0
- adapter_config.json +23 -0
- adapter_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
base_model: codellama/CodeLlama-7b-hf
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: yaml-generator-code-llama
|
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 |
+
# yaml-generator-code-llama
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [codellama/CodeLlama-7b-hf](https://huggingface.co/codellama/CodeLlama-7b-hf) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 2.2591
|
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: 32
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 4
|
42 |
+
- total_train_batch_size: 128
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- lr_scheduler_warmup_steps: 100
|
46 |
+
- training_steps: 400
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
52 |
+
| 0.2925 | 20.0 | 20 | 1.2292 |
|
53 |
+
| 0.2156 | 40.0 | 40 | 0.9743 |
|
54 |
+
| 0.07 | 60.0 | 60 | 1.4266 |
|
55 |
+
| 0.007 | 80.0 | 80 | 2.0256 |
|
56 |
+
| 0.0041 | 100.0 | 100 | 1.9838 |
|
57 |
+
| 0.0015 | 120.0 | 120 | 2.0320 |
|
58 |
+
| 0.0012 | 140.0 | 140 | 2.0818 |
|
59 |
+
| 0.0012 | 160.0 | 160 | 2.1403 |
|
60 |
+
| 0.0012 | 180.0 | 180 | 2.1771 |
|
61 |
+
| 0.0012 | 200.0 | 200 | 2.1751 |
|
62 |
+
| 0.0012 | 220.0 | 220 | 2.1825 |
|
63 |
+
| 0.0012 | 240.0 | 240 | 2.2240 |
|
64 |
+
| 0.0012 | 260.0 | 260 | 2.2226 |
|
65 |
+
| 0.0012 | 280.0 | 280 | 2.2172 |
|
66 |
+
| 0.0012 | 300.0 | 300 | 2.2235 |
|
67 |
+
| 0.0012 | 320.0 | 320 | 2.2202 |
|
68 |
+
| 0.0012 | 340.0 | 340 | 2.2471 |
|
69 |
+
| 0.0012 | 360.0 | 360 | 2.2475 |
|
70 |
+
| 0.0012 | 380.0 | 380 | 2.2709 |
|
71 |
+
| 0.0012 | 400.0 | 400 | 2.2591 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.34.0
|
77 |
+
- Pytorch 2.0.1+cu118
|
78 |
+
- Datasets 2.14.5
|
79 |
+
- Tokenizers 0.14.1
|
adapter_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "codellama/CodeLlama-7b-hf",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 16,
|
11 |
+
"lora_dropout": 0.05,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 16,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"q_proj",
|
18 |
+
"k_proj",
|
19 |
+
"v_proj",
|
20 |
+
"o_proj"
|
21 |
+
],
|
22 |
+
"task_type": "CAUSAL_LM"
|
23 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5e1621f48d9ad8feb1d6d31050275f0aafd080c5c07153301fe2f48411f4406
|
3 |
+
size 443
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9a72ebbae36b7e363002209744be1c4d9936705e16fb8768750d7a7d7c4807a
|
3 |
+
size 4091
|