PaawanPurdhani
commited on
Commit
•
1fc242f
1
Parent(s):
b671219
Upload 21 files
Browse files- checkpoint_dir/README.md +202 -0
- checkpoint_dir/adapter_config.json +31 -0
- checkpoint_dir/adapter_model.safetensors +3 -0
- checkpoint_dir/all_results.json +8 -0
- checkpoint_dir/checkpoint-600/README.md +202 -0
- checkpoint_dir/checkpoint-600/adapter_config.json +31 -0
- checkpoint_dir/checkpoint-600/adapter_model.safetensors +3 -0
- checkpoint_dir/checkpoint-600/optimizer.pt +3 -0
- checkpoint_dir/checkpoint-600/rng_state.pth +3 -0
- checkpoint_dir/checkpoint-600/scheduler.pt +3 -0
- checkpoint_dir/checkpoint-600/special_tokens_map.json +24 -0
- checkpoint_dir/checkpoint-600/tokenizer.json +0 -0
- checkpoint_dir/checkpoint-600/tokenizer_config.json +130 -0
- checkpoint_dir/checkpoint-600/trainer_state.json +243 -0
- checkpoint_dir/checkpoint-600/training_args.bin +3 -0
- checkpoint_dir/special_tokens_map.json +24 -0
- checkpoint_dir/tokenizer.json +0 -0
- checkpoint_dir/tokenizer_config.json +130 -0
- checkpoint_dir/train_results.json +8 -0
- checkpoint_dir/trainer_state.json +252 -0
- checkpoint_dir/training_args.bin +3 -0
checkpoint_dir/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: microsoft/Phi-3-mini-128k-instruct
|
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.12.0
|
checkpoint_dir/adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "microsoft/Phi-3-mini-128k-instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 32,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 16,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"o_proj",
|
24 |
+
"qkv_proj",
|
25 |
+
"down_proj",
|
26 |
+
"gate_up_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
checkpoint_dir/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:015419f41cf02c55bc3a4b4607c76c877490506faaefeabae059abad7a4374ec
|
3 |
+
size 100697728
|
checkpoint_dir/all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 3210595501381632.0,
|
4 |
+
"train_loss": 1.177695571192053,
|
5 |
+
"train_runtime": 189.533,
|
6 |
+
"train_samples_per_second": 12.742,
|
7 |
+
"train_steps_per_second": 3.187
|
8 |
+
}
|
checkpoint_dir/checkpoint-600/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: microsoft/Phi-3-mini-128k-instruct
|
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.12.0
|
checkpoint_dir/checkpoint-600/adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "microsoft/Phi-3-mini-128k-instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 32,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 16,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"o_proj",
|
24 |
+
"qkv_proj",
|
25 |
+
"down_proj",
|
26 |
+
"gate_up_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
checkpoint_dir/checkpoint-600/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bcab7fcfd10fc49156e5cabc832fc93eee83811ec2800252158701a5e1ad5bed
|
3 |
+
size 100697728
|
checkpoint_dir/checkpoint-600/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82b033e30e194f7a3a524fecb8382264d32351848814c3fdef98095c511fb110
|
3 |
+
size 201541754
|
checkpoint_dir/checkpoint-600/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a630ff2a3aa18457274e40867ed2cdd98d1a9cb7d91370ddbf303e10f8e8ce7c
|
3 |
+
size 14180
|
checkpoint_dir/checkpoint-600/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:35386869bd2ec5e7862114e93f904decfa7ce2a3e59f3e4ba03a51b621dc4fd3
|
3 |
+
size 1064
|
checkpoint_dir/checkpoint-600/special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<unk>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
checkpoint_dir/checkpoint-600/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint_dir/checkpoint-600/tokenizer_config.json
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
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": true,
|
26 |
+
"single_word": false,
|
27 |
+
"special": false
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "<|endoftext|>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "<|assistant|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": true,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32002": {
|
46 |
+
"content": "<|placeholder1|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": true,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"32003": {
|
54 |
+
"content": "<|placeholder2|>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": true,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"32004": {
|
62 |
+
"content": "<|placeholder3|>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": true,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
},
|
69 |
+
"32005": {
|
70 |
+
"content": "<|placeholder4|>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": true,
|
74 |
+
"single_word": false,
|
75 |
+
"special": true
|
76 |
+
},
|
77 |
+
"32006": {
|
78 |
+
"content": "<|system|>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": true,
|
82 |
+
"single_word": false,
|
83 |
+
"special": true
|
84 |
+
},
|
85 |
+
"32007": {
|
86 |
+
"content": "<|end|>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": true,
|
90 |
+
"single_word": false,
|
91 |
+
"special": true
|
92 |
+
},
|
93 |
+
"32008": {
|
94 |
+
"content": "<|placeholder5|>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": true,
|
98 |
+
"single_word": false,
|
99 |
+
"special": true
|
100 |
+
},
|
101 |
+
"32009": {
|
102 |
+
"content": "<|placeholder6|>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": true,
|
106 |
+
"single_word": false,
|
107 |
+
"special": true
|
108 |
+
},
|
109 |
+
"32010": {
|
110 |
+
"content": "<|user|>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": true,
|
114 |
+
"single_word": false,
|
115 |
+
"special": true
|
116 |
+
}
|
117 |
+
},
|
118 |
+
"bos_token": "<s>",
|
119 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
|
120 |
+
"clean_up_tokenization_spaces": false,
|
121 |
+
"eos_token": "<|endoftext|>",
|
122 |
+
"legacy": false,
|
123 |
+
"model_max_length": 2048,
|
124 |
+
"pad_token": "<unk>",
|
125 |
+
"padding_side": "right",
|
126 |
+
"sp_model_kwargs": {},
|
127 |
+
"tokenizer_class": "LlamaTokenizer",
|
128 |
+
"unk_token": "<unk>",
|
129 |
+
"use_default_system_prompt": false
|
130 |
+
}
|
checkpoint_dir/checkpoint-600/trainer_state.json
ADDED
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9933774834437086,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 600,
|
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.033112582781456956,
|
13 |
+
"grad_norm": 2.8630754947662354,
|
14 |
+
"learning_rate": 8.264462809917356e-07,
|
15 |
+
"loss": 2.5,
|
16 |
+
"step": 20
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.06622516556291391,
|
20 |
+
"grad_norm": 2.044926643371582,
|
21 |
+
"learning_rate": 1.6528925619834712e-06,
|
22 |
+
"loss": 2.5625,
|
23 |
+
"step": 40
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.09933774834437085,
|
27 |
+
"grad_norm": 2.0647263526916504,
|
28 |
+
"learning_rate": 2.479338842975207e-06,
|
29 |
+
"loss": 2.475,
|
30 |
+
"step": 60
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.13245033112582782,
|
34 |
+
"grad_norm": 1.9722806215286255,
|
35 |
+
"learning_rate": 3.3057851239669424e-06,
|
36 |
+
"loss": 2.375,
|
37 |
+
"step": 80
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.16556291390728478,
|
41 |
+
"grad_norm": 1.7632310390472412,
|
42 |
+
"learning_rate": 4.132231404958678e-06,
|
43 |
+
"loss": 2.225,
|
44 |
+
"step": 100
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.1986754966887417,
|
48 |
+
"grad_norm": 2.126565456390381,
|
49 |
+
"learning_rate": 4.958677685950414e-06,
|
50 |
+
"loss": 1.9,
|
51 |
+
"step": 120
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.23178807947019867,
|
55 |
+
"grad_norm": 1.3362902402877808,
|
56 |
+
"learning_rate": 4.980933547537104e-06,
|
57 |
+
"loss": 1.4625,
|
58 |
+
"step": 140
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.26490066225165565,
|
62 |
+
"grad_norm": 1.6563653945922852,
|
63 |
+
"learning_rate": 4.919995460276783e-06,
|
64 |
+
"loss": 1.25,
|
65 |
+
"step": 160
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.2980132450331126,
|
69 |
+
"grad_norm": 1.2334599494934082,
|
70 |
+
"learning_rate": 4.81816262909214e-06,
|
71 |
+
"loss": 1.0375,
|
72 |
+
"step": 180
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.33112582781456956,
|
76 |
+
"grad_norm": 1.2277352809906006,
|
77 |
+
"learning_rate": 4.677155895043723e-06,
|
78 |
+
"loss": 1.05,
|
79 |
+
"step": 200
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.36423841059602646,
|
83 |
+
"grad_norm": 1.204990267753601,
|
84 |
+
"learning_rate": 4.499358086684381e-06,
|
85 |
+
"loss": 0.975,
|
86 |
+
"step": 220
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.3973509933774834,
|
90 |
+
"grad_norm": 1.0835106372833252,
|
91 |
+
"learning_rate": 4.287773753387249e-06,
|
92 |
+
"loss": 0.8875,
|
93 |
+
"step": 240
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.4304635761589404,
|
97 |
+
"grad_norm": 1.209863305091858,
|
98 |
+
"learning_rate": 4.045978392408671e-06,
|
99 |
+
"loss": 0.8938,
|
100 |
+
"step": 260
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.46357615894039733,
|
104 |
+
"grad_norm": 1.1028498411178589,
|
105 |
+
"learning_rate": 3.778058027682004e-06,
|
106 |
+
"loss": 0.9125,
|
107 |
+
"step": 280
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.4966887417218543,
|
111 |
+
"grad_norm": 1.186710238456726,
|
112 |
+
"learning_rate": 3.488540161381304e-06,
|
113 |
+
"loss": 0.8625,
|
114 |
+
"step": 300
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.5298013245033113,
|
118 |
+
"grad_norm": 1.2400007247924805,
|
119 |
+
"learning_rate": 3.18231726508275e-06,
|
120 |
+
"loss": 0.8812,
|
121 |
+
"step": 320
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.5629139072847682,
|
125 |
+
"grad_norm": 1.3776289224624634,
|
126 |
+
"learning_rate": 2.8645641034226584e-06,
|
127 |
+
"loss": 0.7625,
|
128 |
+
"step": 340
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.5960264900662252,
|
132 |
+
"grad_norm": 1.7026677131652832,
|
133 |
+
"learning_rate": 2.5406502873736693e-06,
|
134 |
+
"loss": 0.8313,
|
135 |
+
"step": 360
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.6291390728476821,
|
139 |
+
"grad_norm": 1.2438005208969116,
|
140 |
+
"learning_rate": 2.2160495348738127e-06,
|
141 |
+
"loss": 0.8187,
|
142 |
+
"step": 380
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.6622516556291391,
|
146 |
+
"grad_norm": 1.2019314765930176,
|
147 |
+
"learning_rate": 1.8962471721846555e-06,
|
148 |
+
"loss": 0.825,
|
149 |
+
"step": 400
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.695364238410596,
|
153 |
+
"grad_norm": 1.3416401147842407,
|
154 |
+
"learning_rate": 1.5866474390840126e-06,
|
155 |
+
"loss": 0.7875,
|
156 |
+
"step": 420
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.7284768211920529,
|
160 |
+
"grad_norm": 1.214216709136963,
|
161 |
+
"learning_rate": 1.2924821643137226e-06,
|
162 |
+
"loss": 0.7625,
|
163 |
+
"step": 440
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.7615894039735099,
|
167 |
+
"grad_norm": 2.329277753829956,
|
168 |
+
"learning_rate": 1.018722354547402e-06,
|
169 |
+
"loss": 0.8125,
|
170 |
+
"step": 460
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.7947019867549668,
|
174 |
+
"grad_norm": 1.8247755765914917,
|
175 |
+
"learning_rate": 7.69994190908499e-07,
|
176 |
+
"loss": 0.7844,
|
177 |
+
"step": 480
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.8278145695364238,
|
181 |
+
"grad_norm": 1.354269027709961,
|
182 |
+
"learning_rate": 5.505008525871183e-07,
|
183 |
+
"loss": 0.8313,
|
184 |
+
"step": 500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.8609271523178808,
|
188 |
+
"grad_norm": 1.941784143447876,
|
189 |
+
"learning_rate": 3.639514886337786e-07,
|
190 |
+
"loss": 0.7844,
|
191 |
+
"step": 520
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.8940397350993378,
|
195 |
+
"grad_norm": 1.4848183393478394,
|
196 |
+
"learning_rate": 2.1349853821348797e-07,
|
197 |
+
"loss": 0.8125,
|
198 |
+
"step": 540
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.9271523178807947,
|
202 |
+
"grad_norm": 1.269209384918213,
|
203 |
+
"learning_rate": 1.0168445852548142e-07,
|
204 |
+
"loss": 0.8187,
|
205 |
+
"step": 560
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.9602649006622517,
|
209 |
+
"grad_norm": 1.4907937049865723,
|
210 |
+
"learning_rate": 3.0398760616796306e-08,
|
211 |
+
"loss": 0.8313,
|
212 |
+
"step": 580
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.9933774834437086,
|
216 |
+
"grad_norm": 1.2604339122772217,
|
217 |
+
"learning_rate": 8.460791279910064e-10,
|
218 |
+
"loss": 0.7156,
|
219 |
+
"step": 600
|
220 |
+
}
|
221 |
+
],
|
222 |
+
"logging_steps": 20,
|
223 |
+
"max_steps": 604,
|
224 |
+
"num_input_tokens_seen": 0,
|
225 |
+
"num_train_epochs": 1,
|
226 |
+
"save_steps": 100,
|
227 |
+
"stateful_callbacks": {
|
228 |
+
"TrainerControl": {
|
229 |
+
"args": {
|
230 |
+
"should_epoch_stop": false,
|
231 |
+
"should_evaluate": false,
|
232 |
+
"should_log": false,
|
233 |
+
"should_save": true,
|
234 |
+
"should_training_stop": false
|
235 |
+
},
|
236 |
+
"attributes": {}
|
237 |
+
}
|
238 |
+
},
|
239 |
+
"total_flos": 3190200274354176.0,
|
240 |
+
"train_batch_size": 4,
|
241 |
+
"trial_name": null,
|
242 |
+
"trial_params": null
|
243 |
+
}
|
checkpoint_dir/checkpoint-600/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afe22179ca25b8c1ecda193f2758100304580b9ef0c383830f48d34011230089
|
3 |
+
size 5368
|
checkpoint_dir/special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<unk>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
checkpoint_dir/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint_dir/tokenizer_config.json
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
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": true,
|
26 |
+
"single_word": false,
|
27 |
+
"special": false
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "<|endoftext|>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "<|assistant|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": true,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32002": {
|
46 |
+
"content": "<|placeholder1|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": true,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"32003": {
|
54 |
+
"content": "<|placeholder2|>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": true,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"32004": {
|
62 |
+
"content": "<|placeholder3|>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": true,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
},
|
69 |
+
"32005": {
|
70 |
+
"content": "<|placeholder4|>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": true,
|
74 |
+
"single_word": false,
|
75 |
+
"special": true
|
76 |
+
},
|
77 |
+
"32006": {
|
78 |
+
"content": "<|system|>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": true,
|
82 |
+
"single_word": false,
|
83 |
+
"special": true
|
84 |
+
},
|
85 |
+
"32007": {
|
86 |
+
"content": "<|end|>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": true,
|
90 |
+
"single_word": false,
|
91 |
+
"special": true
|
92 |
+
},
|
93 |
+
"32008": {
|
94 |
+
"content": "<|placeholder5|>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": true,
|
98 |
+
"single_word": false,
|
99 |
+
"special": true
|
100 |
+
},
|
101 |
+
"32009": {
|
102 |
+
"content": "<|placeholder6|>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": true,
|
106 |
+
"single_word": false,
|
107 |
+
"special": true
|
108 |
+
},
|
109 |
+
"32010": {
|
110 |
+
"content": "<|user|>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": true,
|
114 |
+
"single_word": false,
|
115 |
+
"special": true
|
116 |
+
}
|
117 |
+
},
|
118 |
+
"bos_token": "<s>",
|
119 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
|
120 |
+
"clean_up_tokenization_spaces": false,
|
121 |
+
"eos_token": "<|endoftext|>",
|
122 |
+
"legacy": false,
|
123 |
+
"model_max_length": 2048,
|
124 |
+
"pad_token": "<unk>",
|
125 |
+
"padding_side": "right",
|
126 |
+
"sp_model_kwargs": {},
|
127 |
+
"tokenizer_class": "LlamaTokenizer",
|
128 |
+
"unk_token": "<unk>",
|
129 |
+
"use_default_system_prompt": false
|
130 |
+
}
|
checkpoint_dir/train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 3210595501381632.0,
|
4 |
+
"train_loss": 1.177695571192053,
|
5 |
+
"train_runtime": 189.533,
|
6 |
+
"train_samples_per_second": 12.742,
|
7 |
+
"train_steps_per_second": 3.187
|
8 |
+
}
|
checkpoint_dir/trainer_state.json
ADDED
@@ -0,0 +1,252 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 604,
|
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.033112582781456956,
|
13 |
+
"grad_norm": 2.8630754947662354,
|
14 |
+
"learning_rate": 8.264462809917356e-07,
|
15 |
+
"loss": 2.5,
|
16 |
+
"step": 20
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.06622516556291391,
|
20 |
+
"grad_norm": 2.044926643371582,
|
21 |
+
"learning_rate": 1.6528925619834712e-06,
|
22 |
+
"loss": 2.5625,
|
23 |
+
"step": 40
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.09933774834437085,
|
27 |
+
"grad_norm": 2.0647263526916504,
|
28 |
+
"learning_rate": 2.479338842975207e-06,
|
29 |
+
"loss": 2.475,
|
30 |
+
"step": 60
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.13245033112582782,
|
34 |
+
"grad_norm": 1.9722806215286255,
|
35 |
+
"learning_rate": 3.3057851239669424e-06,
|
36 |
+
"loss": 2.375,
|
37 |
+
"step": 80
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.16556291390728478,
|
41 |
+
"grad_norm": 1.7632310390472412,
|
42 |
+
"learning_rate": 4.132231404958678e-06,
|
43 |
+
"loss": 2.225,
|
44 |
+
"step": 100
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.1986754966887417,
|
48 |
+
"grad_norm": 2.126565456390381,
|
49 |
+
"learning_rate": 4.958677685950414e-06,
|
50 |
+
"loss": 1.9,
|
51 |
+
"step": 120
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.23178807947019867,
|
55 |
+
"grad_norm": 1.3362902402877808,
|
56 |
+
"learning_rate": 4.980933547537104e-06,
|
57 |
+
"loss": 1.4625,
|
58 |
+
"step": 140
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.26490066225165565,
|
62 |
+
"grad_norm": 1.6563653945922852,
|
63 |
+
"learning_rate": 4.919995460276783e-06,
|
64 |
+
"loss": 1.25,
|
65 |
+
"step": 160
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.2980132450331126,
|
69 |
+
"grad_norm": 1.2334599494934082,
|
70 |
+
"learning_rate": 4.81816262909214e-06,
|
71 |
+
"loss": 1.0375,
|
72 |
+
"step": 180
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.33112582781456956,
|
76 |
+
"grad_norm": 1.2277352809906006,
|
77 |
+
"learning_rate": 4.677155895043723e-06,
|
78 |
+
"loss": 1.05,
|
79 |
+
"step": 200
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.36423841059602646,
|
83 |
+
"grad_norm": 1.204990267753601,
|
84 |
+
"learning_rate": 4.499358086684381e-06,
|
85 |
+
"loss": 0.975,
|
86 |
+
"step": 220
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.3973509933774834,
|
90 |
+
"grad_norm": 1.0835106372833252,
|
91 |
+
"learning_rate": 4.287773753387249e-06,
|
92 |
+
"loss": 0.8875,
|
93 |
+
"step": 240
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.4304635761589404,
|
97 |
+
"grad_norm": 1.209863305091858,
|
98 |
+
"learning_rate": 4.045978392408671e-06,
|
99 |
+
"loss": 0.8938,
|
100 |
+
"step": 260
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.46357615894039733,
|
104 |
+
"grad_norm": 1.1028498411178589,
|
105 |
+
"learning_rate": 3.778058027682004e-06,
|
106 |
+
"loss": 0.9125,
|
107 |
+
"step": 280
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.4966887417218543,
|
111 |
+
"grad_norm": 1.186710238456726,
|
112 |
+
"learning_rate": 3.488540161381304e-06,
|
113 |
+
"loss": 0.8625,
|
114 |
+
"step": 300
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.5298013245033113,
|
118 |
+
"grad_norm": 1.2400007247924805,
|
119 |
+
"learning_rate": 3.18231726508275e-06,
|
120 |
+
"loss": 0.8812,
|
121 |
+
"step": 320
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.5629139072847682,
|
125 |
+
"grad_norm": 1.3776289224624634,
|
126 |
+
"learning_rate": 2.8645641034226584e-06,
|
127 |
+
"loss": 0.7625,
|
128 |
+
"step": 340
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.5960264900662252,
|
132 |
+
"grad_norm": 1.7026677131652832,
|
133 |
+
"learning_rate": 2.5406502873736693e-06,
|
134 |
+
"loss": 0.8313,
|
135 |
+
"step": 360
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.6291390728476821,
|
139 |
+
"grad_norm": 1.2438005208969116,
|
140 |
+
"learning_rate": 2.2160495348738127e-06,
|
141 |
+
"loss": 0.8187,
|
142 |
+
"step": 380
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.6622516556291391,
|
146 |
+
"grad_norm": 1.2019314765930176,
|
147 |
+
"learning_rate": 1.8962471721846555e-06,
|
148 |
+
"loss": 0.825,
|
149 |
+
"step": 400
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.695364238410596,
|
153 |
+
"grad_norm": 1.3416401147842407,
|
154 |
+
"learning_rate": 1.5866474390840126e-06,
|
155 |
+
"loss": 0.7875,
|
156 |
+
"step": 420
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.7284768211920529,
|
160 |
+
"grad_norm": 1.214216709136963,
|
161 |
+
"learning_rate": 1.2924821643137226e-06,
|
162 |
+
"loss": 0.7625,
|
163 |
+
"step": 440
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.7615894039735099,
|
167 |
+
"grad_norm": 2.329277753829956,
|
168 |
+
"learning_rate": 1.018722354547402e-06,
|
169 |
+
"loss": 0.8125,
|
170 |
+
"step": 460
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.7947019867549668,
|
174 |
+
"grad_norm": 1.8247755765914917,
|
175 |
+
"learning_rate": 7.69994190908499e-07,
|
176 |
+
"loss": 0.7844,
|
177 |
+
"step": 480
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.8278145695364238,
|
181 |
+
"grad_norm": 1.354269027709961,
|
182 |
+
"learning_rate": 5.505008525871183e-07,
|
183 |
+
"loss": 0.8313,
|
184 |
+
"step": 500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.8609271523178808,
|
188 |
+
"grad_norm": 1.941784143447876,
|
189 |
+
"learning_rate": 3.639514886337786e-07,
|
190 |
+
"loss": 0.7844,
|
191 |
+
"step": 520
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.8940397350993378,
|
195 |
+
"grad_norm": 1.4848183393478394,
|
196 |
+
"learning_rate": 2.1349853821348797e-07,
|
197 |
+
"loss": 0.8125,
|
198 |
+
"step": 540
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.9271523178807947,
|
202 |
+
"grad_norm": 1.269209384918213,
|
203 |
+
"learning_rate": 1.0168445852548142e-07,
|
204 |
+
"loss": 0.8187,
|
205 |
+
"step": 560
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.9602649006622517,
|
209 |
+
"grad_norm": 1.4907937049865723,
|
210 |
+
"learning_rate": 3.0398760616796306e-08,
|
211 |
+
"loss": 0.8313,
|
212 |
+
"step": 580
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.9933774834437086,
|
216 |
+
"grad_norm": 1.2604339122772217,
|
217 |
+
"learning_rate": 8.460791279910064e-10,
|
218 |
+
"loss": 0.7156,
|
219 |
+
"step": 600
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 1.0,
|
223 |
+
"step": 604,
|
224 |
+
"total_flos": 3210595501381632.0,
|
225 |
+
"train_loss": 1.177695571192053,
|
226 |
+
"train_runtime": 189.533,
|
227 |
+
"train_samples_per_second": 12.742,
|
228 |
+
"train_steps_per_second": 3.187
|
229 |
+
}
|
230 |
+
],
|
231 |
+
"logging_steps": 20,
|
232 |
+
"max_steps": 604,
|
233 |
+
"num_input_tokens_seen": 0,
|
234 |
+
"num_train_epochs": 1,
|
235 |
+
"save_steps": 100,
|
236 |
+
"stateful_callbacks": {
|
237 |
+
"TrainerControl": {
|
238 |
+
"args": {
|
239 |
+
"should_epoch_stop": false,
|
240 |
+
"should_evaluate": false,
|
241 |
+
"should_log": false,
|
242 |
+
"should_save": true,
|
243 |
+
"should_training_stop": false
|
244 |
+
},
|
245 |
+
"attributes": {}
|
246 |
+
}
|
247 |
+
},
|
248 |
+
"total_flos": 3210595501381632.0,
|
249 |
+
"train_batch_size": 4,
|
250 |
+
"trial_name": null,
|
251 |
+
"trial_params": null
|
252 |
+
}
|
checkpoint_dir/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afe22179ca25b8c1ecda193f2758100304580b9ef0c383830f48d34011230089
|
3 |
+
size 5368
|