chujing007
commited on
Commit
•
c8366c4
1
Parent(s):
393a2f2
Upload 11 files
Browse files- README.md +202 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- config.json +37 -0
- dataset_num_samples.json +1 -0
- non_lora_trainables.bin +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +51 -0
- trainer_state.json +441 -0
README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: GritLM/GritLM-7B
|
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.11.1
|
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "GritLM/GritLM-7B",
|
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.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 64,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"q_proj",
|
24 |
+
"down_proj",
|
25 |
+
"o_proj",
|
26 |
+
"gate_proj",
|
27 |
+
"v_proj",
|
28 |
+
"up_proj",
|
29 |
+
"k_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aeff1c5e572b3b0887453461e55481d8dee3887ee15ddf8fd7d762d9ce7ab3e0
|
3 |
+
size 671149168
|
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "GritLM/GritLM-7B",
|
3 |
+
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoModel": "GritLM/GritLM-7B--modeling_gritlm7b.MistralModel",
|
9 |
+
"AutoModelForCausalLM": "GritLM/GritLM-7B--modeling_gritlm7b.MistralForCausalLM",
|
10 |
+
"AutoModelForSequenceClassification": "GritLM/GritLM-7B--modeling_gritlm7b.MistralForSequenceClassification"
|
11 |
+
},
|
12 |
+
"bos_token_id": 1,
|
13 |
+
"eos_token_id": 2,
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 4096,
|
16 |
+
"id2label": {
|
17 |
+
"0": "LABEL_0"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 14336,
|
21 |
+
"label2id": {
|
22 |
+
"LABEL_0": 0
|
23 |
+
},
|
24 |
+
"max_position_embeddings": 32768,
|
25 |
+
"model_type": "mistral",
|
26 |
+
"num_attention_heads": 32,
|
27 |
+
"num_hidden_layers": 32,
|
28 |
+
"num_key_value_heads": 8,
|
29 |
+
"rms_norm_eps": 1e-05,
|
30 |
+
"rope_theta": 10000.0,
|
31 |
+
"sliding_window": 4096,
|
32 |
+
"tie_word_embeddings": false,
|
33 |
+
"torch_dtype": "bfloat16",
|
34 |
+
"transformers_version": "4.42.4",
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 32000
|
37 |
+
}
|
dataset_num_samples.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"embedding.jsonl": 57424, "generative.jsonl": 49759}
|
non_lora_trainables.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60fb82c3660319e6d0b239950b20c28181e97f1ade117dc0660b40e2ad94a89b
|
3 |
+
size 912
|
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": "<s>",
|
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
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:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
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 |
+
},
|
31 |
+
"additional_special_tokens": [],
|
32 |
+
"bos_token": "<s>",
|
33 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
34 |
+
"clean_up_tokenization_spaces": false,
|
35 |
+
"eos_token": "</s>",
|
36 |
+
"legacy": true,
|
37 |
+
"max_length": 2048,
|
38 |
+
"model_max_length": 1000000000000000019884624838656,
|
39 |
+
"pad_to_multiple_of": null,
|
40 |
+
"pad_token": "<s>",
|
41 |
+
"pad_token_type_id": 0,
|
42 |
+
"padding_side": "right",
|
43 |
+
"sp_model_kwargs": {},
|
44 |
+
"spaces_between_special_tokens": false,
|
45 |
+
"stride": 0,
|
46 |
+
"tokenizer_class": "LlamaTokenizer",
|
47 |
+
"truncation_side": "right",
|
48 |
+
"truncation_strategy": "longest_first",
|
49 |
+
"unk_token": "<unk>",
|
50 |
+
"use_default_system_prompt": false
|
51 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,441 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 28712,
|
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.01741432153803288,
|
13 |
+
"grad_norm": 9.577305793762207,
|
14 |
+
"learning_rate": 1.160092807424594e-05,
|
15 |
+
"loss": 3.1831,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.03482864307606576,
|
20 |
+
"grad_norm": 12.14001178741455,
|
21 |
+
"learning_rate": 1.9900897666068224e-05,
|
22 |
+
"loss": 2.7736,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.052242964614098636,
|
27 |
+
"grad_norm": 13.129646301269531,
|
28 |
+
"learning_rate": 1.9541831238779175e-05,
|
29 |
+
"loss": 2.6251,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.06965728615213151,
|
34 |
+
"grad_norm": 13.319927215576172,
|
35 |
+
"learning_rate": 1.9182764811490127e-05,
|
36 |
+
"loss": 2.685,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.0870716076901644,
|
41 |
+
"grad_norm": 9.90979290008545,
|
42 |
+
"learning_rate": 1.882369838420108e-05,
|
43 |
+
"loss": 2.4835,
|
44 |
+
"step": 2500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.10448592922819727,
|
48 |
+
"grad_norm": 7.106535911560059,
|
49 |
+
"learning_rate": 1.846463195691203e-05,
|
50 |
+
"loss": 2.4759,
|
51 |
+
"step": 3000
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.12190025076623015,
|
55 |
+
"grad_norm": 11.579163551330566,
|
56 |
+
"learning_rate": 1.8105565529622982e-05,
|
57 |
+
"loss": 2.4615,
|
58 |
+
"step": 3500
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.13931457230426303,
|
62 |
+
"grad_norm": 8.479988098144531,
|
63 |
+
"learning_rate": 1.7746499102333934e-05,
|
64 |
+
"loss": 2.5471,
|
65 |
+
"step": 4000
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.1567288938422959,
|
69 |
+
"grad_norm": 6.432307720184326,
|
70 |
+
"learning_rate": 1.7387432675044886e-05,
|
71 |
+
"loss": 2.4572,
|
72 |
+
"step": 4500
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.1741432153803288,
|
76 |
+
"grad_norm": 10.89651870727539,
|
77 |
+
"learning_rate": 1.7028366247755838e-05,
|
78 |
+
"loss": 2.4725,
|
79 |
+
"step": 5000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.19155753691836166,
|
83 |
+
"grad_norm": 8.298269271850586,
|
84 |
+
"learning_rate": 1.6669299820466786e-05,
|
85 |
+
"loss": 2.4184,
|
86 |
+
"step": 5500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.20897185845639454,
|
90 |
+
"grad_norm": 3.4620511531829834,
|
91 |
+
"learning_rate": 1.6310233393177738e-05,
|
92 |
+
"loss": 2.3301,
|
93 |
+
"step": 6000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.22638617999442742,
|
97 |
+
"grad_norm": 5.399957180023193,
|
98 |
+
"learning_rate": 1.5951166965888693e-05,
|
99 |
+
"loss": 2.4545,
|
100 |
+
"step": 6500
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.2438005015324603,
|
104 |
+
"grad_norm": 8.993759155273438,
|
105 |
+
"learning_rate": 1.559210053859964e-05,
|
106 |
+
"loss": 2.3337,
|
107 |
+
"step": 7000
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.26121482307049315,
|
111 |
+
"grad_norm": 3.5916497707366943,
|
112 |
+
"learning_rate": 1.5233034111310595e-05,
|
113 |
+
"loss": 2.4419,
|
114 |
+
"step": 7500
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.27862914460852606,
|
118 |
+
"grad_norm": 8.653467178344727,
|
119 |
+
"learning_rate": 1.4873967684021545e-05,
|
120 |
+
"loss": 2.3755,
|
121 |
+
"step": 8000
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.2960434661465589,
|
125 |
+
"grad_norm": 6.519212245941162,
|
126 |
+
"learning_rate": 1.4514901256732496e-05,
|
127 |
+
"loss": 2.3601,
|
128 |
+
"step": 8500
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.3134577876845918,
|
132 |
+
"grad_norm": 8.016100883483887,
|
133 |
+
"learning_rate": 1.4155834829443448e-05,
|
134 |
+
"loss": 2.2321,
|
135 |
+
"step": 9000
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.33087210922262467,
|
139 |
+
"grad_norm": 16.313932418823242,
|
140 |
+
"learning_rate": 1.37967684021544e-05,
|
141 |
+
"loss": 2.3488,
|
142 |
+
"step": 9500
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.3482864307606576,
|
146 |
+
"grad_norm": 28.44437026977539,
|
147 |
+
"learning_rate": 1.3437701974865352e-05,
|
148 |
+
"loss": 2.3364,
|
149 |
+
"step": 10000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.3657007522986904,
|
153 |
+
"grad_norm": 3.504075527191162,
|
154 |
+
"learning_rate": 1.3078635547576302e-05,
|
155 |
+
"loss": 2.2997,
|
156 |
+
"step": 10500
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.38311507383672333,
|
160 |
+
"grad_norm": 11.785683631896973,
|
161 |
+
"learning_rate": 1.2719569120287253e-05,
|
162 |
+
"loss": 2.3374,
|
163 |
+
"step": 11000
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.4005293953747562,
|
167 |
+
"grad_norm": 9.7432861328125,
|
168 |
+
"learning_rate": 1.2360502692998207e-05,
|
169 |
+
"loss": 2.266,
|
170 |
+
"step": 11500
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.4179437169127891,
|
174 |
+
"grad_norm": 8.663525581359863,
|
175 |
+
"learning_rate": 1.2001436265709157e-05,
|
176 |
+
"loss": 2.2722,
|
177 |
+
"step": 12000
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.43535803845082194,
|
181 |
+
"grad_norm": 8.145735740661621,
|
182 |
+
"learning_rate": 1.1642369838420109e-05,
|
183 |
+
"loss": 2.3819,
|
184 |
+
"step": 12500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.45277235998885484,
|
188 |
+
"grad_norm": 6.875612258911133,
|
189 |
+
"learning_rate": 1.1283303411131059e-05,
|
190 |
+
"loss": 2.3541,
|
191 |
+
"step": 13000
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.4701866815268877,
|
195 |
+
"grad_norm": 4.973703861236572,
|
196 |
+
"learning_rate": 1.0924236983842012e-05,
|
197 |
+
"loss": 2.3205,
|
198 |
+
"step": 13500
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.4876010030649206,
|
202 |
+
"grad_norm": 8.985243797302246,
|
203 |
+
"learning_rate": 1.0565170556552964e-05,
|
204 |
+
"loss": 2.3118,
|
205 |
+
"step": 14000
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.5050153246029535,
|
209 |
+
"grad_norm": 3.0293591022491455,
|
210 |
+
"learning_rate": 1.0206104129263914e-05,
|
211 |
+
"loss": 2.2947,
|
212 |
+
"step": 14500
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.5224296461409863,
|
216 |
+
"grad_norm": 11.419426918029785,
|
217 |
+
"learning_rate": 9.847037701974866e-06,
|
218 |
+
"loss": 2.2276,
|
219 |
+
"step": 15000
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.5398439676790192,
|
223 |
+
"grad_norm": 9.195966720581055,
|
224 |
+
"learning_rate": 9.487971274685817e-06,
|
225 |
+
"loss": 2.333,
|
226 |
+
"step": 15500
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.5572582892170521,
|
230 |
+
"grad_norm": 7.067108631134033,
|
231 |
+
"learning_rate": 9.128904847396769e-06,
|
232 |
+
"loss": 2.3562,
|
233 |
+
"step": 16000
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 0.574672610755085,
|
237 |
+
"grad_norm": 5.443989276885986,
|
238 |
+
"learning_rate": 8.769838420107721e-06,
|
239 |
+
"loss": 2.3378,
|
240 |
+
"step": 16500
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 0.5920869322931178,
|
244 |
+
"grad_norm": 10.031864166259766,
|
245 |
+
"learning_rate": 8.410771992818673e-06,
|
246 |
+
"loss": 2.3233,
|
247 |
+
"step": 17000
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 0.6095012538311507,
|
251 |
+
"grad_norm": 7.518855094909668,
|
252 |
+
"learning_rate": 8.051705565529624e-06,
|
253 |
+
"loss": 2.2783,
|
254 |
+
"step": 17500
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.6269155753691836,
|
258 |
+
"grad_norm": 8.214040756225586,
|
259 |
+
"learning_rate": 7.692639138240574e-06,
|
260 |
+
"loss": 2.1764,
|
261 |
+
"step": 18000
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 0.6443298969072165,
|
265 |
+
"grad_norm": 10.006634712219238,
|
266 |
+
"learning_rate": 7.333572710951526e-06,
|
267 |
+
"loss": 2.3743,
|
268 |
+
"step": 18500
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 0.6617442184452493,
|
272 |
+
"grad_norm": 8.866910934448242,
|
273 |
+
"learning_rate": 6.974506283662478e-06,
|
274 |
+
"loss": 2.3044,
|
275 |
+
"step": 19000
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 0.6791585399832822,
|
279 |
+
"grad_norm": 5.549246311187744,
|
280 |
+
"learning_rate": 6.6154398563734305e-06,
|
281 |
+
"loss": 2.2693,
|
282 |
+
"step": 19500
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 0.6965728615213151,
|
286 |
+
"grad_norm": 4.0343194007873535,
|
287 |
+
"learning_rate": 6.2563734290843814e-06,
|
288 |
+
"loss": 2.1788,
|
289 |
+
"step": 20000
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 0.713987183059348,
|
293 |
+
"grad_norm": 6.325515270233154,
|
294 |
+
"learning_rate": 5.897307001795332e-06,
|
295 |
+
"loss": 2.2589,
|
296 |
+
"step": 20500
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 0.7314015045973808,
|
300 |
+
"grad_norm": 5.234256267547607,
|
301 |
+
"learning_rate": 5.538240574506284e-06,
|
302 |
+
"loss": 2.1563,
|
303 |
+
"step": 21000
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 0.7488158261354138,
|
307 |
+
"grad_norm": 8.443244934082031,
|
308 |
+
"learning_rate": 5.179174147217235e-06,
|
309 |
+
"loss": 2.2293,
|
310 |
+
"step": 21500
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 0.7662301476734467,
|
314 |
+
"grad_norm": 3.8823511600494385,
|
315 |
+
"learning_rate": 4.820107719928187e-06,
|
316 |
+
"loss": 2.2258,
|
317 |
+
"step": 22000
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 0.7836444692114796,
|
321 |
+
"grad_norm": 6.5127034187316895,
|
322 |
+
"learning_rate": 4.4610412926391385e-06,
|
323 |
+
"loss": 2.1272,
|
324 |
+
"step": 22500
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 0.8010587907495124,
|
328 |
+
"grad_norm": 12.666552543640137,
|
329 |
+
"learning_rate": 4.10197486535009e-06,
|
330 |
+
"loss": 2.264,
|
331 |
+
"step": 23000
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 0.8184731122875453,
|
335 |
+
"grad_norm": 5.594479084014893,
|
336 |
+
"learning_rate": 3.7429084380610415e-06,
|
337 |
+
"loss": 2.2525,
|
338 |
+
"step": 23500
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 0.8358874338255782,
|
342 |
+
"grad_norm": 5.7376179695129395,
|
343 |
+
"learning_rate": 3.3838420107719933e-06,
|
344 |
+
"loss": 2.3071,
|
345 |
+
"step": 24000
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 0.8533017553636111,
|
349 |
+
"grad_norm": 12.593650817871094,
|
350 |
+
"learning_rate": 3.0247755834829446e-06,
|
351 |
+
"loss": 2.2623,
|
352 |
+
"step": 24500
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 0.8707160769016439,
|
356 |
+
"grad_norm": 10.175933837890625,
|
357 |
+
"learning_rate": 2.6657091561938963e-06,
|
358 |
+
"loss": 2.2561,
|
359 |
+
"step": 25000
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 0.8881303984396768,
|
363 |
+
"grad_norm": 11.089727401733398,
|
364 |
+
"learning_rate": 2.3066427289048477e-06,
|
365 |
+
"loss": 2.2185,
|
366 |
+
"step": 25500
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 0.9055447199777097,
|
370 |
+
"grad_norm": 7.090406894683838,
|
371 |
+
"learning_rate": 1.947576301615799e-06,
|
372 |
+
"loss": 2.204,
|
373 |
+
"step": 26000
|
374 |
+
},
|
375 |
+
{
|
376 |
+
"epoch": 0.9229590415157426,
|
377 |
+
"grad_norm": 16.22230339050293,
|
378 |
+
"learning_rate": 1.5885098743267505e-06,
|
379 |
+
"loss": 2.2285,
|
380 |
+
"step": 26500
|
381 |
+
},
|
382 |
+
{
|
383 |
+
"epoch": 0.9403733630537754,
|
384 |
+
"grad_norm": 4.419189929962158,
|
385 |
+
"learning_rate": 1.229443447037702e-06,
|
386 |
+
"loss": 2.2739,
|
387 |
+
"step": 27000
|
388 |
+
},
|
389 |
+
{
|
390 |
+
"epoch": 0.9577876845918083,
|
391 |
+
"grad_norm": 12.452730178833008,
|
392 |
+
"learning_rate": 8.703770197486536e-07,
|
393 |
+
"loss": 2.1793,
|
394 |
+
"step": 27500
|
395 |
+
},
|
396 |
+
{
|
397 |
+
"epoch": 0.9752020061298412,
|
398 |
+
"grad_norm": 19.379770278930664,
|
399 |
+
"learning_rate": 5.11310592459605e-07,
|
400 |
+
"loss": 2.1586,
|
401 |
+
"step": 28000
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"epoch": 0.9926163276678741,
|
405 |
+
"grad_norm": 19.553585052490234,
|
406 |
+
"learning_rate": 1.5224416517055656e-07,
|
407 |
+
"loss": 2.1482,
|
408 |
+
"step": 28500
|
409 |
+
},
|
410 |
+
{
|
411 |
+
"epoch": 1.0,
|
412 |
+
"step": 28712,
|
413 |
+
"total_flos": 0.0,
|
414 |
+
"train_loss": 2.343143721416024,
|
415 |
+
"train_runtime": 98844.7919,
|
416 |
+
"train_samples_per_second": 0.581,
|
417 |
+
"train_steps_per_second": 0.29
|
418 |
+
}
|
419 |
+
],
|
420 |
+
"logging_steps": 500,
|
421 |
+
"max_steps": 28712,
|
422 |
+
"num_input_tokens_seen": 0,
|
423 |
+
"num_train_epochs": 1,
|
424 |
+
"save_steps": 500.0,
|
425 |
+
"stateful_callbacks": {
|
426 |
+
"TrainerControl": {
|
427 |
+
"args": {
|
428 |
+
"should_epoch_stop": false,
|
429 |
+
"should_evaluate": false,
|
430 |
+
"should_log": false,
|
431 |
+
"should_save": false,
|
432 |
+
"should_training_stop": false
|
433 |
+
},
|
434 |
+
"attributes": {}
|
435 |
+
}
|
436 |
+
},
|
437 |
+
"total_flos": 0.0,
|
438 |
+
"train_batch_size": 2,
|
439 |
+
"trial_name": null,
|
440 |
+
"trial_params": null
|
441 |
+
}
|