Upload 13 files
Browse files- README.md +202 -0
- adapter_config.json +40 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +6 -0
- config.json +31 -0
- rng_state_0.pth +3 -0
- rng_state_1.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +30 -0
- tokenizer.model +3 -0
- tokenizer_config.json +85 -0
- trainer_state.json +348 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: meta-llama/CodeLlama-7b-Python-hf
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- 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. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
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).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.14.0
|
adapter_config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "meta-llama/CodeLlama-7b-Python-hf",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": null,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": true,
|
11 |
+
"layer_replication": null,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 16,
|
16 |
+
"lora_bias": false,
|
17 |
+
"lora_dropout": 0.05,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": [
|
21 |
+
"embed_tokens",
|
22 |
+
"lm_head"
|
23 |
+
],
|
24 |
+
"peft_type": "LORA",
|
25 |
+
"r": 4,
|
26 |
+
"rank_pattern": {},
|
27 |
+
"revision": null,
|
28 |
+
"target_modules": [
|
29 |
+
"gate_proj",
|
30 |
+
"q_proj",
|
31 |
+
"k_proj",
|
32 |
+
"v_proj",
|
33 |
+
"up_proj",
|
34 |
+
"down_proj",
|
35 |
+
"o_proj"
|
36 |
+
],
|
37 |
+
"task_type": "CAUSAL_LM",
|
38 |
+
"use_dora": false,
|
39 |
+
"use_rslora": false
|
40 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:486fcbf3b426d5ee9ac6c41ac7ade390b29fcd8f07c306b57eb6306f15fd181d
|
3 |
+
size 1613097400
|
added_tokens.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"▁<EOT>": 32003,
|
3 |
+
"▁<MID>": 32001,
|
4 |
+
"▁<PRE>": 32000,
|
5 |
+
"▁<SUF>": 32002
|
6 |
+
}
|
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "meta-llama/CodeLlama-7b-Python-hf",
|
4 |
+
"architectures": [
|
5 |
+
"LlamaForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_bias": false,
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"head_dim": 128,
|
12 |
+
"hidden_act": "silu",
|
13 |
+
"hidden_size": 4096,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 11008,
|
16 |
+
"max_position_embeddings": 16384,
|
17 |
+
"mlp_bias": false,
|
18 |
+
"model_type": "llama",
|
19 |
+
"num_attention_heads": 32,
|
20 |
+
"num_hidden_layers": 32,
|
21 |
+
"num_key_value_heads": 32,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"rms_norm_eps": 1e-05,
|
24 |
+
"rope_scaling": null,
|
25 |
+
"rope_theta": 1000000,
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"torch_dtype": "bfloat16",
|
28 |
+
"transformers_version": "4.46.3",
|
29 |
+
"use_cache": false,
|
30 |
+
"vocab_size": 32004
|
31 |
+
}
|
rng_state_0.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7abc80b5158a158fc31f9d86205a0dc761d91b2d75d14f32b878fe276d25501f
|
3 |
+
size 14512
|
rng_state_1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5081c765adc6753c1a69d7a40909486f3d5156b6ce4ffb97fb9c7462e71b46ee
|
3 |
+
size 14512
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15f75fa32eb37691ee883e0f7a53e17fb46a104b78361efb13fff3b10084d376
|
3 |
+
size 1064
|
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.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"32000": {
|
30 |
+
"content": "▁<PRE>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "▁<MID>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32002": {
|
46 |
+
"content": "▁<SUF>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"32003": {
|
54 |
+
"content": "▁<EOT>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
}
|
61 |
+
},
|
62 |
+
"additional_special_tokens": [
|
63 |
+
"▁<PRE>",
|
64 |
+
"▁<MID>",
|
65 |
+
"▁<SUF>",
|
66 |
+
"▁<EOT>"
|
67 |
+
],
|
68 |
+
"bos_token": "<s>",
|
69 |
+
"clean_up_tokenization_spaces": false,
|
70 |
+
"eos_token": "</s>",
|
71 |
+
"eot_token": "▁<EOT>",
|
72 |
+
"fill_token": "<FILL_ME>",
|
73 |
+
"legacy": null,
|
74 |
+
"middle_token": "▁<MID>",
|
75 |
+
"model_max_length": 1000000000000000019884624838656,
|
76 |
+
"pad_token": "</s>",
|
77 |
+
"prefix_token": "▁<PRE>",
|
78 |
+
"sp_model_kwargs": {},
|
79 |
+
"suffix_first": false,
|
80 |
+
"suffix_token": "▁<SUF>",
|
81 |
+
"tokenizer_class": "CodeLlamaTokenizer",
|
82 |
+
"unk_token": "<unk>",
|
83 |
+
"use_default_system_prompt": false,
|
84 |
+
"use_fast": true
|
85 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,348 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 4.864864864864865,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 45,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.10810810810810811,
|
13 |
+
"grad_norm": 12.665340423583984,
|
14 |
+
"learning_rate": 2e-05,
|
15 |
+
"loss": 1.7136,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.21621621621621623,
|
20 |
+
"grad_norm": 16.679874420166016,
|
21 |
+
"learning_rate": 4e-05,
|
22 |
+
"loss": 1.8963,
|
23 |
+
"step": 2
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.32432432432432434,
|
27 |
+
"grad_norm": 20.59364891052246,
|
28 |
+
"learning_rate": 6e-05,
|
29 |
+
"loss": 1.9249,
|
30 |
+
"step": 3
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.43243243243243246,
|
34 |
+
"grad_norm": 14.520182609558105,
|
35 |
+
"learning_rate": 8e-05,
|
36 |
+
"loss": 1.9998,
|
37 |
+
"step": 4
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.5405405405405406,
|
41 |
+
"grad_norm": 12.898869514465332,
|
42 |
+
"learning_rate": 0.0001,
|
43 |
+
"loss": 1.7198,
|
44 |
+
"step": 5
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.6486486486486487,
|
48 |
+
"grad_norm": 8.388209342956543,
|
49 |
+
"learning_rate": 0.00012,
|
50 |
+
"loss": 1.4897,
|
51 |
+
"step": 6
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.7567567567567568,
|
55 |
+
"grad_norm": 11.714303016662598,
|
56 |
+
"learning_rate": 0.00014,
|
57 |
+
"loss": 1.496,
|
58 |
+
"step": 7
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.8648648648648649,
|
62 |
+
"grad_norm": 9.486503601074219,
|
63 |
+
"learning_rate": 0.00016,
|
64 |
+
"loss": 1.2274,
|
65 |
+
"step": 8
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.972972972972973,
|
69 |
+
"grad_norm": 5.287358283996582,
|
70 |
+
"learning_rate": 0.00018,
|
71 |
+
"loss": 0.9407,
|
72 |
+
"step": 9
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 1.0810810810810811,
|
76 |
+
"grad_norm": 8.37257194519043,
|
77 |
+
"learning_rate": 0.0002,
|
78 |
+
"loss": 1.345,
|
79 |
+
"step": 10
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 1.1891891891891893,
|
83 |
+
"grad_norm": 4.060468673706055,
|
84 |
+
"learning_rate": 0.0001999229036240723,
|
85 |
+
"loss": 0.4743,
|
86 |
+
"step": 11
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.2972972972972974,
|
90 |
+
"grad_norm": 5.808952808380127,
|
91 |
+
"learning_rate": 0.0001996917333733128,
|
92 |
+
"loss": 0.3448,
|
93 |
+
"step": 12
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 1.4054054054054055,
|
97 |
+
"grad_norm": 3.857832193374634,
|
98 |
+
"learning_rate": 0.00019930684569549264,
|
99 |
+
"loss": 0.2794,
|
100 |
+
"step": 13
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 1.5135135135135136,
|
104 |
+
"grad_norm": 17.618928909301758,
|
105 |
+
"learning_rate": 0.00019876883405951377,
|
106 |
+
"loss": 0.2564,
|
107 |
+
"step": 14
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 1.6216216216216215,
|
111 |
+
"grad_norm": 3.731938362121582,
|
112 |
+
"learning_rate": 0.00019807852804032305,
|
113 |
+
"loss": 0.127,
|
114 |
+
"step": 15
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 1.7297297297297298,
|
118 |
+
"grad_norm": 10.822015762329102,
|
119 |
+
"learning_rate": 0.00019723699203976766,
|
120 |
+
"loss": 0.1671,
|
121 |
+
"step": 16
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 1.8378378378378377,
|
125 |
+
"grad_norm": 6.625267028808594,
|
126 |
+
"learning_rate": 0.00019624552364536473,
|
127 |
+
"loss": 0.165,
|
128 |
+
"step": 17
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 1.945945945945946,
|
132 |
+
"grad_norm": 3.4650943279266357,
|
133 |
+
"learning_rate": 0.00019510565162951537,
|
134 |
+
"loss": 0.1427,
|
135 |
+
"step": 18
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 2.054054054054054,
|
139 |
+
"grad_norm": 2.571530818939209,
|
140 |
+
"learning_rate": 0.00019381913359224842,
|
141 |
+
"loss": 0.2318,
|
142 |
+
"step": 19
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 2.1621621621621623,
|
146 |
+
"grad_norm": 1.4535036087036133,
|
147 |
+
"learning_rate": 0.0001923879532511287,
|
148 |
+
"loss": 0.0737,
|
149 |
+
"step": 20
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 2.27027027027027,
|
153 |
+
"grad_norm": 3.276848077774048,
|
154 |
+
"learning_rate": 0.00019081431738250814,
|
155 |
+
"loss": 0.1144,
|
156 |
+
"step": 21
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 2.3783783783783785,
|
160 |
+
"grad_norm": 1.9437713623046875,
|
161 |
+
"learning_rate": 0.0001891006524188368,
|
162 |
+
"loss": 0.1057,
|
163 |
+
"step": 22
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 2.4864864864864864,
|
167 |
+
"grad_norm": 0.7327317595481873,
|
168 |
+
"learning_rate": 0.00018724960070727972,
|
169 |
+
"loss": 0.0499,
|
170 |
+
"step": 23
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 2.5945945945945947,
|
174 |
+
"grad_norm": 0.6805225610733032,
|
175 |
+
"learning_rate": 0.00018526401643540922,
|
176 |
+
"loss": 0.0393,
|
177 |
+
"step": 24
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 2.7027027027027026,
|
181 |
+
"grad_norm": 1.9485719203948975,
|
182 |
+
"learning_rate": 0.00018314696123025454,
|
183 |
+
"loss": 0.1071,
|
184 |
+
"step": 25
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 2.810810810810811,
|
188 |
+
"grad_norm": 1.6188167333602905,
|
189 |
+
"learning_rate": 0.00018090169943749476,
|
190 |
+
"loss": 0.076,
|
191 |
+
"step": 26
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 2.918918918918919,
|
195 |
+
"grad_norm": 0.5011986494064331,
|
196 |
+
"learning_rate": 0.00017853169308807448,
|
197 |
+
"loss": 0.0431,
|
198 |
+
"step": 27
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 3.027027027027027,
|
202 |
+
"grad_norm": 3.750688314437866,
|
203 |
+
"learning_rate": 0.0001760405965600031,
|
204 |
+
"loss": 0.151,
|
205 |
+
"step": 28
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 3.135135135135135,
|
209 |
+
"grad_norm": 1.4113177061080933,
|
210 |
+
"learning_rate": 0.00017343225094356855,
|
211 |
+
"loss": 0.0692,
|
212 |
+
"step": 29
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 3.2432432432432434,
|
216 |
+
"grad_norm": 1.220698595046997,
|
217 |
+
"learning_rate": 0.00017071067811865476,
|
218 |
+
"loss": 0.0671,
|
219 |
+
"step": 30
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 3.3513513513513513,
|
223 |
+
"grad_norm": 0.5514506101608276,
|
224 |
+
"learning_rate": 0.0001678800745532942,
|
225 |
+
"loss": 0.0592,
|
226 |
+
"step": 31
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 3.4594594594594597,
|
230 |
+
"grad_norm": 1.1301401853561401,
|
231 |
+
"learning_rate": 0.00016494480483301836,
|
232 |
+
"loss": 0.0709,
|
233 |
+
"step": 32
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 3.5675675675675675,
|
237 |
+
"grad_norm": 2.738895893096924,
|
238 |
+
"learning_rate": 0.00016190939493098344,
|
239 |
+
"loss": 0.0752,
|
240 |
+
"step": 33
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 3.6756756756756754,
|
244 |
+
"grad_norm": 1.05312180519104,
|
245 |
+
"learning_rate": 0.00015877852522924732,
|
246 |
+
"loss": 0.044,
|
247 |
+
"step": 34
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 3.7837837837837838,
|
251 |
+
"grad_norm": 0.8468568325042725,
|
252 |
+
"learning_rate": 0.00015555702330196023,
|
253 |
+
"loss": 0.053,
|
254 |
+
"step": 35
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 3.891891891891892,
|
258 |
+
"grad_norm": 0.8362758159637451,
|
259 |
+
"learning_rate": 0.0001522498564715949,
|
260 |
+
"loss": 0.0694,
|
261 |
+
"step": 36
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 4.0,
|
265 |
+
"grad_norm": 0.9148968458175659,
|
266 |
+
"learning_rate": 0.00014886212414969553,
|
267 |
+
"loss": 0.0675,
|
268 |
+
"step": 37
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 4.108108108108108,
|
272 |
+
"grad_norm": 0.5609957575798035,
|
273 |
+
"learning_rate": 0.00014539904997395468,
|
274 |
+
"loss": 0.0585,
|
275 |
+
"step": 38
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 4.216216216216216,
|
279 |
+
"grad_norm": 0.7747177481651306,
|
280 |
+
"learning_rate": 0.0001418659737537428,
|
281 |
+
"loss": 0.0389,
|
282 |
+
"step": 39
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 4.324324324324325,
|
286 |
+
"grad_norm": 0.40356096625328064,
|
287 |
+
"learning_rate": 0.000138268343236509,
|
288 |
+
"loss": 0.0367,
|
289 |
+
"step": 40
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 4.4324324324324325,
|
293 |
+
"grad_norm": 0.8019518256187439,
|
294 |
+
"learning_rate": 0.0001346117057077493,
|
295 |
+
"loss": 0.048,
|
296 |
+
"step": 41
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 4.54054054054054,
|
300 |
+
"grad_norm": 0.746637761592865,
|
301 |
+
"learning_rate": 0.00013090169943749476,
|
302 |
+
"loss": 0.0484,
|
303 |
+
"step": 42
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 4.648648648648649,
|
307 |
+
"grad_norm": 0.9343522191047668,
|
308 |
+
"learning_rate": 0.00012714404498650743,
|
309 |
+
"loss": 0.0457,
|
310 |
+
"step": 43
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 4.756756756756757,
|
314 |
+
"grad_norm": 0.5715629458427429,
|
315 |
+
"learning_rate": 0.00012334453638559057,
|
316 |
+
"loss": 0.04,
|
317 |
+
"step": 44
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 4.864864864864865,
|
321 |
+
"grad_norm": 0.2774278223514557,
|
322 |
+
"learning_rate": 0.00011950903220161285,
|
323 |
+
"loss": 0.0369,
|
324 |
+
"step": 45
|
325 |
+
}
|
326 |
+
],
|
327 |
+
"logging_steps": 1,
|
328 |
+
"max_steps": 90,
|
329 |
+
"num_input_tokens_seen": 0,
|
330 |
+
"num_train_epochs": 10,
|
331 |
+
"save_steps": 9,
|
332 |
+
"stateful_callbacks": {
|
333 |
+
"TrainerControl": {
|
334 |
+
"args": {
|
335 |
+
"should_epoch_stop": false,
|
336 |
+
"should_evaluate": false,
|
337 |
+
"should_log": false,
|
338 |
+
"should_save": true,
|
339 |
+
"should_training_stop": false
|
340 |
+
},
|
341 |
+
"attributes": {}
|
342 |
+
}
|
343 |
+
},
|
344 |
+
"total_flos": 5.970590133387264e+16,
|
345 |
+
"train_batch_size": 1,
|
346 |
+
"trial_name": null,
|
347 |
+
"trial_params": null
|
348 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:54785fd675d3f19335155aefee08caa4a6bc78d888d8961ec707bef757806884
|
3 |
+
size 6328
|