TheBloke/CodeLlama-7B-Instruct-AWQ-FaVe-rank8-10epochs
Browse files- README.md +100 -0
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +83 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: TheBloke/CodeLlama-7B-Instruct-AWQ
|
9 |
+
model-index:
|
10 |
+
- name: CodeLlama-7B-Instruct-AWQ-FaVe-rank8-10epochs
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# CodeLlama-7B-Instruct-AWQ-FaVe-rank8-10epochs
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [TheBloke/CodeLlama-7B-Instruct-AWQ](https://huggingface.co/TheBloke/CodeLlama-7B-Instruct-AWQ) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.4895
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0001
|
41 |
+
- train_batch_size: 1
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 4
|
45 |
+
- total_train_batch_size: 4
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- lr_scheduler_warmup_steps: 10
|
49 |
+
- num_epochs: 10
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
54 |
+
|:-------------:|:------:|:----:|:---------------:|
|
55 |
+
| No log | 0.2685 | 10 | 2.3646 |
|
56 |
+
| 2.4179 | 0.5369 | 20 | 2.1518 |
|
57 |
+
| 2.4179 | 0.8054 | 30 | 1.7627 |
|
58 |
+
| 1.8436 | 1.0738 | 40 | 1.4048 |
|
59 |
+
| 1.8436 | 1.3423 | 50 | 1.0944 |
|
60 |
+
| 1.1066 | 1.6107 | 60 | 0.9634 |
|
61 |
+
| 1.1066 | 1.8792 | 70 | 0.8695 |
|
62 |
+
| 0.7716 | 2.1477 | 80 | 0.7980 |
|
63 |
+
| 0.7716 | 2.4161 | 90 | 0.7575 |
|
64 |
+
| 0.6585 | 2.6846 | 100 | 0.7293 |
|
65 |
+
| 0.6585 | 2.9530 | 110 | 0.6901 |
|
66 |
+
| 0.6067 | 3.2215 | 120 | 0.6729 |
|
67 |
+
| 0.6067 | 3.4899 | 130 | 0.6452 |
|
68 |
+
| 0.5672 | 3.7584 | 140 | 0.6255 |
|
69 |
+
| 0.5672 | 4.0268 | 150 | 0.6129 |
|
70 |
+
| 0.5196 | 4.2953 | 160 | 0.5954 |
|
71 |
+
| 0.5196 | 4.5638 | 170 | 0.5747 |
|
72 |
+
| 0.4492 | 4.8322 | 180 | 0.5668 |
|
73 |
+
| 0.4492 | 5.1007 | 190 | 0.5590 |
|
74 |
+
| 0.4539 | 5.3691 | 200 | 0.5435 |
|
75 |
+
| 0.4539 | 5.6376 | 210 | 0.5397 |
|
76 |
+
| 0.3938 | 5.9060 | 220 | 0.5359 |
|
77 |
+
| 0.3938 | 6.1745 | 230 | 0.5188 |
|
78 |
+
| 0.3748 | 6.4430 | 240 | 0.5247 |
|
79 |
+
| 0.3748 | 6.7114 | 250 | 0.5190 |
|
80 |
+
| 0.3759 | 6.9799 | 260 | 0.5069 |
|
81 |
+
| 0.3759 | 7.2483 | 270 | 0.4995 |
|
82 |
+
| 0.3308 | 7.5168 | 280 | 0.5114 |
|
83 |
+
| 0.3308 | 7.7852 | 290 | 0.5004 |
|
84 |
+
| 0.3259 | 8.0537 | 300 | 0.4937 |
|
85 |
+
| 0.3259 | 8.3221 | 310 | 0.4990 |
|
86 |
+
| 0.3023 | 8.5906 | 320 | 0.4964 |
|
87 |
+
| 0.3023 | 8.8591 | 330 | 0.4904 |
|
88 |
+
| 0.3036 | 9.1275 | 340 | 0.4898 |
|
89 |
+
| 0.3036 | 9.3960 | 350 | 0.4914 |
|
90 |
+
| 0.3118 | 9.6644 | 360 | 0.4897 |
|
91 |
+
| 0.3118 | 9.9329 | 370 | 0.4895 |
|
92 |
+
|
93 |
+
|
94 |
+
### Framework versions
|
95 |
+
|
96 |
+
- PEFT 0.10.0
|
97 |
+
- Transformers 4.40.2
|
98 |
+
- Pytorch 2.2.1+cu121
|
99 |
+
- Datasets 2.19.1
|
100 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "TheBloke/CodeLlama-7B-Instruct-AWQ",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 8,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 8,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"q_proj",
|
24 |
+
"v_proj"
|
25 |
+
],
|
26 |
+
"task_type": "CAUSAL_LM",
|
27 |
+
"use_dora": false,
|
28 |
+
"use_rslora": false
|
29 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b749afdc37208ffce089d20514e270b2c0d025f662c27a7141da4d22cf7e92ad
|
3 |
+
size 16794200
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"β<PRE>",
|
4 |
+
"β<MID>",
|
5 |
+
"β<SUF>",
|
6 |
+
"β<EOT>"
|
7 |
+
],
|
8 |
+
"bos_token": {
|
9 |
+
"content": "<s>",
|
10 |
+
"lstrip": false,
|
11 |
+
"normalized": false,
|
12 |
+
"rstrip": false,
|
13 |
+
"single_word": false
|
14 |
+
},
|
15 |
+
"eos_token": {
|
16 |
+
"content": "</s>",
|
17 |
+
"lstrip": false,
|
18 |
+
"normalized": false,
|
19 |
+
"rstrip": false,
|
20 |
+
"single_word": false
|
21 |
+
},
|
22 |
+
"pad_token": "</s>",
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"32007": {
|
30 |
+
"content": "β<PRE>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32008": {
|
38 |
+
"content": "β<SUF>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32009": {
|
46 |
+
"content": "β<MID>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"32010": {
|
54 |
+
"content": "β<EOT>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
}
|
61 |
+
},
|
62 |
+
"additional_special_tokens": [
|
63 |
+
"β<PRE>",
|
64 |
+
"β<MID>",
|
65 |
+
"β<SUF>",
|
66 |
+
"β<EOT>"
|
67 |
+
],
|
68 |
+
"bos_token": "<s>",
|
69 |
+
"clean_up_tokenization_spaces": false,
|
70 |
+
"eos_token": "</s>",
|
71 |
+
"eot_token": "β<EOT>",
|
72 |
+
"fill_token": "<FILL_ME>",
|
73 |
+
"legacy": null,
|
74 |
+
"middle_token": "β<MID>",
|
75 |
+
"model_max_length": 1000000000000000019884624838656,
|
76 |
+
"pad_token": "</s>",
|
77 |
+
"prefix_token": "β<PRE>",
|
78 |
+
"sp_model_kwargs": {},
|
79 |
+
"suffix_token": "β<SUF>",
|
80 |
+
"tokenizer_class": "CodeLlamaTokenizer",
|
81 |
+
"unk_token": "<unk>",
|
82 |
+
"use_default_system_prompt": false
|
83 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d7a193f13c6ed675bfe1f91969725422f4f67b798cd8de0a7d868dfcaa9caf9
|
3 |
+
size 5112
|