Upload 8 files
Browse files- README.md +202 -0
- adapter_config.json +37 -0
- adapter_model.safetensors +3 -0
- special_tokens_map.json +40 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +89 -0
- trainer_state.json +523 -0
README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: unsloth/codellama-7b-bnb-4bit
|
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,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "unsloth/codellama-7b-bnb-4bit",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": false,
|
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,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 16,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"gate_proj",
|
27 |
+
"q_proj",
|
28 |
+
"up_proj",
|
29 |
+
"k_proj",
|
30 |
+
"o_proj",
|
31 |
+
"v_proj",
|
32 |
+
"down_proj"
|
33 |
+
],
|
34 |
+
"task_type": "CAUSAL_LM",
|
35 |
+
"use_dora": false,
|
36 |
+
"use_rslora": false
|
37 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9af439edfd7e1e155a550f3fcb18d7786a35b7ac6701f97e945ae0a09ec0d84
|
3 |
+
size 159967880
|
special_tokens_map.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"▁<PRE>",
|
4 |
+
"▁<MID>",
|
5 |
+
"▁<SUF>",
|
6 |
+
"▁<EOT>",
|
7 |
+
"▁<PRE>",
|
8 |
+
"▁<MID>",
|
9 |
+
"▁<SUF>",
|
10 |
+
"▁<EOT>"
|
11 |
+
],
|
12 |
+
"bos_token": {
|
13 |
+
"content": "<s>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false
|
18 |
+
},
|
19 |
+
"eos_token": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false
|
25 |
+
},
|
26 |
+
"pad_token": {
|
27 |
+
"content": "<unk>",
|
28 |
+
"lstrip": false,
|
29 |
+
"normalized": false,
|
30 |
+
"rstrip": false,
|
31 |
+
"single_word": false
|
32 |
+
},
|
33 |
+
"unk_token": {
|
34 |
+
"content": "<unk>",
|
35 |
+
"lstrip": false,
|
36 |
+
"normalized": false,
|
37 |
+
"rstrip": false,
|
38 |
+
"single_word": false
|
39 |
+
}
|
40 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45ccb9c8b6b561889acea59191d66986d314e7cbd6a78abc6e49b139ca91c1e6
|
3 |
+
size 500058
|
tokenizer_config.json
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"▁<PRE>",
|
68 |
+
"▁<MID>",
|
69 |
+
"▁<SUF>",
|
70 |
+
"▁<EOT>"
|
71 |
+
],
|
72 |
+
"bos_token": "<s>",
|
73 |
+
"clean_up_tokenization_spaces": false,
|
74 |
+
"eos_token": "</s>",
|
75 |
+
"eot_token": "▁<EOT>",
|
76 |
+
"extra_special_tokens": {},
|
77 |
+
"fill_token": "<FILL_ME>",
|
78 |
+
"legacy": null,
|
79 |
+
"middle_token": "▁<MID>",
|
80 |
+
"model_max_length": 16384,
|
81 |
+
"pad_token": "<unk>",
|
82 |
+
"padding_side": "right",
|
83 |
+
"prefix_token": "▁<PRE>",
|
84 |
+
"sp_model_kwargs": {},
|
85 |
+
"suffix_token": "▁<SUF>",
|
86 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 5.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 700,
|
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.07142857142857142,
|
13 |
+
"grad_norm": 0.1373787671327591,
|
14 |
+
"learning_rate": 9.928057553956835e-05,
|
15 |
+
"loss": 1.0964,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.14285714285714285,
|
20 |
+
"grad_norm": 0.23093585669994354,
|
21 |
+
"learning_rate": 9.784172661870504e-05,
|
22 |
+
"loss": 0.864,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.21428571428571427,
|
27 |
+
"grad_norm": 0.1213061660528183,
|
28 |
+
"learning_rate": 9.640287769784174e-05,
|
29 |
+
"loss": 0.5938,
|
30 |
+
"step": 30
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.2857142857142857,
|
34 |
+
"grad_norm": 0.0565805584192276,
|
35 |
+
"learning_rate": 9.496402877697842e-05,
|
36 |
+
"loss": 0.5041,
|
37 |
+
"step": 40
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.35714285714285715,
|
41 |
+
"grad_norm": 0.057311397045850754,
|
42 |
+
"learning_rate": 9.35251798561151e-05,
|
43 |
+
"loss": 0.443,
|
44 |
+
"step": 50
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.42857142857142855,
|
48 |
+
"grad_norm": 0.06346569955348969,
|
49 |
+
"learning_rate": 9.20863309352518e-05,
|
50 |
+
"loss": 0.533,
|
51 |
+
"step": 60
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.5,
|
55 |
+
"grad_norm": 0.04802313446998596,
|
56 |
+
"learning_rate": 9.06474820143885e-05,
|
57 |
+
"loss": 0.4617,
|
58 |
+
"step": 70
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.5714285714285714,
|
62 |
+
"grad_norm": 0.05171512812376022,
|
63 |
+
"learning_rate": 8.920863309352519e-05,
|
64 |
+
"loss": 0.4229,
|
65 |
+
"step": 80
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.6428571428571429,
|
69 |
+
"grad_norm": 0.06379946321249008,
|
70 |
+
"learning_rate": 8.776978417266187e-05,
|
71 |
+
"loss": 0.4794,
|
72 |
+
"step": 90
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.7142857142857143,
|
76 |
+
"grad_norm": 0.06747135519981384,
|
77 |
+
"learning_rate": 8.633093525179857e-05,
|
78 |
+
"loss": 0.4607,
|
79 |
+
"step": 100
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.7857142857142857,
|
83 |
+
"grad_norm": 0.05382410064339638,
|
84 |
+
"learning_rate": 8.489208633093527e-05,
|
85 |
+
"loss": 0.4922,
|
86 |
+
"step": 110
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.8571428571428571,
|
90 |
+
"grad_norm": 0.05737805739045143,
|
91 |
+
"learning_rate": 8.345323741007195e-05,
|
92 |
+
"loss": 0.5137,
|
93 |
+
"step": 120
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.9285714285714286,
|
97 |
+
"grad_norm": 0.05210845544934273,
|
98 |
+
"learning_rate": 8.201438848920863e-05,
|
99 |
+
"loss": 0.4611,
|
100 |
+
"step": 130
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 1.0,
|
104 |
+
"grad_norm": 0.059042274951934814,
|
105 |
+
"learning_rate": 8.057553956834533e-05,
|
106 |
+
"loss": 0.457,
|
107 |
+
"step": 140
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 1.0714285714285714,
|
111 |
+
"grad_norm": 0.05036056786775589,
|
112 |
+
"learning_rate": 7.913669064748202e-05,
|
113 |
+
"loss": 0.4712,
|
114 |
+
"step": 150
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 1.1428571428571428,
|
118 |
+
"grad_norm": 0.06213638186454773,
|
119 |
+
"learning_rate": 7.769784172661872e-05,
|
120 |
+
"loss": 0.4253,
|
121 |
+
"step": 160
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 1.2142857142857142,
|
125 |
+
"grad_norm": 0.08077629655599594,
|
126 |
+
"learning_rate": 7.62589928057554e-05,
|
127 |
+
"loss": 0.4652,
|
128 |
+
"step": 170
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 1.2857142857142856,
|
132 |
+
"grad_norm": 0.067039355635643,
|
133 |
+
"learning_rate": 7.48201438848921e-05,
|
134 |
+
"loss": 0.4623,
|
135 |
+
"step": 180
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 1.3571428571428572,
|
139 |
+
"grad_norm": 0.06331554055213928,
|
140 |
+
"learning_rate": 7.338129496402878e-05,
|
141 |
+
"loss": 0.4991,
|
142 |
+
"step": 190
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 1.4285714285714286,
|
146 |
+
"grad_norm": 0.07635468244552612,
|
147 |
+
"learning_rate": 7.194244604316547e-05,
|
148 |
+
"loss": 0.4185,
|
149 |
+
"step": 200
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.5,
|
153 |
+
"grad_norm": 0.07588763535022736,
|
154 |
+
"learning_rate": 7.050359712230215e-05,
|
155 |
+
"loss": 0.4232,
|
156 |
+
"step": 210
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 1.5714285714285714,
|
160 |
+
"grad_norm": 0.06745592504739761,
|
161 |
+
"learning_rate": 6.906474820143886e-05,
|
162 |
+
"loss": 0.4254,
|
163 |
+
"step": 220
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 1.6428571428571428,
|
167 |
+
"grad_norm": 0.07882258296012878,
|
168 |
+
"learning_rate": 6.762589928057555e-05,
|
169 |
+
"loss": 0.4437,
|
170 |
+
"step": 230
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 1.7142857142857144,
|
174 |
+
"grad_norm": 0.07268062978982925,
|
175 |
+
"learning_rate": 6.618705035971223e-05,
|
176 |
+
"loss": 0.4725,
|
177 |
+
"step": 240
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 1.7857142857142856,
|
181 |
+
"grad_norm": 0.07357478886842728,
|
182 |
+
"learning_rate": 6.474820143884892e-05,
|
183 |
+
"loss": 0.4185,
|
184 |
+
"step": 250
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 1.8571428571428572,
|
188 |
+
"grad_norm": 0.07707969099283218,
|
189 |
+
"learning_rate": 6.330935251798561e-05,
|
190 |
+
"loss": 0.4349,
|
191 |
+
"step": 260
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 1.9285714285714286,
|
195 |
+
"grad_norm": 0.07666852325201035,
|
196 |
+
"learning_rate": 6.187050359712231e-05,
|
197 |
+
"loss": 0.5036,
|
198 |
+
"step": 270
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 2.0,
|
202 |
+
"grad_norm": 0.07082293182611465,
|
203 |
+
"learning_rate": 6.0431654676258996e-05,
|
204 |
+
"loss": 0.4336,
|
205 |
+
"step": 280
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 2.0714285714285716,
|
209 |
+
"grad_norm": 0.07426683604717255,
|
210 |
+
"learning_rate": 5.899280575539569e-05,
|
211 |
+
"loss": 0.431,
|
212 |
+
"step": 290
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 2.142857142857143,
|
216 |
+
"grad_norm": 0.06738661974668503,
|
217 |
+
"learning_rate": 5.755395683453237e-05,
|
218 |
+
"loss": 0.416,
|
219 |
+
"step": 300
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 2.2142857142857144,
|
223 |
+
"grad_norm": 0.07940518110990524,
|
224 |
+
"learning_rate": 5.611510791366906e-05,
|
225 |
+
"loss": 0.4314,
|
226 |
+
"step": 310
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 2.2857142857142856,
|
230 |
+
"grad_norm": 0.08810248970985413,
|
231 |
+
"learning_rate": 5.467625899280576e-05,
|
232 |
+
"loss": 0.4893,
|
233 |
+
"step": 320
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 2.357142857142857,
|
237 |
+
"grad_norm": 0.08641257137060165,
|
238 |
+
"learning_rate": 5.323741007194245e-05,
|
239 |
+
"loss": 0.3923,
|
240 |
+
"step": 330
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 2.4285714285714284,
|
244 |
+
"grad_norm": 0.09313848614692688,
|
245 |
+
"learning_rate": 5.179856115107914e-05,
|
246 |
+
"loss": 0.4295,
|
247 |
+
"step": 340
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 2.5,
|
251 |
+
"grad_norm": 0.08842173963785172,
|
252 |
+
"learning_rate": 5.035971223021583e-05,
|
253 |
+
"loss": 0.4141,
|
254 |
+
"step": 350
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 2.571428571428571,
|
258 |
+
"grad_norm": 0.08694295585155487,
|
259 |
+
"learning_rate": 4.892086330935252e-05,
|
260 |
+
"loss": 0.4253,
|
261 |
+
"step": 360
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 2.642857142857143,
|
265 |
+
"grad_norm": 0.09336841106414795,
|
266 |
+
"learning_rate": 4.748201438848921e-05,
|
267 |
+
"loss": 0.4374,
|
268 |
+
"step": 370
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 2.7142857142857144,
|
272 |
+
"grad_norm": 0.08530748635530472,
|
273 |
+
"learning_rate": 4.60431654676259e-05,
|
274 |
+
"loss": 0.4324,
|
275 |
+
"step": 380
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 2.7857142857142856,
|
279 |
+
"grad_norm": 0.08860356360673904,
|
280 |
+
"learning_rate": 4.460431654676259e-05,
|
281 |
+
"loss": 0.421,
|
282 |
+
"step": 390
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 2.857142857142857,
|
286 |
+
"grad_norm": 0.10588660836219788,
|
287 |
+
"learning_rate": 4.3165467625899284e-05,
|
288 |
+
"loss": 0.4553,
|
289 |
+
"step": 400
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 2.928571428571429,
|
293 |
+
"grad_norm": 0.10128331184387207,
|
294 |
+
"learning_rate": 4.1726618705035975e-05,
|
295 |
+
"loss": 0.4084,
|
296 |
+
"step": 410
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 3.0,
|
300 |
+
"grad_norm": 0.1228618174791336,
|
301 |
+
"learning_rate": 4.0287769784172666e-05,
|
302 |
+
"loss": 0.4199,
|
303 |
+
"step": 420
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 3.0714285714285716,
|
307 |
+
"grad_norm": 0.10508912056684494,
|
308 |
+
"learning_rate": 3.884892086330936e-05,
|
309 |
+
"loss": 0.3835,
|
310 |
+
"step": 430
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 3.142857142857143,
|
314 |
+
"grad_norm": 0.09007140249013901,
|
315 |
+
"learning_rate": 3.741007194244605e-05,
|
316 |
+
"loss": 0.4385,
|
317 |
+
"step": 440
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 3.2142857142857144,
|
321 |
+
"grad_norm": 0.09553549438714981,
|
322 |
+
"learning_rate": 3.597122302158273e-05,
|
323 |
+
"loss": 0.4194,
|
324 |
+
"step": 450
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 3.2857142857142856,
|
328 |
+
"grad_norm": 0.11486919969320297,
|
329 |
+
"learning_rate": 3.453237410071943e-05,
|
330 |
+
"loss": 0.4205,
|
331 |
+
"step": 460
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 3.357142857142857,
|
335 |
+
"grad_norm": 0.12448228150606155,
|
336 |
+
"learning_rate": 3.3093525179856116e-05,
|
337 |
+
"loss": 0.408,
|
338 |
+
"step": 470
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 3.4285714285714284,
|
342 |
+
"grad_norm": 0.10864632576704025,
|
343 |
+
"learning_rate": 3.165467625899281e-05,
|
344 |
+
"loss": 0.4175,
|
345 |
+
"step": 480
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 3.5,
|
349 |
+
"grad_norm": 0.11113475263118744,
|
350 |
+
"learning_rate": 3.0215827338129498e-05,
|
351 |
+
"loss": 0.3946,
|
352 |
+
"step": 490
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 3.571428571428571,
|
356 |
+
"grad_norm": 0.11032601445913315,
|
357 |
+
"learning_rate": 2.8776978417266186e-05,
|
358 |
+
"loss": 0.4134,
|
359 |
+
"step": 500
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 3.642857142857143,
|
363 |
+
"grad_norm": 0.11257655918598175,
|
364 |
+
"learning_rate": 2.733812949640288e-05,
|
365 |
+
"loss": 0.3905,
|
366 |
+
"step": 510
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 3.7142857142857144,
|
370 |
+
"grad_norm": 0.12174879759550095,
|
371 |
+
"learning_rate": 2.589928057553957e-05,
|
372 |
+
"loss": 0.4063,
|
373 |
+
"step": 520
|
374 |
+
},
|
375 |
+
{
|
376 |
+
"epoch": 3.7857142857142856,
|
377 |
+
"grad_norm": 0.12508544325828552,
|
378 |
+
"learning_rate": 2.446043165467626e-05,
|
379 |
+
"loss": 0.4375,
|
380 |
+
"step": 530
|
381 |
+
},
|
382 |
+
{
|
383 |
+
"epoch": 3.857142857142857,
|
384 |
+
"grad_norm": 0.1218411847949028,
|
385 |
+
"learning_rate": 2.302158273381295e-05,
|
386 |
+
"loss": 0.3975,
|
387 |
+
"step": 540
|
388 |
+
},
|
389 |
+
{
|
390 |
+
"epoch": 3.928571428571429,
|
391 |
+
"grad_norm": 0.12357600778341293,
|
392 |
+
"learning_rate": 2.1582733812949642e-05,
|
393 |
+
"loss": 0.4305,
|
394 |
+
"step": 550
|
395 |
+
},
|
396 |
+
{
|
397 |
+
"epoch": 4.0,
|
398 |
+
"grad_norm": 0.10841184109449387,
|
399 |
+
"learning_rate": 2.0143884892086333e-05,
|
400 |
+
"loss": 0.4134,
|
401 |
+
"step": 560
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"epoch": 4.071428571428571,
|
405 |
+
"grad_norm": 0.12538909912109375,
|
406 |
+
"learning_rate": 1.8705035971223024e-05,
|
407 |
+
"loss": 0.399,
|
408 |
+
"step": 570
|
409 |
+
},
|
410 |
+
{
|
411 |
+
"epoch": 4.142857142857143,
|
412 |
+
"grad_norm": 0.15004506707191467,
|
413 |
+
"learning_rate": 1.7266187050359716e-05,
|
414 |
+
"loss": 0.394,
|
415 |
+
"step": 580
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"epoch": 4.214285714285714,
|
419 |
+
"grad_norm": 0.1259927898645401,
|
420 |
+
"learning_rate": 1.5827338129496403e-05,
|
421 |
+
"loss": 0.4336,
|
422 |
+
"step": 590
|
423 |
+
},
|
424 |
+
{
|
425 |
+
"epoch": 4.285714285714286,
|
426 |
+
"grad_norm": 0.13113726675510406,
|
427 |
+
"learning_rate": 1.4388489208633093e-05,
|
428 |
+
"loss": 0.4203,
|
429 |
+
"step": 600
|
430 |
+
},
|
431 |
+
{
|
432 |
+
"epoch": 4.357142857142857,
|
433 |
+
"grad_norm": 0.13534702360630035,
|
434 |
+
"learning_rate": 1.2949640287769784e-05,
|
435 |
+
"loss": 0.3731,
|
436 |
+
"step": 610
|
437 |
+
},
|
438 |
+
{
|
439 |
+
"epoch": 4.428571428571429,
|
440 |
+
"grad_norm": 0.14081259071826935,
|
441 |
+
"learning_rate": 1.1510791366906475e-05,
|
442 |
+
"loss": 0.3869,
|
443 |
+
"step": 620
|
444 |
+
},
|
445 |
+
{
|
446 |
+
"epoch": 4.5,
|
447 |
+
"grad_norm": 0.13458286225795746,
|
448 |
+
"learning_rate": 1.0071942446043167e-05,
|
449 |
+
"loss": 0.4143,
|
450 |
+
"step": 630
|
451 |
+
},
|
452 |
+
{
|
453 |
+
"epoch": 4.571428571428571,
|
454 |
+
"grad_norm": 0.12921994924545288,
|
455 |
+
"learning_rate": 8.633093525179858e-06,
|
456 |
+
"loss": 0.3854,
|
457 |
+
"step": 640
|
458 |
+
},
|
459 |
+
{
|
460 |
+
"epoch": 4.642857142857143,
|
461 |
+
"grad_norm": 0.14026252925395966,
|
462 |
+
"learning_rate": 7.1942446043165465e-06,
|
463 |
+
"loss": 0.4295,
|
464 |
+
"step": 650
|
465 |
+
},
|
466 |
+
{
|
467 |
+
"epoch": 4.714285714285714,
|
468 |
+
"grad_norm": 0.14407575130462646,
|
469 |
+
"learning_rate": 5.755395683453238e-06,
|
470 |
+
"loss": 0.4228,
|
471 |
+
"step": 660
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"epoch": 4.785714285714286,
|
475 |
+
"grad_norm": 0.11860533058643341,
|
476 |
+
"learning_rate": 4.316546762589929e-06,
|
477 |
+
"loss": 0.3834,
|
478 |
+
"step": 670
|
479 |
+
},
|
480 |
+
{
|
481 |
+
"epoch": 4.857142857142857,
|
482 |
+
"grad_norm": 0.1333409547805786,
|
483 |
+
"learning_rate": 2.877697841726619e-06,
|
484 |
+
"loss": 0.364,
|
485 |
+
"step": 680
|
486 |
+
},
|
487 |
+
{
|
488 |
+
"epoch": 4.928571428571429,
|
489 |
+
"grad_norm": 0.15710106492042542,
|
490 |
+
"learning_rate": 1.4388489208633094e-06,
|
491 |
+
"loss": 0.387,
|
492 |
+
"step": 690
|
493 |
+
},
|
494 |
+
{
|
495 |
+
"epoch": 5.0,
|
496 |
+
"grad_norm": 0.16918131709098816,
|
497 |
+
"learning_rate": 0.0,
|
498 |
+
"loss": 0.355,
|
499 |
+
"step": 700
|
500 |
+
}
|
501 |
+
],
|
502 |
+
"logging_steps": 10,
|
503 |
+
"max_steps": 700,
|
504 |
+
"num_input_tokens_seen": 0,
|
505 |
+
"num_train_epochs": 5,
|
506 |
+
"save_steps": 500,
|
507 |
+
"stateful_callbacks": {
|
508 |
+
"TrainerControl": {
|
509 |
+
"args": {
|
510 |
+
"should_epoch_stop": false,
|
511 |
+
"should_evaluate": false,
|
512 |
+
"should_log": false,
|
513 |
+
"should_save": true,
|
514 |
+
"should_training_stop": true
|
515 |
+
},
|
516 |
+
"attributes": {}
|
517 |
+
}
|
518 |
+
},
|
519 |
+
"total_flos": 5.7064167003930624e+17,
|
520 |
+
"train_batch_size": 10,
|
521 |
+
"trial_name": null,
|
522 |
+
"trial_params": null
|
523 |
+
}
|