chitranshu324324
commited on
Commit
·
cfda960
1
Parent(s):
fe89af9
Add personality LLM culture model
Browse files- .gitattributes +1 -0
- README.md +202 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +3 -0
- optimizer.pt +3 -0
- rng_state.pth +0 -0
- scheduler.pt +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +3 -0
- tokenizer.model +0 -0
- tokenizer_config.json +51 -0
- trainer_state.json +453 -0
- training_args.bin +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: meta-llama/Llama-2-7b-chat-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.13.2
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
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": 16,
|
14 |
+
"lora_dropout": 0.1,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": [
|
18 |
+
"qa_outputs"
|
19 |
+
],
|
20 |
+
"peft_type": "LORA",
|
21 |
+
"r": 4,
|
22 |
+
"rank_pattern": {},
|
23 |
+
"revision": null,
|
24 |
+
"target_modules": [
|
25 |
+
"v_proj",
|
26 |
+
"q_proj"
|
27 |
+
],
|
28 |
+
"task_type": "QUESTION_ANS",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aca92d99c8f959106d6671d4fe0d5d73dad7e39fa3d3c5b20c29b972d34c4481
|
3 |
+
size 1057015264
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<pad>": 32000
|
3 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4873d19dbf794851be757b9b2c2bc67364d77a10d9fbce8b78f3ff96d7c438af
|
3 |
+
size 16884858
|
rng_state.pth
ADDED
Binary file (14.2 kB). View file
|
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c880939357c18a86a96088459b1eb6b034caaadb330aba305e407f167c1b7f8
|
3 |
+
size 1064
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<pad>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7dc4aac7955c9bd5f5351b4a4b9356e4ea665f95208b11d52496da04f5e7cb2
|
3 |
+
size 3619355
|
tokenizer.model
ADDED
Binary file (500 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
},
|
30 |
+
"32000": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false,
|
36 |
+
"special": true
|
37 |
+
}
|
38 |
+
},
|
39 |
+
"bos_token": "<s>",
|
40 |
+
"chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}",
|
41 |
+
"clean_up_tokenization_spaces": false,
|
42 |
+
"eos_token": "</s>",
|
43 |
+
"legacy": false,
|
44 |
+
"model_max_length": 512,
|
45 |
+
"pad_token": "<pad>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
+
"eval_steps": 5,
|
6 |
+
"global_step": 50,
|
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.008333333333333333,
|
13 |
+
"grad_norm": 2.3885583877563477,
|
14 |
+
"learning_rate": 0.001,
|
15 |
+
"loss": 5.2644,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.016666666666666666,
|
20 |
+
"grad_norm": 3.1313512325286865,
|
21 |
+
"learning_rate": 0.001,
|
22 |
+
"loss": 4.4436,
|
23 |
+
"step": 2
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.025,
|
27 |
+
"grad_norm": NaN,
|
28 |
+
"learning_rate": 0.001,
|
29 |
+
"loss": 4.1142,
|
30 |
+
"step": 3
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.03333333333333333,
|
34 |
+
"grad_norm": 2.553321123123169,
|
35 |
+
"learning_rate": 0.001,
|
36 |
+
"loss": 3.8086,
|
37 |
+
"step": 4
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.041666666666666664,
|
41 |
+
"grad_norm": 2.8816118240356445,
|
42 |
+
"learning_rate": 0.001,
|
43 |
+
"loss": 3.4878,
|
44 |
+
"step": 5
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.041666666666666664,
|
48 |
+
"eval_runtime": 3.5452,
|
49 |
+
"eval_samples_per_second": 33.849,
|
50 |
+
"eval_steps_per_second": 8.462,
|
51 |
+
"step": 5
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.05,
|
55 |
+
"grad_norm": NaN,
|
56 |
+
"learning_rate": 0.001,
|
57 |
+
"loss": 3.0569,
|
58 |
+
"step": 6
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.058333333333333334,
|
62 |
+
"grad_norm": 2.565500020980835,
|
63 |
+
"learning_rate": 0.001,
|
64 |
+
"loss": 2.9872,
|
65 |
+
"step": 7
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.06666666666666667,
|
69 |
+
"grad_norm": 2.421236753463745,
|
70 |
+
"learning_rate": 0.001,
|
71 |
+
"loss": 2.2461,
|
72 |
+
"step": 8
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.075,
|
76 |
+
"grad_norm": 2.8918418884277344,
|
77 |
+
"learning_rate": 0.001,
|
78 |
+
"loss": 1.7755,
|
79 |
+
"step": 9
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.08333333333333333,
|
83 |
+
"grad_norm": 3.7322306632995605,
|
84 |
+
"learning_rate": 0.001,
|
85 |
+
"loss": 1.4434,
|
86 |
+
"step": 10
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.08333333333333333,
|
90 |
+
"eval_runtime": 3.5538,
|
91 |
+
"eval_samples_per_second": 33.766,
|
92 |
+
"eval_steps_per_second": 8.442,
|
93 |
+
"step": 10
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.09166666666666666,
|
97 |
+
"grad_norm": 3.7344257831573486,
|
98 |
+
"learning_rate": 0.001,
|
99 |
+
"loss": 1.3937,
|
100 |
+
"step": 11
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.1,
|
104 |
+
"grad_norm": 5.106380939483643,
|
105 |
+
"learning_rate": 0.001,
|
106 |
+
"loss": 1.3341,
|
107 |
+
"step": 12
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.10833333333333334,
|
111 |
+
"grad_norm": 2.572021245956421,
|
112 |
+
"learning_rate": 0.001,
|
113 |
+
"loss": 0.9658,
|
114 |
+
"step": 13
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.11666666666666667,
|
118 |
+
"grad_norm": 4.370708465576172,
|
119 |
+
"learning_rate": 0.001,
|
120 |
+
"loss": 1.1247,
|
121 |
+
"step": 14
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.125,
|
125 |
+
"grad_norm": 2.2091898918151855,
|
126 |
+
"learning_rate": 0.001,
|
127 |
+
"loss": 0.8327,
|
128 |
+
"step": 15
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.125,
|
132 |
+
"eval_runtime": 3.5597,
|
133 |
+
"eval_samples_per_second": 33.711,
|
134 |
+
"eval_steps_per_second": 8.428,
|
135 |
+
"step": 15
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.13333333333333333,
|
139 |
+
"grad_norm": 5.971612930297852,
|
140 |
+
"learning_rate": 0.001,
|
141 |
+
"loss": 0.7193,
|
142 |
+
"step": 16
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.14166666666666666,
|
146 |
+
"grad_norm": 2.8852627277374268,
|
147 |
+
"learning_rate": 0.001,
|
148 |
+
"loss": 0.6945,
|
149 |
+
"step": 17
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.15,
|
153 |
+
"grad_norm": 2.9274704456329346,
|
154 |
+
"learning_rate": 0.001,
|
155 |
+
"loss": 0.7308,
|
156 |
+
"step": 18
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.15833333333333333,
|
160 |
+
"grad_norm": 1.9048141241073608,
|
161 |
+
"learning_rate": 0.001,
|
162 |
+
"loss": 0.6461,
|
163 |
+
"step": 19
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.16666666666666666,
|
167 |
+
"grad_norm": 1.8781129121780396,
|
168 |
+
"learning_rate": 0.001,
|
169 |
+
"loss": 0.6144,
|
170 |
+
"step": 20
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.16666666666666666,
|
174 |
+
"eval_runtime": 3.5692,
|
175 |
+
"eval_samples_per_second": 33.621,
|
176 |
+
"eval_steps_per_second": 8.405,
|
177 |
+
"step": 20
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.175,
|
181 |
+
"grad_norm": 2.35707950592041,
|
182 |
+
"learning_rate": 0.001,
|
183 |
+
"loss": 0.8558,
|
184 |
+
"step": 21
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.18333333333333332,
|
188 |
+
"grad_norm": 2.049520254135132,
|
189 |
+
"learning_rate": 0.001,
|
190 |
+
"loss": 0.6385,
|
191 |
+
"step": 22
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.19166666666666668,
|
195 |
+
"grad_norm": 2.3720197677612305,
|
196 |
+
"learning_rate": 0.001,
|
197 |
+
"loss": 0.9522,
|
198 |
+
"step": 23
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.2,
|
202 |
+
"grad_norm": 1.980618953704834,
|
203 |
+
"learning_rate": 0.001,
|
204 |
+
"loss": 0.8766,
|
205 |
+
"step": 24
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.20833333333333334,
|
209 |
+
"grad_norm": 1.5879499912261963,
|
210 |
+
"learning_rate": 0.001,
|
211 |
+
"loss": 0.729,
|
212 |
+
"step": 25
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.20833333333333334,
|
216 |
+
"eval_runtime": 3.5755,
|
217 |
+
"eval_samples_per_second": 33.562,
|
218 |
+
"eval_steps_per_second": 8.391,
|
219 |
+
"step": 25
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.21666666666666667,
|
223 |
+
"grad_norm": 1.6505706310272217,
|
224 |
+
"learning_rate": 0.001,
|
225 |
+
"loss": 0.6637,
|
226 |
+
"step": 26
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.225,
|
230 |
+
"grad_norm": 1.4267758131027222,
|
231 |
+
"learning_rate": 0.001,
|
232 |
+
"loss": 0.9298,
|
233 |
+
"step": 27
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 0.23333333333333334,
|
237 |
+
"grad_norm": 1.1863181591033936,
|
238 |
+
"learning_rate": 0.001,
|
239 |
+
"loss": 0.5314,
|
240 |
+
"step": 28
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 0.24166666666666667,
|
244 |
+
"grad_norm": 1.2047488689422607,
|
245 |
+
"learning_rate": 0.001,
|
246 |
+
"loss": 0.4791,
|
247 |
+
"step": 29
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 0.25,
|
251 |
+
"grad_norm": 1.4940290451049805,
|
252 |
+
"learning_rate": 0.001,
|
253 |
+
"loss": 0.6757,
|
254 |
+
"step": 30
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.25,
|
258 |
+
"eval_runtime": 3.5813,
|
259 |
+
"eval_samples_per_second": 33.507,
|
260 |
+
"eval_steps_per_second": 8.377,
|
261 |
+
"step": 30
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 0.25833333333333336,
|
265 |
+
"grad_norm": 1.8670457601547241,
|
266 |
+
"learning_rate": 0.001,
|
267 |
+
"loss": 0.9796,
|
268 |
+
"step": 31
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 0.26666666666666666,
|
272 |
+
"grad_norm": 1.746319055557251,
|
273 |
+
"learning_rate": 0.001,
|
274 |
+
"loss": 0.73,
|
275 |
+
"step": 32
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 0.275,
|
279 |
+
"grad_norm": 1.3656867742538452,
|
280 |
+
"learning_rate": 0.001,
|
281 |
+
"loss": 0.6216,
|
282 |
+
"step": 33
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 0.2833333333333333,
|
286 |
+
"grad_norm": 1.6293808221817017,
|
287 |
+
"learning_rate": 0.001,
|
288 |
+
"loss": 0.7004,
|
289 |
+
"step": 34
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 0.2916666666666667,
|
293 |
+
"grad_norm": 1.2870112657546997,
|
294 |
+
"learning_rate": 0.001,
|
295 |
+
"loss": 0.5613,
|
296 |
+
"step": 35
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 0.2916666666666667,
|
300 |
+
"eval_runtime": 3.588,
|
301 |
+
"eval_samples_per_second": 33.445,
|
302 |
+
"eval_steps_per_second": 8.361,
|
303 |
+
"step": 35
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 0.3,
|
307 |
+
"grad_norm": 1.688391089439392,
|
308 |
+
"learning_rate": 0.001,
|
309 |
+
"loss": 1.0115,
|
310 |
+
"step": 36
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 0.30833333333333335,
|
314 |
+
"grad_norm": 1.2139495611190796,
|
315 |
+
"learning_rate": 0.001,
|
316 |
+
"loss": 0.5916,
|
317 |
+
"step": 37
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 0.31666666666666665,
|
321 |
+
"grad_norm": 1.4497591257095337,
|
322 |
+
"learning_rate": 0.001,
|
323 |
+
"loss": 0.6898,
|
324 |
+
"step": 38
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 0.325,
|
328 |
+
"grad_norm": 1.30401611328125,
|
329 |
+
"learning_rate": 0.001,
|
330 |
+
"loss": 0.52,
|
331 |
+
"step": 39
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 0.3333333333333333,
|
335 |
+
"grad_norm": 1.073735237121582,
|
336 |
+
"learning_rate": 0.001,
|
337 |
+
"loss": 0.6473,
|
338 |
+
"step": 40
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 0.3333333333333333,
|
342 |
+
"eval_runtime": 3.5897,
|
343 |
+
"eval_samples_per_second": 33.429,
|
344 |
+
"eval_steps_per_second": 8.357,
|
345 |
+
"step": 40
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 0.3416666666666667,
|
349 |
+
"grad_norm": 1.5980756282806396,
|
350 |
+
"learning_rate": 0.001,
|
351 |
+
"loss": 0.8344,
|
352 |
+
"step": 41
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 0.35,
|
356 |
+
"grad_norm": 1.258363127708435,
|
357 |
+
"learning_rate": 0.001,
|
358 |
+
"loss": 0.6081,
|
359 |
+
"step": 42
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 0.35833333333333334,
|
363 |
+
"grad_norm": 1.024636149406433,
|
364 |
+
"learning_rate": 0.001,
|
365 |
+
"loss": 0.6289,
|
366 |
+
"step": 43
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 0.36666666666666664,
|
370 |
+
"grad_norm": 1.5615390539169312,
|
371 |
+
"learning_rate": 0.001,
|
372 |
+
"loss": 0.7437,
|
373 |
+
"step": 44
|
374 |
+
},
|
375 |
+
{
|
376 |
+
"epoch": 0.375,
|
377 |
+
"grad_norm": 0.8973283767700195,
|
378 |
+
"learning_rate": 0.001,
|
379 |
+
"loss": 0.4438,
|
380 |
+
"step": 45
|
381 |
+
},
|
382 |
+
{
|
383 |
+
"epoch": 0.375,
|
384 |
+
"eval_runtime": 3.5911,
|
385 |
+
"eval_samples_per_second": 33.416,
|
386 |
+
"eval_steps_per_second": 8.354,
|
387 |
+
"step": 45
|
388 |
+
},
|
389 |
+
{
|
390 |
+
"epoch": 0.38333333333333336,
|
391 |
+
"grad_norm": 1.1488583087921143,
|
392 |
+
"learning_rate": 0.001,
|
393 |
+
"loss": 0.5021,
|
394 |
+
"step": 46
|
395 |
+
},
|
396 |
+
{
|
397 |
+
"epoch": 0.39166666666666666,
|
398 |
+
"grad_norm": 1.375650405883789,
|
399 |
+
"learning_rate": 0.001,
|
400 |
+
"loss": 0.6016,
|
401 |
+
"step": 47
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"epoch": 0.4,
|
405 |
+
"grad_norm": 1.5815932750701904,
|
406 |
+
"learning_rate": 0.001,
|
407 |
+
"loss": 0.6879,
|
408 |
+
"step": 48
|
409 |
+
},
|
410 |
+
{
|
411 |
+
"epoch": 0.4083333333333333,
|
412 |
+
"grad_norm": 1.1033896207809448,
|
413 |
+
"learning_rate": 0.001,
|
414 |
+
"loss": 0.3819,
|
415 |
+
"step": 49
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"epoch": 0.4166666666666667,
|
419 |
+
"grad_norm": 1.599068522453308,
|
420 |
+
"learning_rate": 0.001,
|
421 |
+
"loss": 0.8746,
|
422 |
+
"step": 50
|
423 |
+
},
|
424 |
+
{
|
425 |
+
"epoch": 0.4166666666666667,
|
426 |
+
"eval_runtime": 3.595,
|
427 |
+
"eval_samples_per_second": 33.38,
|
428 |
+
"eval_steps_per_second": 8.345,
|
429 |
+
"step": 50
|
430 |
+
}
|
431 |
+
],
|
432 |
+
"logging_steps": 1,
|
433 |
+
"max_steps": 1200,
|
434 |
+
"num_input_tokens_seen": 0,
|
435 |
+
"num_train_epochs": 10,
|
436 |
+
"save_steps": 10,
|
437 |
+
"stateful_callbacks": {
|
438 |
+
"TrainerControl": {
|
439 |
+
"args": {
|
440 |
+
"should_epoch_stop": false,
|
441 |
+
"should_evaluate": false,
|
442 |
+
"should_log": false,
|
443 |
+
"should_save": true,
|
444 |
+
"should_training_stop": false
|
445 |
+
},
|
446 |
+
"attributes": {}
|
447 |
+
}
|
448 |
+
},
|
449 |
+
"total_flos": 555193368576000.0,
|
450 |
+
"train_batch_size": 4,
|
451 |
+
"trial_name": null,
|
452 |
+
"trial_params": null
|
453 |
+
}
|
training_args.bin
ADDED
Binary file (5.56 kB). View file
|
|