darwinkernelpanic commited on
Commit
fdaaa60
Β·
verified Β·
1 Parent(s): c3d8262

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. .DS_Store +0 -0
  2. README.md +207 -0
  3. adapter_config.json +46 -0
  4. chat_template.jinja +1 -0
  5. checkpoint-100/README.md +207 -0
  6. checkpoint-100/adapter_config.json +46 -0
  7. checkpoint-100/chat_template.jinja +1 -0
  8. checkpoint-100/special_tokens_map.json +30 -0
  9. checkpoint-100/tokenizer.json +0 -0
  10. checkpoint-100/tokenizer_config.json +84 -0
  11. checkpoint-100/trainer_state.json +182 -0
  12. checkpoint-117/README.md +207 -0
  13. checkpoint-117/adapter_config.json +46 -0
  14. checkpoint-117/chat_template.jinja +1 -0
  15. checkpoint-117/special_tokens_map.json +30 -0
  16. checkpoint-117/tokenizer.json +0 -0
  17. checkpoint-117/tokenizer_config.json +84 -0
  18. checkpoint-117/trainer_state.json +203 -0
  19. checkpoint-200/README.md +207 -0
  20. checkpoint-200/adapter_config.json +46 -0
  21. checkpoint-200/chat_template.jinja +1 -0
  22. checkpoint-200/special_tokens_map.json +30 -0
  23. checkpoint-200/tokenizer.json +0 -0
  24. checkpoint-200/tokenizer_config.json +84 -0
  25. checkpoint-200/trainer_state.json +330 -0
  26. checkpoint-30/README.md +207 -0
  27. checkpoint-30/adapter_config.json +46 -0
  28. checkpoint-30/chat_template.jinja +1 -0
  29. checkpoint-30/special_tokens_map.json +30 -0
  30. checkpoint-30/tokenizer.json +0 -0
  31. checkpoint-30/tokenizer_config.json +84 -0
  32. checkpoint-30/trainer_state.json +76 -0
  33. checkpoint-300/README.md +207 -0
  34. checkpoint-300/adapter_config.json +46 -0
  35. checkpoint-300/chat_template.jinja +1 -0
  36. checkpoint-300/special_tokens_map.json +30 -0
  37. checkpoint-300/tokenizer.json +0 -0
  38. checkpoint-300/tokenizer_config.json +84 -0
  39. checkpoint-300/trainer_state.json +478 -0
  40. checkpoint-400/tokenizer_config.json +84 -0
  41. checkpoint-432/README.md +207 -0
  42. checkpoint-432/adapter_config.json +46 -0
  43. checkpoint-432/chat_template.jinja +1 -0
  44. checkpoint-432/special_tokens_map.json +30 -0
  45. checkpoint-432/tokenizer.json +0 -0
  46. checkpoint-432/tokenizer_config.json +84 -0
  47. checkpoint-432/trainer_state.json +668 -0
  48. special_tokens_map.json +30 -0
  49. tokenizer.json +0 -0
  50. tokenizer_config.json +84 -0
.DS_Store ADDED
Binary file (8.2 kB). View file
 
README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: codellama/CodeLlama-7b-Instruct-hf
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:codellama/CodeLlama-7b-Instruct-hf
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.18.0
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "codellama/CodeLlama-7b-Instruct-hf",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.0",
27
+ "qalora_group_size": 16,
28
+ "r": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "k_proj",
34
+ "down_proj",
35
+ "q_proj",
36
+ "gate_proj",
37
+ "up_proj",
38
+ "v_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\n' + system_message + '\n<</SYS>>\n\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content | trim + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content | trim + ' ' + eos_token }}{% endif %}{% endfor %}
checkpoint-100/README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: codellama/CodeLlama-7b-Instruct-hf
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:codellama/CodeLlama-7b-Instruct-hf
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.18.0
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "codellama/CodeLlama-7b-Instruct-hf",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.0",
27
+ "qalora_group_size": 16,
28
+ "r": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "k_proj",
34
+ "down_proj",
35
+ "q_proj",
36
+ "gate_proj",
37
+ "up_proj",
38
+ "v_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-100/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\n' + system_message + '\n<</SYS>>\n\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content | trim + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content | trim + ' ' + eos_token }}{% endif %}{% endfor %}
checkpoint-100/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
+ }
checkpoint-100/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
73
+ "fill_token": "<FILL_ME>",
74
+ "legacy": null,
75
+ "middle_token": "▁<MID>",
76
+ "model_max_length": 1000000000000000019884624838656,
77
+ "pad_token": "</s>",
78
+ "prefix_token": "▁<PRE>",
79
+ "sp_model_kwargs": {},
80
+ "suffix_token": "▁<SUF>",
81
+ "tokenizer_class": "CodeLlamaTokenizer",
82
+ "unk_token": "<unk>",
83
+ "use_default_system_prompt": false
84
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 100,
3
+ "best_metric": 1.053038239479065,
4
+ "best_model_checkpoint": "./luau-model/checkpoint-100",
5
+ "epoch": 0.6944444444444444,
6
+ "eval_steps": 100,
7
+ "global_step": 100,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.034722222222222224,
14
+ "grad_norm": 0.19553522765636444,
15
+ "learning_rate": 1.6000000000000003e-05,
16
+ "loss": 1.5215,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.06944444444444445,
21
+ "grad_norm": 0.18851090967655182,
22
+ "learning_rate": 3.6e-05,
23
+ "loss": 1.4318,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.10416666666666667,
28
+ "grad_norm": 0.2147289365530014,
29
+ "learning_rate": 5.6000000000000006e-05,
30
+ "loss": 1.4315,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 0.1388888888888889,
35
+ "grad_norm": 0.22880084812641144,
36
+ "learning_rate": 7.6e-05,
37
+ "loss": 1.3475,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 0.1736111111111111,
42
+ "grad_norm": 0.27205583453178406,
43
+ "learning_rate": 9.6e-05,
44
+ "loss": 1.3244,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.20833333333333334,
49
+ "grad_norm": 0.2366049736738205,
50
+ "learning_rate": 0.000116,
51
+ "loss": 1.3784,
52
+ "step": 30
53
+ },
54
+ {
55
+ "epoch": 0.24305555555555555,
56
+ "grad_norm": 0.2528875768184662,
57
+ "learning_rate": 0.00013600000000000003,
58
+ "loss": 1.3578,
59
+ "step": 35
60
+ },
61
+ {
62
+ "epoch": 0.2777777777777778,
63
+ "grad_norm": 0.2789267897605896,
64
+ "learning_rate": 0.00015600000000000002,
65
+ "loss": 1.2761,
66
+ "step": 40
67
+ },
68
+ {
69
+ "epoch": 0.3125,
70
+ "grad_norm": 0.36334967613220215,
71
+ "learning_rate": 0.00017600000000000002,
72
+ "loss": 1.3073,
73
+ "step": 45
74
+ },
75
+ {
76
+ "epoch": 0.3472222222222222,
77
+ "grad_norm": 0.3194734454154968,
78
+ "learning_rate": 0.000196,
79
+ "loss": 1.2374,
80
+ "step": 50
81
+ },
82
+ {
83
+ "epoch": 0.3819444444444444,
84
+ "grad_norm": 0.4422107934951782,
85
+ "learning_rate": 0.00019790575916230367,
86
+ "loss": 1.2243,
87
+ "step": 55
88
+ },
89
+ {
90
+ "epoch": 0.4166666666666667,
91
+ "grad_norm": 0.36031872034072876,
92
+ "learning_rate": 0.00019528795811518326,
93
+ "loss": 1.236,
94
+ "step": 60
95
+ },
96
+ {
97
+ "epoch": 0.4513888888888889,
98
+ "grad_norm": 0.40430501103401184,
99
+ "learning_rate": 0.00019267015706806283,
100
+ "loss": 1.1484,
101
+ "step": 65
102
+ },
103
+ {
104
+ "epoch": 0.4861111111111111,
105
+ "grad_norm": 0.39032667875289917,
106
+ "learning_rate": 0.00019005235602094243,
107
+ "loss": 1.1352,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 0.5208333333333334,
112
+ "grad_norm": 0.3691488206386566,
113
+ "learning_rate": 0.00018743455497382202,
114
+ "loss": 1.0341,
115
+ "step": 75
116
+ },
117
+ {
118
+ "epoch": 0.5555555555555556,
119
+ "grad_norm": 0.3820245563983917,
120
+ "learning_rate": 0.00018481675392670156,
121
+ "loss": 0.9911,
122
+ "step": 80
123
+ },
124
+ {
125
+ "epoch": 0.5902777777777778,
126
+ "grad_norm": 0.40899762511253357,
127
+ "learning_rate": 0.00018219895287958115,
128
+ "loss": 1.077,
129
+ "step": 85
130
+ },
131
+ {
132
+ "epoch": 0.625,
133
+ "grad_norm": 0.3846423029899597,
134
+ "learning_rate": 0.00017958115183246075,
135
+ "loss": 1.1241,
136
+ "step": 90
137
+ },
138
+ {
139
+ "epoch": 0.6597222222222222,
140
+ "grad_norm": 0.43537914752960205,
141
+ "learning_rate": 0.00017696335078534032,
142
+ "loss": 1.0522,
143
+ "step": 95
144
+ },
145
+ {
146
+ "epoch": 0.6944444444444444,
147
+ "grad_norm": 0.40991654992103577,
148
+ "learning_rate": 0.0001743455497382199,
149
+ "loss": 1.0116,
150
+ "step": 100
151
+ },
152
+ {
153
+ "epoch": 0.6944444444444444,
154
+ "eval_loss": 1.053038239479065,
155
+ "eval_runtime": 19.8507,
156
+ "eval_samples_per_second": 9.622,
157
+ "eval_steps_per_second": 1.612,
158
+ "step": 100
159
+ }
160
+ ],
161
+ "logging_steps": 5,
162
+ "max_steps": 432,
163
+ "num_input_tokens_seen": 0,
164
+ "num_train_epochs": 3,
165
+ "save_steps": 100,
166
+ "stateful_callbacks": {
167
+ "TrainerControl": {
168
+ "args": {
169
+ "should_epoch_stop": false,
170
+ "should_evaluate": false,
171
+ "should_log": false,
172
+ "should_save": true,
173
+ "should_training_stop": false
174
+ },
175
+ "attributes": {}
176
+ }
177
+ },
178
+ "total_flos": 2.46522952286208e+16,
179
+ "train_batch_size": 6,
180
+ "trial_name": null,
181
+ "trial_params": null
182
+ }
checkpoint-117/README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: codellama/CodeLlama-7b-Instruct-hf
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:codellama/CodeLlama-7b-Instruct-hf
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.18.0
checkpoint-117/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "codellama/CodeLlama-7b-Instruct-hf",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.0",
27
+ "qalora_group_size": 16,
28
+ "r": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "v_proj",
33
+ "up_proj",
34
+ "down_proj",
35
+ "o_proj",
36
+ "q_proj",
37
+ "k_proj",
38
+ "gate_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-117/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\n' + system_message + '\n<</SYS>>\n\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content | trim + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content | trim + ' ' + eos_token }}{% endif %}{% endfor %}
checkpoint-117/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
+ }
checkpoint-117/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-117/tokenizer_config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
73
+ "fill_token": "<FILL_ME>",
74
+ "legacy": null,
75
+ "middle_token": "▁<MID>",
76
+ "model_max_length": 1000000000000000019884624838656,
77
+ "pad_token": "</s>",
78
+ "prefix_token": "▁<PRE>",
79
+ "sp_model_kwargs": {},
80
+ "suffix_token": "▁<SUF>",
81
+ "tokenizer_class": "CodeLlamaTokenizer",
82
+ "unk_token": "<unk>",
83
+ "use_default_system_prompt": false
84
+ }
checkpoint-117/trainer_state.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 100,
3
+ "best_metric": 0.6652931571006775,
4
+ "best_model_checkpoint": "./luau-model/checkpoint-100",
5
+ "epoch": 3.0,
6
+ "eval_steps": 100,
7
+ "global_step": 117,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.1282051282051282,
14
+ "grad_norm": 0.3991023898124695,
15
+ "learning_rate": 1.6000000000000003e-05,
16
+ "loss": 1.1619,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.2564102564102564,
21
+ "grad_norm": 0.5307971239089966,
22
+ "learning_rate": 3.6e-05,
23
+ "loss": 1.1662,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.38461538461538464,
28
+ "grad_norm": 0.6414325833320618,
29
+ "learning_rate": 5.6000000000000006e-05,
30
+ "loss": 1.1415,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 0.5128205128205128,
35
+ "grad_norm": 4.2611846923828125,
36
+ "learning_rate": 7.6e-05,
37
+ "loss": 0.9051,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 0.6410256410256411,
42
+ "grad_norm": 0.38137564063072205,
43
+ "learning_rate": 9.6e-05,
44
+ "loss": 0.8326,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.7692307692307693,
49
+ "grad_norm": 0.32487988471984863,
50
+ "learning_rate": 0.000116,
51
+ "loss": 0.7638,
52
+ "step": 30
53
+ },
54
+ {
55
+ "epoch": 0.8974358974358975,
56
+ "grad_norm": 0.39361336827278137,
57
+ "learning_rate": 0.00013600000000000003,
58
+ "loss": 0.7069,
59
+ "step": 35
60
+ },
61
+ {
62
+ "epoch": 1.0256410256410255,
63
+ "grad_norm": 0.3810354471206665,
64
+ "learning_rate": 0.00015600000000000002,
65
+ "loss": 0.652,
66
+ "step": 40
67
+ },
68
+ {
69
+ "epoch": 1.1538461538461537,
70
+ "grad_norm": 0.33373090624809265,
71
+ "learning_rate": 0.00017600000000000002,
72
+ "loss": 0.651,
73
+ "step": 45
74
+ },
75
+ {
76
+ "epoch": 1.282051282051282,
77
+ "grad_norm": 0.46736040711402893,
78
+ "learning_rate": 0.000196,
79
+ "loss": 0.6554,
80
+ "step": 50
81
+ },
82
+ {
83
+ "epoch": 1.4102564102564101,
84
+ "grad_norm": 0.34294310212135315,
85
+ "learning_rate": 0.00018805970149253734,
86
+ "loss": 0.557,
87
+ "step": 55
88
+ },
89
+ {
90
+ "epoch": 1.5384615384615383,
91
+ "grad_norm": 0.36410510540008545,
92
+ "learning_rate": 0.00017313432835820895,
93
+ "loss": 0.5899,
94
+ "step": 60
95
+ },
96
+ {
97
+ "epoch": 1.6666666666666665,
98
+ "grad_norm": 0.8159669041633606,
99
+ "learning_rate": 0.00015820895522388059,
100
+ "loss": 0.5576,
101
+ "step": 65
102
+ },
103
+ {
104
+ "epoch": 1.7948717948717947,
105
+ "grad_norm": 0.41050034761428833,
106
+ "learning_rate": 0.00014328358208955225,
107
+ "loss": 0.5889,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 1.9230769230769231,
112
+ "grad_norm": 0.3205547034740448,
113
+ "learning_rate": 0.00012835820895522389,
114
+ "loss": 0.5561,
115
+ "step": 75
116
+ },
117
+ {
118
+ "epoch": 2.051282051282051,
119
+ "grad_norm": 0.29004010558128357,
120
+ "learning_rate": 0.00011343283582089552,
121
+ "loss": 0.5052,
122
+ "step": 80
123
+ },
124
+ {
125
+ "epoch": 2.1794871794871793,
126
+ "grad_norm": 0.40997835993766785,
127
+ "learning_rate": 9.850746268656717e-05,
128
+ "loss": 0.4612,
129
+ "step": 85
130
+ },
131
+ {
132
+ "epoch": 2.3076923076923075,
133
+ "grad_norm": 0.3654220700263977,
134
+ "learning_rate": 8.358208955223881e-05,
135
+ "loss": 0.4086,
136
+ "step": 90
137
+ },
138
+ {
139
+ "epoch": 2.435897435897436,
140
+ "grad_norm": 0.34712859988212585,
141
+ "learning_rate": 6.865671641791044e-05,
142
+ "loss": 0.4658,
143
+ "step": 95
144
+ },
145
+ {
146
+ "epoch": 2.564102564102564,
147
+ "grad_norm": 0.4480563700199127,
148
+ "learning_rate": 5.373134328358209e-05,
149
+ "loss": 0.4577,
150
+ "step": 100
151
+ },
152
+ {
153
+ "epoch": 2.564102564102564,
154
+ "eval_loss": 0.6652931571006775,
155
+ "eval_runtime": 5.1656,
156
+ "eval_samples_per_second": 10.067,
157
+ "eval_steps_per_second": 1.742,
158
+ "step": 100
159
+ },
160
+ {
161
+ "epoch": 2.6923076923076925,
162
+ "grad_norm": 0.47177863121032715,
163
+ "learning_rate": 3.8805970149253736e-05,
164
+ "loss": 0.4419,
165
+ "step": 105
166
+ },
167
+ {
168
+ "epoch": 2.8205128205128203,
169
+ "grad_norm": 0.4423898160457611,
170
+ "learning_rate": 2.3880597014925373e-05,
171
+ "loss": 0.3984,
172
+ "step": 110
173
+ },
174
+ {
175
+ "epoch": 2.948717948717949,
176
+ "grad_norm": 0.4147056043148041,
177
+ "learning_rate": 8.955223880597016e-06,
178
+ "loss": 0.3729,
179
+ "step": 115
180
+ }
181
+ ],
182
+ "logging_steps": 5,
183
+ "max_steps": 117,
184
+ "num_input_tokens_seen": 0,
185
+ "num_train_epochs": 3,
186
+ "save_steps": 100,
187
+ "stateful_callbacks": {
188
+ "TrainerControl": {
189
+ "args": {
190
+ "should_epoch_stop": false,
191
+ "should_evaluate": false,
192
+ "should_log": false,
193
+ "should_save": true,
194
+ "should_training_stop": true
195
+ },
196
+ "attributes": {}
197
+ }
198
+ },
199
+ "total_flos": 2.859666246520013e+16,
200
+ "train_batch_size": 6,
201
+ "trial_name": null,
202
+ "trial_params": null
203
+ }
checkpoint-200/README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: codellama/CodeLlama-7b-Instruct-hf
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:codellama/CodeLlama-7b-Instruct-hf
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.18.0
checkpoint-200/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "codellama/CodeLlama-7b-Instruct-hf",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.0",
27
+ "qalora_group_size": 16,
28
+ "r": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "k_proj",
34
+ "down_proj",
35
+ "q_proj",
36
+ "gate_proj",
37
+ "up_proj",
38
+ "v_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-200/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\n' + system_message + '\n<</SYS>>\n\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content | trim + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content | trim + ' ' + eos_token }}{% endif %}{% endfor %}
checkpoint-200/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
+ }
checkpoint-200/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-200/tokenizer_config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
73
+ "fill_token": "<FILL_ME>",
74
+ "legacy": null,
75
+ "middle_token": "▁<MID>",
76
+ "model_max_length": 1000000000000000019884624838656,
77
+ "pad_token": "</s>",
78
+ "prefix_token": "▁<PRE>",
79
+ "sp_model_kwargs": {},
80
+ "suffix_token": "▁<SUF>",
81
+ "tokenizer_class": "CodeLlamaTokenizer",
82
+ "unk_token": "<unk>",
83
+ "use_default_system_prompt": false
84
+ }
checkpoint-200/trainer_state.json ADDED
@@ -0,0 +1,330 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 200,
3
+ "best_metric": 0.7630631327629089,
4
+ "best_model_checkpoint": "./luau-model/checkpoint-200",
5
+ "epoch": 1.3888888888888888,
6
+ "eval_steps": 100,
7
+ "global_step": 200,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.034722222222222224,
14
+ "grad_norm": 0.19553522765636444,
15
+ "learning_rate": 1.6000000000000003e-05,
16
+ "loss": 1.5215,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.06944444444444445,
21
+ "grad_norm": 0.18851090967655182,
22
+ "learning_rate": 3.6e-05,
23
+ "loss": 1.4318,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.10416666666666667,
28
+ "grad_norm": 0.2147289365530014,
29
+ "learning_rate": 5.6000000000000006e-05,
30
+ "loss": 1.4315,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 0.1388888888888889,
35
+ "grad_norm": 0.22880084812641144,
36
+ "learning_rate": 7.6e-05,
37
+ "loss": 1.3475,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 0.1736111111111111,
42
+ "grad_norm": 0.27205583453178406,
43
+ "learning_rate": 9.6e-05,
44
+ "loss": 1.3244,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.20833333333333334,
49
+ "grad_norm": 0.2366049736738205,
50
+ "learning_rate": 0.000116,
51
+ "loss": 1.3784,
52
+ "step": 30
53
+ },
54
+ {
55
+ "epoch": 0.24305555555555555,
56
+ "grad_norm": 0.2528875768184662,
57
+ "learning_rate": 0.00013600000000000003,
58
+ "loss": 1.3578,
59
+ "step": 35
60
+ },
61
+ {
62
+ "epoch": 0.2777777777777778,
63
+ "grad_norm": 0.2789267897605896,
64
+ "learning_rate": 0.00015600000000000002,
65
+ "loss": 1.2761,
66
+ "step": 40
67
+ },
68
+ {
69
+ "epoch": 0.3125,
70
+ "grad_norm": 0.36334967613220215,
71
+ "learning_rate": 0.00017600000000000002,
72
+ "loss": 1.3073,
73
+ "step": 45
74
+ },
75
+ {
76
+ "epoch": 0.3472222222222222,
77
+ "grad_norm": 0.3194734454154968,
78
+ "learning_rate": 0.000196,
79
+ "loss": 1.2374,
80
+ "step": 50
81
+ },
82
+ {
83
+ "epoch": 0.3819444444444444,
84
+ "grad_norm": 0.4422107934951782,
85
+ "learning_rate": 0.00019790575916230367,
86
+ "loss": 1.2243,
87
+ "step": 55
88
+ },
89
+ {
90
+ "epoch": 0.4166666666666667,
91
+ "grad_norm": 0.36031872034072876,
92
+ "learning_rate": 0.00019528795811518326,
93
+ "loss": 1.236,
94
+ "step": 60
95
+ },
96
+ {
97
+ "epoch": 0.4513888888888889,
98
+ "grad_norm": 0.40430501103401184,
99
+ "learning_rate": 0.00019267015706806283,
100
+ "loss": 1.1484,
101
+ "step": 65
102
+ },
103
+ {
104
+ "epoch": 0.4861111111111111,
105
+ "grad_norm": 0.39032667875289917,
106
+ "learning_rate": 0.00019005235602094243,
107
+ "loss": 1.1352,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 0.5208333333333334,
112
+ "grad_norm": 0.3691488206386566,
113
+ "learning_rate": 0.00018743455497382202,
114
+ "loss": 1.0341,
115
+ "step": 75
116
+ },
117
+ {
118
+ "epoch": 0.5555555555555556,
119
+ "grad_norm": 0.3820245563983917,
120
+ "learning_rate": 0.00018481675392670156,
121
+ "loss": 0.9911,
122
+ "step": 80
123
+ },
124
+ {
125
+ "epoch": 0.5902777777777778,
126
+ "grad_norm": 0.40899762511253357,
127
+ "learning_rate": 0.00018219895287958115,
128
+ "loss": 1.077,
129
+ "step": 85
130
+ },
131
+ {
132
+ "epoch": 0.625,
133
+ "grad_norm": 0.3846423029899597,
134
+ "learning_rate": 0.00017958115183246075,
135
+ "loss": 1.1241,
136
+ "step": 90
137
+ },
138
+ {
139
+ "epoch": 0.6597222222222222,
140
+ "grad_norm": 0.43537914752960205,
141
+ "learning_rate": 0.00017696335078534032,
142
+ "loss": 1.0522,
143
+ "step": 95
144
+ },
145
+ {
146
+ "epoch": 0.6944444444444444,
147
+ "grad_norm": 0.40991654992103577,
148
+ "learning_rate": 0.0001743455497382199,
149
+ "loss": 1.0116,
150
+ "step": 100
151
+ },
152
+ {
153
+ "epoch": 0.6944444444444444,
154
+ "eval_loss": 1.053038239479065,
155
+ "eval_runtime": 19.8507,
156
+ "eval_samples_per_second": 9.622,
157
+ "eval_steps_per_second": 1.612,
158
+ "step": 100
159
+ },
160
+ {
161
+ "epoch": 0.7291666666666666,
162
+ "grad_norm": 0.4987630248069763,
163
+ "learning_rate": 0.00017172774869109948,
164
+ "loss": 0.9179,
165
+ "step": 105
166
+ },
167
+ {
168
+ "epoch": 0.7638888888888888,
169
+ "grad_norm": 0.44468897581100464,
170
+ "learning_rate": 0.00016910994764397907,
171
+ "loss": 1.0694,
172
+ "step": 110
173
+ },
174
+ {
175
+ "epoch": 0.7986111111111112,
176
+ "grad_norm": 0.4741359055042267,
177
+ "learning_rate": 0.00016649214659685867,
178
+ "loss": 1.024,
179
+ "step": 115
180
+ },
181
+ {
182
+ "epoch": 0.8333333333333334,
183
+ "grad_norm": 0.47767335176467896,
184
+ "learning_rate": 0.0001638743455497382,
185
+ "loss": 0.9636,
186
+ "step": 120
187
+ },
188
+ {
189
+ "epoch": 0.8680555555555556,
190
+ "grad_norm": 0.45077380537986755,
191
+ "learning_rate": 0.0001612565445026178,
192
+ "loss": 1.0373,
193
+ "step": 125
194
+ },
195
+ {
196
+ "epoch": 0.9027777777777778,
197
+ "grad_norm": 0.43459218740463257,
198
+ "learning_rate": 0.0001586387434554974,
199
+ "loss": 0.9578,
200
+ "step": 130
201
+ },
202
+ {
203
+ "epoch": 0.9375,
204
+ "grad_norm": 0.5079038739204407,
205
+ "learning_rate": 0.00015602094240837696,
206
+ "loss": 0.8932,
207
+ "step": 135
208
+ },
209
+ {
210
+ "epoch": 0.9722222222222222,
211
+ "grad_norm": 0.48626700043678284,
212
+ "learning_rate": 0.00015340314136125656,
213
+ "loss": 0.9151,
214
+ "step": 140
215
+ },
216
+ {
217
+ "epoch": 1.0069444444444444,
218
+ "grad_norm": 0.5171248316764832,
219
+ "learning_rate": 0.00015078534031413612,
220
+ "loss": 0.9027,
221
+ "step": 145
222
+ },
223
+ {
224
+ "epoch": 1.0416666666666667,
225
+ "grad_norm": 0.6200463175773621,
226
+ "learning_rate": 0.00014816753926701572,
227
+ "loss": 0.6928,
228
+ "step": 150
229
+ },
230
+ {
231
+ "epoch": 1.0763888888888888,
232
+ "grad_norm": 0.48823609948158264,
233
+ "learning_rate": 0.00014554973821989531,
234
+ "loss": 0.7165,
235
+ "step": 155
236
+ },
237
+ {
238
+ "epoch": 1.1111111111111112,
239
+ "grad_norm": 0.5404874086380005,
240
+ "learning_rate": 0.00014293193717277485,
241
+ "loss": 0.6827,
242
+ "step": 160
243
+ },
244
+ {
245
+ "epoch": 1.1458333333333333,
246
+ "grad_norm": 0.46143069863319397,
247
+ "learning_rate": 0.00014031413612565445,
248
+ "loss": 0.7171,
249
+ "step": 165
250
+ },
251
+ {
252
+ "epoch": 1.1805555555555556,
253
+ "grad_norm": 0.5935544371604919,
254
+ "learning_rate": 0.00013769633507853404,
255
+ "loss": 0.7044,
256
+ "step": 170
257
+ },
258
+ {
259
+ "epoch": 1.2152777777777777,
260
+ "grad_norm": 0.5715068578720093,
261
+ "learning_rate": 0.0001350785340314136,
262
+ "loss": 0.6636,
263
+ "step": 175
264
+ },
265
+ {
266
+ "epoch": 1.25,
267
+ "grad_norm": 0.585377037525177,
268
+ "learning_rate": 0.0001324607329842932,
269
+ "loss": 0.679,
270
+ "step": 180
271
+ },
272
+ {
273
+ "epoch": 1.2847222222222223,
274
+ "grad_norm": 0.5465496182441711,
275
+ "learning_rate": 0.00012984293193717277,
276
+ "loss": 0.647,
277
+ "step": 185
278
+ },
279
+ {
280
+ "epoch": 1.3194444444444444,
281
+ "grad_norm": 0.5915805697441101,
282
+ "learning_rate": 0.00012722513089005237,
283
+ "loss": 0.6305,
284
+ "step": 190
285
+ },
286
+ {
287
+ "epoch": 1.3541666666666667,
288
+ "grad_norm": 0.5672898888587952,
289
+ "learning_rate": 0.00012460732984293196,
290
+ "loss": 0.6799,
291
+ "step": 195
292
+ },
293
+ {
294
+ "epoch": 1.3888888888888888,
295
+ "grad_norm": 0.735905110836029,
296
+ "learning_rate": 0.00012198952879581151,
297
+ "loss": 0.6022,
298
+ "step": 200
299
+ },
300
+ {
301
+ "epoch": 1.3888888888888888,
302
+ "eval_loss": 0.7630631327629089,
303
+ "eval_runtime": 19.802,
304
+ "eval_samples_per_second": 9.646,
305
+ "eval_steps_per_second": 1.616,
306
+ "step": 200
307
+ }
308
+ ],
309
+ "logging_steps": 5,
310
+ "max_steps": 432,
311
+ "num_input_tokens_seen": 0,
312
+ "num_train_epochs": 3,
313
+ "save_steps": 100,
314
+ "stateful_callbacks": {
315
+ "TrainerControl": {
316
+ "args": {
317
+ "should_epoch_stop": false,
318
+ "should_evaluate": false,
319
+ "should_log": false,
320
+ "should_save": true,
321
+ "should_training_stop": false
322
+ },
323
+ "attributes": {}
324
+ }
325
+ },
326
+ "total_flos": 4.926350329852723e+16,
327
+ "train_batch_size": 6,
328
+ "trial_name": null,
329
+ "trial_params": null
330
+ }
checkpoint-30/README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: codellama/CodeLlama-7b-Instruct-hf
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:codellama/CodeLlama-7b-Instruct-hf
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.18.0
checkpoint-30/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "codellama/CodeLlama-7b-Instruct-hf",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.0",
27
+ "qalora_group_size": 16,
28
+ "r": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "k_proj",
34
+ "down_proj",
35
+ "gate_proj",
36
+ "up_proj",
37
+ "v_proj",
38
+ "q_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-30/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\n' + system_message + '\n<</SYS>>\n\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content | trim + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content | trim + ' ' + eos_token }}{% endif %}{% endfor %}
checkpoint-30/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
+ }
checkpoint-30/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-30/tokenizer_config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
73
+ "fill_token": "<FILL_ME>",
74
+ "legacy": null,
75
+ "middle_token": "▁<MID>",
76
+ "model_max_length": 1000000000000000019884624838656,
77
+ "pad_token": "</s>",
78
+ "prefix_token": "▁<PRE>",
79
+ "sp_model_kwargs": {},
80
+ "suffix_token": "▁<SUF>",
81
+ "tokenizer_class": "CodeLlamaTokenizer",
82
+ "unk_token": "<unk>",
83
+ "use_default_system_prompt": false
84
+ }
checkpoint-30/trainer_state.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 100,
7
+ "global_step": 30,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.5,
14
+ "grad_norm": 0.5258620381355286,
15
+ "learning_rate": 1.6000000000000003e-05,
16
+ "loss": 1.8946,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "grad_norm": 0.42345377802848816,
22
+ "learning_rate": 3.6e-05,
23
+ "loss": 1.8109,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 1.5,
28
+ "grad_norm": 0.4051591157913208,
29
+ "learning_rate": 5.6000000000000006e-05,
30
+ "loss": 1.5842,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 2.0,
35
+ "grad_norm": 0.5201464295387268,
36
+ "learning_rate": 7.6e-05,
37
+ "loss": 1.4923,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 2.5,
42
+ "grad_norm": 0.2786524295806885,
43
+ "learning_rate": 9.6e-05,
44
+ "loss": 1.2476,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 3.0,
49
+ "grad_norm": 0.36792418360710144,
50
+ "learning_rate": 0.000116,
51
+ "loss": 1.1255,
52
+ "step": 30
53
+ }
54
+ ],
55
+ "logging_steps": 5,
56
+ "max_steps": 30,
57
+ "num_input_tokens_seen": 0,
58
+ "num_train_epochs": 3,
59
+ "save_steps": 100,
60
+ "stateful_callbacks": {
61
+ "TrainerControl": {
62
+ "args": {
63
+ "should_epoch_stop": false,
64
+ "should_evaluate": false,
65
+ "should_log": false,
66
+ "should_save": true,
67
+ "should_training_stop": true
68
+ },
69
+ "attributes": {}
70
+ }
71
+ },
72
+ "total_flos": 7149165616300032.0,
73
+ "train_batch_size": 6,
74
+ "trial_name": null,
75
+ "trial_params": null
76
+ }
checkpoint-300/README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: codellama/CodeLlama-7b-Instruct-hf
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:codellama/CodeLlama-7b-Instruct-hf
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.18.0
checkpoint-300/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "codellama/CodeLlama-7b-Instruct-hf",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.0",
27
+ "qalora_group_size": 16,
28
+ "r": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "k_proj",
34
+ "down_proj",
35
+ "q_proj",
36
+ "gate_proj",
37
+ "up_proj",
38
+ "v_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-300/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\n' + system_message + '\n<</SYS>>\n\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content | trim + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content | trim + ' ' + eos_token }}{% endif %}{% endfor %}
checkpoint-300/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
+ }
checkpoint-300/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-300/tokenizer_config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
73
+ "fill_token": "<FILL_ME>",
74
+ "legacy": null,
75
+ "middle_token": "▁<MID>",
76
+ "model_max_length": 1000000000000000019884624838656,
77
+ "pad_token": "</s>",
78
+ "prefix_token": "▁<PRE>",
79
+ "sp_model_kwargs": {},
80
+ "suffix_token": "▁<SUF>",
81
+ "tokenizer_class": "CodeLlamaTokenizer",
82
+ "unk_token": "<unk>",
83
+ "use_default_system_prompt": false
84
+ }
checkpoint-300/trainer_state.json ADDED
@@ -0,0 +1,478 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 300,
3
+ "best_metric": 0.5089412927627563,
4
+ "best_model_checkpoint": "./luau-model/checkpoint-300",
5
+ "epoch": 2.0833333333333335,
6
+ "eval_steps": 100,
7
+ "global_step": 300,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.034722222222222224,
14
+ "grad_norm": 0.19553522765636444,
15
+ "learning_rate": 1.6000000000000003e-05,
16
+ "loss": 1.5215,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.06944444444444445,
21
+ "grad_norm": 0.18851090967655182,
22
+ "learning_rate": 3.6e-05,
23
+ "loss": 1.4318,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.10416666666666667,
28
+ "grad_norm": 0.2147289365530014,
29
+ "learning_rate": 5.6000000000000006e-05,
30
+ "loss": 1.4315,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 0.1388888888888889,
35
+ "grad_norm": 0.22880084812641144,
36
+ "learning_rate": 7.6e-05,
37
+ "loss": 1.3475,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 0.1736111111111111,
42
+ "grad_norm": 0.27205583453178406,
43
+ "learning_rate": 9.6e-05,
44
+ "loss": 1.3244,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.20833333333333334,
49
+ "grad_norm": 0.2366049736738205,
50
+ "learning_rate": 0.000116,
51
+ "loss": 1.3784,
52
+ "step": 30
53
+ },
54
+ {
55
+ "epoch": 0.24305555555555555,
56
+ "grad_norm": 0.2528875768184662,
57
+ "learning_rate": 0.00013600000000000003,
58
+ "loss": 1.3578,
59
+ "step": 35
60
+ },
61
+ {
62
+ "epoch": 0.2777777777777778,
63
+ "grad_norm": 0.2789267897605896,
64
+ "learning_rate": 0.00015600000000000002,
65
+ "loss": 1.2761,
66
+ "step": 40
67
+ },
68
+ {
69
+ "epoch": 0.3125,
70
+ "grad_norm": 0.36334967613220215,
71
+ "learning_rate": 0.00017600000000000002,
72
+ "loss": 1.3073,
73
+ "step": 45
74
+ },
75
+ {
76
+ "epoch": 0.3472222222222222,
77
+ "grad_norm": 0.3194734454154968,
78
+ "learning_rate": 0.000196,
79
+ "loss": 1.2374,
80
+ "step": 50
81
+ },
82
+ {
83
+ "epoch": 0.3819444444444444,
84
+ "grad_norm": 0.4422107934951782,
85
+ "learning_rate": 0.00019790575916230367,
86
+ "loss": 1.2243,
87
+ "step": 55
88
+ },
89
+ {
90
+ "epoch": 0.4166666666666667,
91
+ "grad_norm": 0.36031872034072876,
92
+ "learning_rate": 0.00019528795811518326,
93
+ "loss": 1.236,
94
+ "step": 60
95
+ },
96
+ {
97
+ "epoch": 0.4513888888888889,
98
+ "grad_norm": 0.40430501103401184,
99
+ "learning_rate": 0.00019267015706806283,
100
+ "loss": 1.1484,
101
+ "step": 65
102
+ },
103
+ {
104
+ "epoch": 0.4861111111111111,
105
+ "grad_norm": 0.39032667875289917,
106
+ "learning_rate": 0.00019005235602094243,
107
+ "loss": 1.1352,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 0.5208333333333334,
112
+ "grad_norm": 0.3691488206386566,
113
+ "learning_rate": 0.00018743455497382202,
114
+ "loss": 1.0341,
115
+ "step": 75
116
+ },
117
+ {
118
+ "epoch": 0.5555555555555556,
119
+ "grad_norm": 0.3820245563983917,
120
+ "learning_rate": 0.00018481675392670156,
121
+ "loss": 0.9911,
122
+ "step": 80
123
+ },
124
+ {
125
+ "epoch": 0.5902777777777778,
126
+ "grad_norm": 0.40899762511253357,
127
+ "learning_rate": 0.00018219895287958115,
128
+ "loss": 1.077,
129
+ "step": 85
130
+ },
131
+ {
132
+ "epoch": 0.625,
133
+ "grad_norm": 0.3846423029899597,
134
+ "learning_rate": 0.00017958115183246075,
135
+ "loss": 1.1241,
136
+ "step": 90
137
+ },
138
+ {
139
+ "epoch": 0.6597222222222222,
140
+ "grad_norm": 0.43537914752960205,
141
+ "learning_rate": 0.00017696335078534032,
142
+ "loss": 1.0522,
143
+ "step": 95
144
+ },
145
+ {
146
+ "epoch": 0.6944444444444444,
147
+ "grad_norm": 0.40991654992103577,
148
+ "learning_rate": 0.0001743455497382199,
149
+ "loss": 1.0116,
150
+ "step": 100
151
+ },
152
+ {
153
+ "epoch": 0.6944444444444444,
154
+ "eval_loss": 1.053038239479065,
155
+ "eval_runtime": 19.8507,
156
+ "eval_samples_per_second": 9.622,
157
+ "eval_steps_per_second": 1.612,
158
+ "step": 100
159
+ },
160
+ {
161
+ "epoch": 0.7291666666666666,
162
+ "grad_norm": 0.4987630248069763,
163
+ "learning_rate": 0.00017172774869109948,
164
+ "loss": 0.9179,
165
+ "step": 105
166
+ },
167
+ {
168
+ "epoch": 0.7638888888888888,
169
+ "grad_norm": 0.44468897581100464,
170
+ "learning_rate": 0.00016910994764397907,
171
+ "loss": 1.0694,
172
+ "step": 110
173
+ },
174
+ {
175
+ "epoch": 0.7986111111111112,
176
+ "grad_norm": 0.4741359055042267,
177
+ "learning_rate": 0.00016649214659685867,
178
+ "loss": 1.024,
179
+ "step": 115
180
+ },
181
+ {
182
+ "epoch": 0.8333333333333334,
183
+ "grad_norm": 0.47767335176467896,
184
+ "learning_rate": 0.0001638743455497382,
185
+ "loss": 0.9636,
186
+ "step": 120
187
+ },
188
+ {
189
+ "epoch": 0.8680555555555556,
190
+ "grad_norm": 0.45077380537986755,
191
+ "learning_rate": 0.0001612565445026178,
192
+ "loss": 1.0373,
193
+ "step": 125
194
+ },
195
+ {
196
+ "epoch": 0.9027777777777778,
197
+ "grad_norm": 0.43459218740463257,
198
+ "learning_rate": 0.0001586387434554974,
199
+ "loss": 0.9578,
200
+ "step": 130
201
+ },
202
+ {
203
+ "epoch": 0.9375,
204
+ "grad_norm": 0.5079038739204407,
205
+ "learning_rate": 0.00015602094240837696,
206
+ "loss": 0.8932,
207
+ "step": 135
208
+ },
209
+ {
210
+ "epoch": 0.9722222222222222,
211
+ "grad_norm": 0.48626700043678284,
212
+ "learning_rate": 0.00015340314136125656,
213
+ "loss": 0.9151,
214
+ "step": 140
215
+ },
216
+ {
217
+ "epoch": 1.0069444444444444,
218
+ "grad_norm": 0.5171248316764832,
219
+ "learning_rate": 0.00015078534031413612,
220
+ "loss": 0.9027,
221
+ "step": 145
222
+ },
223
+ {
224
+ "epoch": 1.0416666666666667,
225
+ "grad_norm": 0.6200463175773621,
226
+ "learning_rate": 0.00014816753926701572,
227
+ "loss": 0.6928,
228
+ "step": 150
229
+ },
230
+ {
231
+ "epoch": 1.0763888888888888,
232
+ "grad_norm": 0.48823609948158264,
233
+ "learning_rate": 0.00014554973821989531,
234
+ "loss": 0.7165,
235
+ "step": 155
236
+ },
237
+ {
238
+ "epoch": 1.1111111111111112,
239
+ "grad_norm": 0.5404874086380005,
240
+ "learning_rate": 0.00014293193717277485,
241
+ "loss": 0.6827,
242
+ "step": 160
243
+ },
244
+ {
245
+ "epoch": 1.1458333333333333,
246
+ "grad_norm": 0.46143069863319397,
247
+ "learning_rate": 0.00014031413612565445,
248
+ "loss": 0.7171,
249
+ "step": 165
250
+ },
251
+ {
252
+ "epoch": 1.1805555555555556,
253
+ "grad_norm": 0.5935544371604919,
254
+ "learning_rate": 0.00013769633507853404,
255
+ "loss": 0.7044,
256
+ "step": 170
257
+ },
258
+ {
259
+ "epoch": 1.2152777777777777,
260
+ "grad_norm": 0.5715068578720093,
261
+ "learning_rate": 0.0001350785340314136,
262
+ "loss": 0.6636,
263
+ "step": 175
264
+ },
265
+ {
266
+ "epoch": 1.25,
267
+ "grad_norm": 0.585377037525177,
268
+ "learning_rate": 0.0001324607329842932,
269
+ "loss": 0.679,
270
+ "step": 180
271
+ },
272
+ {
273
+ "epoch": 1.2847222222222223,
274
+ "grad_norm": 0.5465496182441711,
275
+ "learning_rate": 0.00012984293193717277,
276
+ "loss": 0.647,
277
+ "step": 185
278
+ },
279
+ {
280
+ "epoch": 1.3194444444444444,
281
+ "grad_norm": 0.5915805697441101,
282
+ "learning_rate": 0.00012722513089005237,
283
+ "loss": 0.6305,
284
+ "step": 190
285
+ },
286
+ {
287
+ "epoch": 1.3541666666666667,
288
+ "grad_norm": 0.5672898888587952,
289
+ "learning_rate": 0.00012460732984293196,
290
+ "loss": 0.6799,
291
+ "step": 195
292
+ },
293
+ {
294
+ "epoch": 1.3888888888888888,
295
+ "grad_norm": 0.735905110836029,
296
+ "learning_rate": 0.00012198952879581151,
297
+ "loss": 0.6022,
298
+ "step": 200
299
+ },
300
+ {
301
+ "epoch": 1.3888888888888888,
302
+ "eval_loss": 0.7630631327629089,
303
+ "eval_runtime": 19.802,
304
+ "eval_samples_per_second": 9.646,
305
+ "eval_steps_per_second": 1.616,
306
+ "step": 200
307
+ },
308
+ {
309
+ "epoch": 1.4236111111111112,
310
+ "grad_norm": 0.6561821699142456,
311
+ "learning_rate": 0.0001193717277486911,
312
+ "loss": 0.6586,
313
+ "step": 205
314
+ },
315
+ {
316
+ "epoch": 1.4583333333333333,
317
+ "grad_norm": 0.5606387853622437,
318
+ "learning_rate": 0.00011675392670157068,
319
+ "loss": 0.5827,
320
+ "step": 210
321
+ },
322
+ {
323
+ "epoch": 1.4930555555555556,
324
+ "grad_norm": 0.7301760315895081,
325
+ "learning_rate": 0.00011413612565445027,
326
+ "loss": 0.6343,
327
+ "step": 215
328
+ },
329
+ {
330
+ "epoch": 1.5277777777777777,
331
+ "grad_norm": 0.6215537190437317,
332
+ "learning_rate": 0.00011151832460732985,
333
+ "loss": 0.6967,
334
+ "step": 220
335
+ },
336
+ {
337
+ "epoch": 1.5625,
338
+ "grad_norm": 0.5844612121582031,
339
+ "learning_rate": 0.00010890052356020943,
340
+ "loss": 0.5831,
341
+ "step": 225
342
+ },
343
+ {
344
+ "epoch": 1.5972222222222223,
345
+ "grad_norm": 0.6531478762626648,
346
+ "learning_rate": 0.00010628272251308901,
347
+ "loss": 0.5586,
348
+ "step": 230
349
+ },
350
+ {
351
+ "epoch": 1.6319444444444444,
352
+ "grad_norm": 0.6617570519447327,
353
+ "learning_rate": 0.0001036649214659686,
354
+ "loss": 0.4622,
355
+ "step": 235
356
+ },
357
+ {
358
+ "epoch": 1.6666666666666665,
359
+ "grad_norm": 0.5876675844192505,
360
+ "learning_rate": 0.00010104712041884816,
361
+ "loss": 0.4863,
362
+ "step": 240
363
+ },
364
+ {
365
+ "epoch": 1.7013888888888888,
366
+ "grad_norm": 0.6678897142410278,
367
+ "learning_rate": 9.842931937172776e-05,
368
+ "loss": 0.4397,
369
+ "step": 245
370
+ },
371
+ {
372
+ "epoch": 1.7361111111111112,
373
+ "grad_norm": 0.6826710104942322,
374
+ "learning_rate": 9.581151832460732e-05,
375
+ "loss": 0.4996,
376
+ "step": 250
377
+ },
378
+ {
379
+ "epoch": 1.7708333333333335,
380
+ "grad_norm": 0.651406466960907,
381
+ "learning_rate": 9.319371727748692e-05,
382
+ "loss": 0.6108,
383
+ "step": 255
384
+ },
385
+ {
386
+ "epoch": 1.8055555555555556,
387
+ "grad_norm": 0.6858854293823242,
388
+ "learning_rate": 9.05759162303665e-05,
389
+ "loss": 0.4929,
390
+ "step": 260
391
+ },
392
+ {
393
+ "epoch": 1.8402777777777777,
394
+ "grad_norm": 0.6023811101913452,
395
+ "learning_rate": 8.795811518324608e-05,
396
+ "loss": 0.4669,
397
+ "step": 265
398
+ },
399
+ {
400
+ "epoch": 1.875,
401
+ "grad_norm": 0.615983784198761,
402
+ "learning_rate": 8.534031413612566e-05,
403
+ "loss": 0.59,
404
+ "step": 270
405
+ },
406
+ {
407
+ "epoch": 1.9097222222222223,
408
+ "grad_norm": 0.7829121351242065,
409
+ "learning_rate": 8.272251308900524e-05,
410
+ "loss": 0.5846,
411
+ "step": 275
412
+ },
413
+ {
414
+ "epoch": 1.9444444444444444,
415
+ "grad_norm": 0.6411824226379395,
416
+ "learning_rate": 8.010471204188482e-05,
417
+ "loss": 0.413,
418
+ "step": 280
419
+ },
420
+ {
421
+ "epoch": 1.9791666666666665,
422
+ "grad_norm": 0.6091701984405518,
423
+ "learning_rate": 7.74869109947644e-05,
424
+ "loss": 0.4117,
425
+ "step": 285
426
+ },
427
+ {
428
+ "epoch": 2.013888888888889,
429
+ "grad_norm": 0.5939719080924988,
430
+ "learning_rate": 7.486910994764398e-05,
431
+ "loss": 0.3464,
432
+ "step": 290
433
+ },
434
+ {
435
+ "epoch": 2.048611111111111,
436
+ "grad_norm": 0.8333393335342407,
437
+ "learning_rate": 7.225130890052356e-05,
438
+ "loss": 0.2968,
439
+ "step": 295
440
+ },
441
+ {
442
+ "epoch": 2.0833333333333335,
443
+ "grad_norm": 0.5424718260765076,
444
+ "learning_rate": 6.963350785340315e-05,
445
+ "loss": 0.2427,
446
+ "step": 300
447
+ },
448
+ {
449
+ "epoch": 2.0833333333333335,
450
+ "eval_loss": 0.5089412927627563,
451
+ "eval_runtime": 19.8357,
452
+ "eval_samples_per_second": 9.629,
453
+ "eval_steps_per_second": 1.613,
454
+ "step": 300
455
+ }
456
+ ],
457
+ "logging_steps": 5,
458
+ "max_steps": 432,
459
+ "num_input_tokens_seen": 0,
460
+ "num_train_epochs": 3,
461
+ "save_steps": 100,
462
+ "stateful_callbacks": {
463
+ "TrainerControl": {
464
+ "args": {
465
+ "should_epoch_stop": false,
466
+ "should_evaluate": false,
467
+ "should_log": false,
468
+ "should_save": true,
469
+ "should_training_stop": false
470
+ },
471
+ "attributes": {}
472
+ }
473
+ },
474
+ "total_flos": 7.387471136843366e+16,
475
+ "train_batch_size": 6,
476
+ "trial_name": null,
477
+ "trial_params": null
478
+ }
checkpoint-400/tokenizer_config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
73
+ "fill_token": "<FILL_ME>",
74
+ "legacy": null,
75
+ "middle_token": "▁<MID>",
76
+ "model_max_length": 1000000000000000019884624838656,
77
+ "pad_token": "</s>",
78
+ "prefix_token": "▁<PRE>",
79
+ "sp_model_kwargs": {},
80
+ "suffix_token": "▁<SUF>",
81
+ "tokenizer_class": "CodeLlamaTokenizer",
82
+ "unk_token": "<unk>",
83
+ "use_default_system_prompt": false
84
+ }
checkpoint-432/README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: codellama/CodeLlama-7b-Instruct-hf
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:codellama/CodeLlama-7b-Instruct-hf
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.18.0
checkpoint-432/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "codellama/CodeLlama-7b-Instruct-hf",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.0",
27
+ "qalora_group_size": 16,
28
+ "r": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "k_proj",
34
+ "down_proj",
35
+ "q_proj",
36
+ "gate_proj",
37
+ "up_proj",
38
+ "v_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-432/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\n' + system_message + '\n<</SYS>>\n\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content | trim + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content | trim + ' ' + eos_token }}{% endif %}{% endfor %}
checkpoint-432/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
+ }
checkpoint-432/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-432/tokenizer_config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
73
+ "fill_token": "<FILL_ME>",
74
+ "legacy": null,
75
+ "middle_token": "▁<MID>",
76
+ "model_max_length": 1000000000000000019884624838656,
77
+ "pad_token": "</s>",
78
+ "prefix_token": "▁<PRE>",
79
+ "sp_model_kwargs": {},
80
+ "suffix_token": "▁<SUF>",
81
+ "tokenizer_class": "CodeLlamaTokenizer",
82
+ "unk_token": "<unk>",
83
+ "use_default_system_prompt": false
84
+ }
checkpoint-432/trainer_state.json ADDED
@@ -0,0 +1,668 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 400,
3
+ "best_metric": 0.34772011637687683,
4
+ "best_model_checkpoint": "./luau-model/checkpoint-400",
5
+ "epoch": 3.0,
6
+ "eval_steps": 100,
7
+ "global_step": 432,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.034722222222222224,
14
+ "grad_norm": 0.19553522765636444,
15
+ "learning_rate": 1.6000000000000003e-05,
16
+ "loss": 1.5215,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.06944444444444445,
21
+ "grad_norm": 0.18851090967655182,
22
+ "learning_rate": 3.6e-05,
23
+ "loss": 1.4318,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.10416666666666667,
28
+ "grad_norm": 0.2147289365530014,
29
+ "learning_rate": 5.6000000000000006e-05,
30
+ "loss": 1.4315,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 0.1388888888888889,
35
+ "grad_norm": 0.22880084812641144,
36
+ "learning_rate": 7.6e-05,
37
+ "loss": 1.3475,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 0.1736111111111111,
42
+ "grad_norm": 0.27205583453178406,
43
+ "learning_rate": 9.6e-05,
44
+ "loss": 1.3244,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.20833333333333334,
49
+ "grad_norm": 0.2366049736738205,
50
+ "learning_rate": 0.000116,
51
+ "loss": 1.3784,
52
+ "step": 30
53
+ },
54
+ {
55
+ "epoch": 0.24305555555555555,
56
+ "grad_norm": 0.2528875768184662,
57
+ "learning_rate": 0.00013600000000000003,
58
+ "loss": 1.3578,
59
+ "step": 35
60
+ },
61
+ {
62
+ "epoch": 0.2777777777777778,
63
+ "grad_norm": 0.2789267897605896,
64
+ "learning_rate": 0.00015600000000000002,
65
+ "loss": 1.2761,
66
+ "step": 40
67
+ },
68
+ {
69
+ "epoch": 0.3125,
70
+ "grad_norm": 0.36334967613220215,
71
+ "learning_rate": 0.00017600000000000002,
72
+ "loss": 1.3073,
73
+ "step": 45
74
+ },
75
+ {
76
+ "epoch": 0.3472222222222222,
77
+ "grad_norm": 0.3194734454154968,
78
+ "learning_rate": 0.000196,
79
+ "loss": 1.2374,
80
+ "step": 50
81
+ },
82
+ {
83
+ "epoch": 0.3819444444444444,
84
+ "grad_norm": 0.4422107934951782,
85
+ "learning_rate": 0.00019790575916230367,
86
+ "loss": 1.2243,
87
+ "step": 55
88
+ },
89
+ {
90
+ "epoch": 0.4166666666666667,
91
+ "grad_norm": 0.36031872034072876,
92
+ "learning_rate": 0.00019528795811518326,
93
+ "loss": 1.236,
94
+ "step": 60
95
+ },
96
+ {
97
+ "epoch": 0.4513888888888889,
98
+ "grad_norm": 0.40430501103401184,
99
+ "learning_rate": 0.00019267015706806283,
100
+ "loss": 1.1484,
101
+ "step": 65
102
+ },
103
+ {
104
+ "epoch": 0.4861111111111111,
105
+ "grad_norm": 0.39032667875289917,
106
+ "learning_rate": 0.00019005235602094243,
107
+ "loss": 1.1352,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 0.5208333333333334,
112
+ "grad_norm": 0.3691488206386566,
113
+ "learning_rate": 0.00018743455497382202,
114
+ "loss": 1.0341,
115
+ "step": 75
116
+ },
117
+ {
118
+ "epoch": 0.5555555555555556,
119
+ "grad_norm": 0.3820245563983917,
120
+ "learning_rate": 0.00018481675392670156,
121
+ "loss": 0.9911,
122
+ "step": 80
123
+ },
124
+ {
125
+ "epoch": 0.5902777777777778,
126
+ "grad_norm": 0.40899762511253357,
127
+ "learning_rate": 0.00018219895287958115,
128
+ "loss": 1.077,
129
+ "step": 85
130
+ },
131
+ {
132
+ "epoch": 0.625,
133
+ "grad_norm": 0.3846423029899597,
134
+ "learning_rate": 0.00017958115183246075,
135
+ "loss": 1.1241,
136
+ "step": 90
137
+ },
138
+ {
139
+ "epoch": 0.6597222222222222,
140
+ "grad_norm": 0.43537914752960205,
141
+ "learning_rate": 0.00017696335078534032,
142
+ "loss": 1.0522,
143
+ "step": 95
144
+ },
145
+ {
146
+ "epoch": 0.6944444444444444,
147
+ "grad_norm": 0.40991654992103577,
148
+ "learning_rate": 0.0001743455497382199,
149
+ "loss": 1.0116,
150
+ "step": 100
151
+ },
152
+ {
153
+ "epoch": 0.6944444444444444,
154
+ "eval_loss": 1.053038239479065,
155
+ "eval_runtime": 19.8507,
156
+ "eval_samples_per_second": 9.622,
157
+ "eval_steps_per_second": 1.612,
158
+ "step": 100
159
+ },
160
+ {
161
+ "epoch": 0.7291666666666666,
162
+ "grad_norm": 0.4987630248069763,
163
+ "learning_rate": 0.00017172774869109948,
164
+ "loss": 0.9179,
165
+ "step": 105
166
+ },
167
+ {
168
+ "epoch": 0.7638888888888888,
169
+ "grad_norm": 0.44468897581100464,
170
+ "learning_rate": 0.00016910994764397907,
171
+ "loss": 1.0694,
172
+ "step": 110
173
+ },
174
+ {
175
+ "epoch": 0.7986111111111112,
176
+ "grad_norm": 0.4741359055042267,
177
+ "learning_rate": 0.00016649214659685867,
178
+ "loss": 1.024,
179
+ "step": 115
180
+ },
181
+ {
182
+ "epoch": 0.8333333333333334,
183
+ "grad_norm": 0.47767335176467896,
184
+ "learning_rate": 0.0001638743455497382,
185
+ "loss": 0.9636,
186
+ "step": 120
187
+ },
188
+ {
189
+ "epoch": 0.8680555555555556,
190
+ "grad_norm": 0.45077380537986755,
191
+ "learning_rate": 0.0001612565445026178,
192
+ "loss": 1.0373,
193
+ "step": 125
194
+ },
195
+ {
196
+ "epoch": 0.9027777777777778,
197
+ "grad_norm": 0.43459218740463257,
198
+ "learning_rate": 0.0001586387434554974,
199
+ "loss": 0.9578,
200
+ "step": 130
201
+ },
202
+ {
203
+ "epoch": 0.9375,
204
+ "grad_norm": 0.5079038739204407,
205
+ "learning_rate": 0.00015602094240837696,
206
+ "loss": 0.8932,
207
+ "step": 135
208
+ },
209
+ {
210
+ "epoch": 0.9722222222222222,
211
+ "grad_norm": 0.48626700043678284,
212
+ "learning_rate": 0.00015340314136125656,
213
+ "loss": 0.9151,
214
+ "step": 140
215
+ },
216
+ {
217
+ "epoch": 1.0069444444444444,
218
+ "grad_norm": 0.5171248316764832,
219
+ "learning_rate": 0.00015078534031413612,
220
+ "loss": 0.9027,
221
+ "step": 145
222
+ },
223
+ {
224
+ "epoch": 1.0416666666666667,
225
+ "grad_norm": 0.6200463175773621,
226
+ "learning_rate": 0.00014816753926701572,
227
+ "loss": 0.6928,
228
+ "step": 150
229
+ },
230
+ {
231
+ "epoch": 1.0763888888888888,
232
+ "grad_norm": 0.48823609948158264,
233
+ "learning_rate": 0.00014554973821989531,
234
+ "loss": 0.7165,
235
+ "step": 155
236
+ },
237
+ {
238
+ "epoch": 1.1111111111111112,
239
+ "grad_norm": 0.5404874086380005,
240
+ "learning_rate": 0.00014293193717277485,
241
+ "loss": 0.6827,
242
+ "step": 160
243
+ },
244
+ {
245
+ "epoch": 1.1458333333333333,
246
+ "grad_norm": 0.46143069863319397,
247
+ "learning_rate": 0.00014031413612565445,
248
+ "loss": 0.7171,
249
+ "step": 165
250
+ },
251
+ {
252
+ "epoch": 1.1805555555555556,
253
+ "grad_norm": 0.5935544371604919,
254
+ "learning_rate": 0.00013769633507853404,
255
+ "loss": 0.7044,
256
+ "step": 170
257
+ },
258
+ {
259
+ "epoch": 1.2152777777777777,
260
+ "grad_norm": 0.5715068578720093,
261
+ "learning_rate": 0.0001350785340314136,
262
+ "loss": 0.6636,
263
+ "step": 175
264
+ },
265
+ {
266
+ "epoch": 1.25,
267
+ "grad_norm": 0.585377037525177,
268
+ "learning_rate": 0.0001324607329842932,
269
+ "loss": 0.679,
270
+ "step": 180
271
+ },
272
+ {
273
+ "epoch": 1.2847222222222223,
274
+ "grad_norm": 0.5465496182441711,
275
+ "learning_rate": 0.00012984293193717277,
276
+ "loss": 0.647,
277
+ "step": 185
278
+ },
279
+ {
280
+ "epoch": 1.3194444444444444,
281
+ "grad_norm": 0.5915805697441101,
282
+ "learning_rate": 0.00012722513089005237,
283
+ "loss": 0.6305,
284
+ "step": 190
285
+ },
286
+ {
287
+ "epoch": 1.3541666666666667,
288
+ "grad_norm": 0.5672898888587952,
289
+ "learning_rate": 0.00012460732984293196,
290
+ "loss": 0.6799,
291
+ "step": 195
292
+ },
293
+ {
294
+ "epoch": 1.3888888888888888,
295
+ "grad_norm": 0.735905110836029,
296
+ "learning_rate": 0.00012198952879581151,
297
+ "loss": 0.6022,
298
+ "step": 200
299
+ },
300
+ {
301
+ "epoch": 1.3888888888888888,
302
+ "eval_loss": 0.7630631327629089,
303
+ "eval_runtime": 19.802,
304
+ "eval_samples_per_second": 9.646,
305
+ "eval_steps_per_second": 1.616,
306
+ "step": 200
307
+ },
308
+ {
309
+ "epoch": 1.4236111111111112,
310
+ "grad_norm": 0.6561821699142456,
311
+ "learning_rate": 0.0001193717277486911,
312
+ "loss": 0.6586,
313
+ "step": 205
314
+ },
315
+ {
316
+ "epoch": 1.4583333333333333,
317
+ "grad_norm": 0.5606387853622437,
318
+ "learning_rate": 0.00011675392670157068,
319
+ "loss": 0.5827,
320
+ "step": 210
321
+ },
322
+ {
323
+ "epoch": 1.4930555555555556,
324
+ "grad_norm": 0.7301760315895081,
325
+ "learning_rate": 0.00011413612565445027,
326
+ "loss": 0.6343,
327
+ "step": 215
328
+ },
329
+ {
330
+ "epoch": 1.5277777777777777,
331
+ "grad_norm": 0.6215537190437317,
332
+ "learning_rate": 0.00011151832460732985,
333
+ "loss": 0.6967,
334
+ "step": 220
335
+ },
336
+ {
337
+ "epoch": 1.5625,
338
+ "grad_norm": 0.5844612121582031,
339
+ "learning_rate": 0.00010890052356020943,
340
+ "loss": 0.5831,
341
+ "step": 225
342
+ },
343
+ {
344
+ "epoch": 1.5972222222222223,
345
+ "grad_norm": 0.6531478762626648,
346
+ "learning_rate": 0.00010628272251308901,
347
+ "loss": 0.5586,
348
+ "step": 230
349
+ },
350
+ {
351
+ "epoch": 1.6319444444444444,
352
+ "grad_norm": 0.6617570519447327,
353
+ "learning_rate": 0.0001036649214659686,
354
+ "loss": 0.4622,
355
+ "step": 235
356
+ },
357
+ {
358
+ "epoch": 1.6666666666666665,
359
+ "grad_norm": 0.5876675844192505,
360
+ "learning_rate": 0.00010104712041884816,
361
+ "loss": 0.4863,
362
+ "step": 240
363
+ },
364
+ {
365
+ "epoch": 1.7013888888888888,
366
+ "grad_norm": 0.6678897142410278,
367
+ "learning_rate": 9.842931937172776e-05,
368
+ "loss": 0.4397,
369
+ "step": 245
370
+ },
371
+ {
372
+ "epoch": 1.7361111111111112,
373
+ "grad_norm": 0.6826710104942322,
374
+ "learning_rate": 9.581151832460732e-05,
375
+ "loss": 0.4996,
376
+ "step": 250
377
+ },
378
+ {
379
+ "epoch": 1.7708333333333335,
380
+ "grad_norm": 0.651406466960907,
381
+ "learning_rate": 9.319371727748692e-05,
382
+ "loss": 0.6108,
383
+ "step": 255
384
+ },
385
+ {
386
+ "epoch": 1.8055555555555556,
387
+ "grad_norm": 0.6858854293823242,
388
+ "learning_rate": 9.05759162303665e-05,
389
+ "loss": 0.4929,
390
+ "step": 260
391
+ },
392
+ {
393
+ "epoch": 1.8402777777777777,
394
+ "grad_norm": 0.6023811101913452,
395
+ "learning_rate": 8.795811518324608e-05,
396
+ "loss": 0.4669,
397
+ "step": 265
398
+ },
399
+ {
400
+ "epoch": 1.875,
401
+ "grad_norm": 0.615983784198761,
402
+ "learning_rate": 8.534031413612566e-05,
403
+ "loss": 0.59,
404
+ "step": 270
405
+ },
406
+ {
407
+ "epoch": 1.9097222222222223,
408
+ "grad_norm": 0.7829121351242065,
409
+ "learning_rate": 8.272251308900524e-05,
410
+ "loss": 0.5846,
411
+ "step": 275
412
+ },
413
+ {
414
+ "epoch": 1.9444444444444444,
415
+ "grad_norm": 0.6411824226379395,
416
+ "learning_rate": 8.010471204188482e-05,
417
+ "loss": 0.413,
418
+ "step": 280
419
+ },
420
+ {
421
+ "epoch": 1.9791666666666665,
422
+ "grad_norm": 0.6091701984405518,
423
+ "learning_rate": 7.74869109947644e-05,
424
+ "loss": 0.4117,
425
+ "step": 285
426
+ },
427
+ {
428
+ "epoch": 2.013888888888889,
429
+ "grad_norm": 0.5939719080924988,
430
+ "learning_rate": 7.486910994764398e-05,
431
+ "loss": 0.3464,
432
+ "step": 290
433
+ },
434
+ {
435
+ "epoch": 2.048611111111111,
436
+ "grad_norm": 0.8333393335342407,
437
+ "learning_rate": 7.225130890052356e-05,
438
+ "loss": 0.2968,
439
+ "step": 295
440
+ },
441
+ {
442
+ "epoch": 2.0833333333333335,
443
+ "grad_norm": 0.5424718260765076,
444
+ "learning_rate": 6.963350785340315e-05,
445
+ "loss": 0.2427,
446
+ "step": 300
447
+ },
448
+ {
449
+ "epoch": 2.0833333333333335,
450
+ "eval_loss": 0.5089412927627563,
451
+ "eval_runtime": 19.8357,
452
+ "eval_samples_per_second": 9.629,
453
+ "eval_steps_per_second": 1.613,
454
+ "step": 300
455
+ },
456
+ {
457
+ "epoch": 2.1180555555555554,
458
+ "grad_norm": 0.6733362078666687,
459
+ "learning_rate": 6.701570680628273e-05,
460
+ "loss": 0.2759,
461
+ "step": 305
462
+ },
463
+ {
464
+ "epoch": 2.1527777777777777,
465
+ "grad_norm": 0.63869708776474,
466
+ "learning_rate": 6.439790575916231e-05,
467
+ "loss": 0.2387,
468
+ "step": 310
469
+ },
470
+ {
471
+ "epoch": 2.1875,
472
+ "grad_norm": 0.5781670808792114,
473
+ "learning_rate": 6.178010471204189e-05,
474
+ "loss": 0.2465,
475
+ "step": 315
476
+ },
477
+ {
478
+ "epoch": 2.2222222222222223,
479
+ "grad_norm": 0.6625104546546936,
480
+ "learning_rate": 5.916230366492147e-05,
481
+ "loss": 0.2452,
482
+ "step": 320
483
+ },
484
+ {
485
+ "epoch": 2.2569444444444446,
486
+ "grad_norm": 0.6529480218887329,
487
+ "learning_rate": 5.654450261780106e-05,
488
+ "loss": 0.1973,
489
+ "step": 325
490
+ },
491
+ {
492
+ "epoch": 2.2916666666666665,
493
+ "grad_norm": 0.5636107325553894,
494
+ "learning_rate": 5.3926701570680624e-05,
495
+ "loss": 0.2354,
496
+ "step": 330
497
+ },
498
+ {
499
+ "epoch": 2.326388888888889,
500
+ "grad_norm": 0.4926435649394989,
501
+ "learning_rate": 5.130890052356021e-05,
502
+ "loss": 0.1707,
503
+ "step": 335
504
+ },
505
+ {
506
+ "epoch": 2.361111111111111,
507
+ "grad_norm": 0.6436705589294434,
508
+ "learning_rate": 4.869109947643979e-05,
509
+ "loss": 0.245,
510
+ "step": 340
511
+ },
512
+ {
513
+ "epoch": 2.3958333333333335,
514
+ "grad_norm": 0.6189023852348328,
515
+ "learning_rate": 4.6073298429319374e-05,
516
+ "loss": 0.2417,
517
+ "step": 345
518
+ },
519
+ {
520
+ "epoch": 2.4305555555555554,
521
+ "grad_norm": 0.6670970320701599,
522
+ "learning_rate": 4.3455497382198955e-05,
523
+ "loss": 0.2047,
524
+ "step": 350
525
+ },
526
+ {
527
+ "epoch": 2.4652777777777777,
528
+ "grad_norm": 0.47659561038017273,
529
+ "learning_rate": 4.0837696335078535e-05,
530
+ "loss": 0.1757,
531
+ "step": 355
532
+ },
533
+ {
534
+ "epoch": 2.5,
535
+ "grad_norm": 0.4434764087200165,
536
+ "learning_rate": 3.8219895287958116e-05,
537
+ "loss": 0.1829,
538
+ "step": 360
539
+ },
540
+ {
541
+ "epoch": 2.5347222222222223,
542
+ "grad_norm": 0.5809481143951416,
543
+ "learning_rate": 3.56020942408377e-05,
544
+ "loss": 0.1696,
545
+ "step": 365
546
+ },
547
+ {
548
+ "epoch": 2.5694444444444446,
549
+ "grad_norm": 0.6467562317848206,
550
+ "learning_rate": 3.298429319371728e-05,
551
+ "loss": 0.1939,
552
+ "step": 370
553
+ },
554
+ {
555
+ "epoch": 2.6041666666666665,
556
+ "grad_norm": 0.8204236030578613,
557
+ "learning_rate": 3.036649214659686e-05,
558
+ "loss": 0.2066,
559
+ "step": 375
560
+ },
561
+ {
562
+ "epoch": 2.638888888888889,
563
+ "grad_norm": 0.6346448659896851,
564
+ "learning_rate": 2.7748691099476443e-05,
565
+ "loss": 0.2022,
566
+ "step": 380
567
+ },
568
+ {
569
+ "epoch": 2.673611111111111,
570
+ "grad_norm": 0.5839046835899353,
571
+ "learning_rate": 2.513089005235602e-05,
572
+ "loss": 0.2746,
573
+ "step": 385
574
+ },
575
+ {
576
+ "epoch": 2.7083333333333335,
577
+ "grad_norm": 0.7604065537452698,
578
+ "learning_rate": 2.25130890052356e-05,
579
+ "loss": 0.206,
580
+ "step": 390
581
+ },
582
+ {
583
+ "epoch": 2.7430555555555554,
584
+ "grad_norm": 0.5631184577941895,
585
+ "learning_rate": 1.9895287958115183e-05,
586
+ "loss": 0.188,
587
+ "step": 395
588
+ },
589
+ {
590
+ "epoch": 2.7777777777777777,
591
+ "grad_norm": 0.5149999260902405,
592
+ "learning_rate": 1.7277486910994763e-05,
593
+ "loss": 0.1844,
594
+ "step": 400
595
+ },
596
+ {
597
+ "epoch": 2.7777777777777777,
598
+ "eval_loss": 0.34772011637687683,
599
+ "eval_runtime": 19.7739,
600
+ "eval_samples_per_second": 9.659,
601
+ "eval_steps_per_second": 1.618,
602
+ "step": 400
603
+ },
604
+ {
605
+ "epoch": 2.8125,
606
+ "grad_norm": 0.4288661479949951,
607
+ "learning_rate": 1.4659685863874344e-05,
608
+ "loss": 0.1466,
609
+ "step": 405
610
+ },
611
+ {
612
+ "epoch": 2.8472222222222223,
613
+ "grad_norm": 0.9217889904975891,
614
+ "learning_rate": 1.2041884816753927e-05,
615
+ "loss": 0.2501,
616
+ "step": 410
617
+ },
618
+ {
619
+ "epoch": 2.8819444444444446,
620
+ "grad_norm": 0.3813759386539459,
621
+ "learning_rate": 9.424083769633508e-06,
622
+ "loss": 0.1776,
623
+ "step": 415
624
+ },
625
+ {
626
+ "epoch": 2.9166666666666665,
627
+ "grad_norm": 0.5499436259269714,
628
+ "learning_rate": 6.8062827225130895e-06,
629
+ "loss": 0.2024,
630
+ "step": 420
631
+ },
632
+ {
633
+ "epoch": 2.951388888888889,
634
+ "grad_norm": 0.5759040117263794,
635
+ "learning_rate": 4.18848167539267e-06,
636
+ "loss": 0.2137,
637
+ "step": 425
638
+ },
639
+ {
640
+ "epoch": 2.986111111111111,
641
+ "grad_norm": 0.4961249530315399,
642
+ "learning_rate": 1.5706806282722513e-06,
643
+ "loss": 0.155,
644
+ "step": 430
645
+ }
646
+ ],
647
+ "logging_steps": 5,
648
+ "max_steps": 432,
649
+ "num_input_tokens_seen": 0,
650
+ "num_train_epochs": 3,
651
+ "save_steps": 100,
652
+ "stateful_callbacks": {
653
+ "TrainerControl": {
654
+ "args": {
655
+ "should_epoch_stop": false,
656
+ "should_evaluate": false,
657
+ "should_log": false,
658
+ "should_save": true,
659
+ "should_training_stop": true
660
+ },
661
+ "attributes": {}
662
+ }
663
+ },
664
+ "total_flos": 1.0637465391149875e+17,
665
+ "train_batch_size": 6,
666
+ "trial_name": null,
667
+ "trial_params": null
668
+ }
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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
73
+ "fill_token": "<FILL_ME>",
74
+ "legacy": null,
75
+ "middle_token": "▁<MID>",
76
+ "model_max_length": 1000000000000000019884624838656,
77
+ "pad_token": "</s>",
78
+ "prefix_token": "▁<PRE>",
79
+ "sp_model_kwargs": {},
80
+ "suffix_token": "▁<SUF>",
81
+ "tokenizer_class": "CodeLlamaTokenizer",
82
+ "unk_token": "<unk>",
83
+ "use_default_system_prompt": false
84
+ }