shaswatamitra
commited on
Commit
•
09d945f
1
Parent(s):
09e545f
Upload folder using huggingface_hub
Browse files- README.md +45 -0
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- checkpoint-1730/README.md +202 -0
- checkpoint-1730/adapter_config.json +29 -0
- checkpoint-1730/adapter_model.safetensors +3 -0
- checkpoint-1730/optimizer.pt +3 -0
- checkpoint-1730/pytorch_model.bin +3 -0
- checkpoint-1730/rng_state.pth +3 -0
- checkpoint-1730/scheduler.pt +3 -0
- checkpoint-1730/special_tokens_map.json +35 -0
- checkpoint-1730/tokenizer.json +0 -0
- checkpoint-1730/tokenizer.model +3 -0
- checkpoint-1730/tokenizer_config.json +48 -0
- checkpoint-1730/trainer_state.json +504 -0
- checkpoint-1730/training_args.bin +3 -0
- special_tokens_map.json +35 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +48 -0
- training_args.bin +3 -0
- training_params.json +47 -0
README.md
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- text-generation-inference
|
5 |
+
- text-generation
|
6 |
+
- peft
|
7 |
+
library_name: transformers
|
8 |
+
widget:
|
9 |
+
- messages:
|
10 |
+
- role: user
|
11 |
+
content: What is your favorite condiment?
|
12 |
+
license: other
|
13 |
+
---
|
14 |
+
|
15 |
+
# Model Trained Using AutoTrain
|
16 |
+
|
17 |
+
This model was trained using AutoTrain. For more information, please visit [AutoTrain](https://hf.co/docs/autotrain).
|
18 |
+
|
19 |
+
# Usage
|
20 |
+
|
21 |
+
```python
|
22 |
+
|
23 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
24 |
+
|
25 |
+
model_path = "PATH_TO_THIS_REPO"
|
26 |
+
|
27 |
+
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
28 |
+
model = AutoModelForCausalLM.from_pretrained(
|
29 |
+
model_path,
|
30 |
+
device_map="auto",
|
31 |
+
torch_dtype='auto'
|
32 |
+
).eval()
|
33 |
+
|
34 |
+
# Prompt content: "hi"
|
35 |
+
messages = [
|
36 |
+
{"role": "user", "content": "hi"}
|
37 |
+
]
|
38 |
+
|
39 |
+
input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, add_generation_prompt=True, return_tensors='pt')
|
40 |
+
output_ids = model.generate(input_ids.to('cuda'))
|
41 |
+
response = tokenizer.decode(output_ids[0][input_ids.shape[1]:], skip_special_tokens=True)
|
42 |
+
|
43 |
+
# Model response: "Hello! How can I assist you today?"
|
44 |
+
print(response)
|
45 |
+
```
|
adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "FelixChao/WestSeverus-7B-DPO-v2",
|
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 |
+
"v_proj",
|
24 |
+
"q_proj"
|
25 |
+
],
|
26 |
+
"task_type": "CAUSAL_LM",
|
27 |
+
"use_dora": false,
|
28 |
+
"use_rslora": false
|
29 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10cb162d1174b7eada448dce40914a41cd4397087709d23445073cc312eb30e9
|
3 |
+
size 27280152
|
checkpoint-1730/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: FelixChao/WestSeverus-7B-DPO-v2
|
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.10.0
|
checkpoint-1730/adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "FelixChao/WestSeverus-7B-DPO-v2",
|
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 |
+
"v_proj",
|
24 |
+
"q_proj"
|
25 |
+
],
|
26 |
+
"task_type": "CAUSAL_LM",
|
27 |
+
"use_dora": false,
|
28 |
+
"use_rslora": false
|
29 |
+
}
|
checkpoint-1730/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10cb162d1174b7eada448dce40914a41cd4397087709d23445073cc312eb30e9
|
3 |
+
size 27280152
|
checkpoint-1730/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0e5ea926f30dec8f1f7ea4bd3a1262e895be52be50c1038d1ed588c4f35e246
|
3 |
+
size 54633978
|
checkpoint-1730/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:049c26b844b79121ddd8379f7f69194e63f6fbf6aa007eeac0c66f17eebb8893
|
3 |
+
size 888
|
checkpoint-1730/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c41b4c69c37bb2ed79fa5d2d52ea3cb72f6d4d261e0a9c3cf68da3def25cdafb
|
3 |
+
size 14244
|
checkpoint-1730/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a45be167dd78c26eb868a87918e04ed24d92531f833212cb351b7fb0aaebd40
|
3 |
+
size 1064
|
checkpoint-1730/special_tokens_map.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<unk>",
|
4 |
+
"<s>",
|
5 |
+
"</s>"
|
6 |
+
],
|
7 |
+
"bos_token": {
|
8 |
+
"content": "<s>",
|
9 |
+
"lstrip": false,
|
10 |
+
"normalized": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"single_word": false
|
13 |
+
},
|
14 |
+
"eos_token": {
|
15 |
+
"content": "</s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"pad_token": {
|
22 |
+
"content": "<unk>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
},
|
28 |
+
"unk_token": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false
|
34 |
+
}
|
35 |
+
}
|
checkpoint-1730/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-1730/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
checkpoint-1730/tokenizer_config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"additional_special_tokens": [
|
31 |
+
"<unk>",
|
32 |
+
"<s>",
|
33 |
+
"</s>"
|
34 |
+
],
|
35 |
+
"bos_token": "<s>",
|
36 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
37 |
+
"clean_up_tokenization_spaces": false,
|
38 |
+
"eos_token": "</s>",
|
39 |
+
"legacy": true,
|
40 |
+
"model_max_length": 255,
|
41 |
+
"pad_token": "<unk>",
|
42 |
+
"padding_side": "right",
|
43 |
+
"sp_model_kwargs": {},
|
44 |
+
"spaces_between_special_tokens": false,
|
45 |
+
"tokenizer_class": "LlamaTokenizer",
|
46 |
+
"unk_token": "<unk>",
|
47 |
+
"use_default_system_prompt": true
|
48 |
+
}
|
checkpoint-1730/trainer_state.json
ADDED
@@ -0,0 +1,504 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 5.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1730,
|
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.07,
|
13 |
+
"grad_norm": 4.66322660446167,
|
14 |
+
"learning_rate": 2.8901734104046245e-05,
|
15 |
+
"loss": 2.8724,
|
16 |
+
"step": 25
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.14,
|
20 |
+
"grad_norm": 4.364796161651611,
|
21 |
+
"learning_rate": 5.780346820809249e-05,
|
22 |
+
"loss": 1.8669,
|
23 |
+
"step": 50
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.22,
|
27 |
+
"grad_norm": 7.0544962882995605,
|
28 |
+
"learning_rate": 8.670520231213874e-05,
|
29 |
+
"loss": 1.0394,
|
30 |
+
"step": 75
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.29,
|
34 |
+
"grad_norm": 2.588165521621704,
|
35 |
+
"learning_rate": 0.00011560693641618498,
|
36 |
+
"loss": 0.8095,
|
37 |
+
"step": 100
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.36,
|
41 |
+
"grad_norm": 2.311723470687866,
|
42 |
+
"learning_rate": 0.00014450867052023122,
|
43 |
+
"loss": 0.7673,
|
44 |
+
"step": 125
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.43,
|
48 |
+
"grad_norm": 2.0632615089416504,
|
49 |
+
"learning_rate": 0.00017341040462427748,
|
50 |
+
"loss": 0.7738,
|
51 |
+
"step": 150
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.51,
|
55 |
+
"grad_norm": 1.7875710725784302,
|
56 |
+
"learning_rate": 0.00019974309569685292,
|
57 |
+
"loss": 0.7151,
|
58 |
+
"step": 175
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.58,
|
62 |
+
"grad_norm": 1.7314724922180176,
|
63 |
+
"learning_rate": 0.00019653179190751445,
|
64 |
+
"loss": 0.6782,
|
65 |
+
"step": 200
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.65,
|
69 |
+
"grad_norm": 2.1410841941833496,
|
70 |
+
"learning_rate": 0.00019332048811817598,
|
71 |
+
"loss": 0.6733,
|
72 |
+
"step": 225
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.72,
|
76 |
+
"grad_norm": 1.6796475648880005,
|
77 |
+
"learning_rate": 0.0001901091843288375,
|
78 |
+
"loss": 0.711,
|
79 |
+
"step": 250
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.79,
|
83 |
+
"grad_norm": 1.9651137590408325,
|
84 |
+
"learning_rate": 0.00018689788053949903,
|
85 |
+
"loss": 0.6285,
|
86 |
+
"step": 275
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.87,
|
90 |
+
"grad_norm": 1.9334725141525269,
|
91 |
+
"learning_rate": 0.00018368657675016056,
|
92 |
+
"loss": 0.6387,
|
93 |
+
"step": 300
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.94,
|
97 |
+
"grad_norm": 1.9697507619857788,
|
98 |
+
"learning_rate": 0.00018047527296082209,
|
99 |
+
"loss": 0.6203,
|
100 |
+
"step": 325
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 1.01,
|
104 |
+
"grad_norm": 1.5927447080612183,
|
105 |
+
"learning_rate": 0.0001772639691714836,
|
106 |
+
"loss": 0.6036,
|
107 |
+
"step": 350
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 1.08,
|
111 |
+
"grad_norm": 1.5775573253631592,
|
112 |
+
"learning_rate": 0.00017405266538214514,
|
113 |
+
"loss": 0.5443,
|
114 |
+
"step": 375
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 1.16,
|
118 |
+
"grad_norm": 2.265123128890991,
|
119 |
+
"learning_rate": 0.0001708413615928067,
|
120 |
+
"loss": 0.5864,
|
121 |
+
"step": 400
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 1.23,
|
125 |
+
"grad_norm": 1.9081721305847168,
|
126 |
+
"learning_rate": 0.00016763005780346822,
|
127 |
+
"loss": 0.497,
|
128 |
+
"step": 425
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 1.3,
|
132 |
+
"grad_norm": 1.7822768688201904,
|
133 |
+
"learning_rate": 0.00016441875401412975,
|
134 |
+
"loss": 0.5652,
|
135 |
+
"step": 450
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 1.37,
|
139 |
+
"grad_norm": 1.585552453994751,
|
140 |
+
"learning_rate": 0.00016120745022479128,
|
141 |
+
"loss": 0.5356,
|
142 |
+
"step": 475
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 1.45,
|
146 |
+
"grad_norm": 1.8936752080917358,
|
147 |
+
"learning_rate": 0.0001579961464354528,
|
148 |
+
"loss": 0.4897,
|
149 |
+
"step": 500
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.52,
|
153 |
+
"grad_norm": 1.7502835988998413,
|
154 |
+
"learning_rate": 0.00015478484264611433,
|
155 |
+
"loss": 0.5051,
|
156 |
+
"step": 525
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 1.59,
|
160 |
+
"grad_norm": 1.6106928586959839,
|
161 |
+
"learning_rate": 0.00015157353885677586,
|
162 |
+
"loss": 0.5034,
|
163 |
+
"step": 550
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 1.66,
|
167 |
+
"grad_norm": 1.6488401889801025,
|
168 |
+
"learning_rate": 0.00014836223506743738,
|
169 |
+
"loss": 0.4692,
|
170 |
+
"step": 575
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 1.73,
|
174 |
+
"grad_norm": 1.5491576194763184,
|
175 |
+
"learning_rate": 0.0001451509312780989,
|
176 |
+
"loss": 0.5016,
|
177 |
+
"step": 600
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 1.81,
|
181 |
+
"grad_norm": 1.7753480672836304,
|
182 |
+
"learning_rate": 0.00014193962748876044,
|
183 |
+
"loss": 0.4836,
|
184 |
+
"step": 625
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 1.88,
|
188 |
+
"grad_norm": 1.5605947971343994,
|
189 |
+
"learning_rate": 0.00013872832369942197,
|
190 |
+
"loss": 0.5059,
|
191 |
+
"step": 650
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 1.95,
|
195 |
+
"grad_norm": 1.4864176511764526,
|
196 |
+
"learning_rate": 0.0001355170199100835,
|
197 |
+
"loss": 0.4667,
|
198 |
+
"step": 675
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 2.02,
|
202 |
+
"grad_norm": 1.6282180547714233,
|
203 |
+
"learning_rate": 0.00013230571612074502,
|
204 |
+
"loss": 0.4208,
|
205 |
+
"step": 700
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 2.1,
|
209 |
+
"grad_norm": 1.9214680194854736,
|
210 |
+
"learning_rate": 0.00012909441233140655,
|
211 |
+
"loss": 0.3733,
|
212 |
+
"step": 725
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 2.17,
|
216 |
+
"grad_norm": 1.9027807712554932,
|
217 |
+
"learning_rate": 0.00012588310854206808,
|
218 |
+
"loss": 0.3831,
|
219 |
+
"step": 750
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 2.24,
|
223 |
+
"grad_norm": 1.756855845451355,
|
224 |
+
"learning_rate": 0.0001226718047527296,
|
225 |
+
"loss": 0.3876,
|
226 |
+
"step": 775
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 2.31,
|
230 |
+
"grad_norm": 1.5269505977630615,
|
231 |
+
"learning_rate": 0.00011946050096339114,
|
232 |
+
"loss": 0.3847,
|
233 |
+
"step": 800
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 2.38,
|
237 |
+
"grad_norm": 1.7476940155029297,
|
238 |
+
"learning_rate": 0.00011624919717405267,
|
239 |
+
"loss": 0.3604,
|
240 |
+
"step": 825
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 2.46,
|
244 |
+
"grad_norm": 1.8043824434280396,
|
245 |
+
"learning_rate": 0.0001130378933847142,
|
246 |
+
"loss": 0.384,
|
247 |
+
"step": 850
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 2.53,
|
251 |
+
"grad_norm": 1.4151132106781006,
|
252 |
+
"learning_rate": 0.00010982658959537572,
|
253 |
+
"loss": 0.3745,
|
254 |
+
"step": 875
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 2.6,
|
258 |
+
"grad_norm": 1.907926082611084,
|
259 |
+
"learning_rate": 0.00010661528580603725,
|
260 |
+
"loss": 0.372,
|
261 |
+
"step": 900
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 2.67,
|
265 |
+
"grad_norm": 1.8263049125671387,
|
266 |
+
"learning_rate": 0.00010340398201669879,
|
267 |
+
"loss": 0.3972,
|
268 |
+
"step": 925
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 2.75,
|
272 |
+
"grad_norm": 1.8957775831222534,
|
273 |
+
"learning_rate": 0.00010019267822736032,
|
274 |
+
"loss": 0.3967,
|
275 |
+
"step": 950
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 2.82,
|
279 |
+
"grad_norm": 1.772609829902649,
|
280 |
+
"learning_rate": 9.698137443802185e-05,
|
281 |
+
"loss": 0.3775,
|
282 |
+
"step": 975
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 2.89,
|
286 |
+
"grad_norm": 1.976365566253662,
|
287 |
+
"learning_rate": 9.377007064868337e-05,
|
288 |
+
"loss": 0.4043,
|
289 |
+
"step": 1000
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 2.96,
|
293 |
+
"grad_norm": 1.689432978630066,
|
294 |
+
"learning_rate": 9.05587668593449e-05,
|
295 |
+
"loss": 0.3226,
|
296 |
+
"step": 1025
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 3.03,
|
300 |
+
"grad_norm": 1.9092849493026733,
|
301 |
+
"learning_rate": 8.734746307000643e-05,
|
302 |
+
"loss": 0.3758,
|
303 |
+
"step": 1050
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 3.11,
|
307 |
+
"grad_norm": 1.7606756687164307,
|
308 |
+
"learning_rate": 8.413615928066796e-05,
|
309 |
+
"loss": 0.3095,
|
310 |
+
"step": 1075
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 3.18,
|
314 |
+
"grad_norm": 1.8509767055511475,
|
315 |
+
"learning_rate": 8.092485549132948e-05,
|
316 |
+
"loss": 0.2712,
|
317 |
+
"step": 1100
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 3.25,
|
321 |
+
"grad_norm": 1.5414364337921143,
|
322 |
+
"learning_rate": 7.771355170199101e-05,
|
323 |
+
"loss": 0.2695,
|
324 |
+
"step": 1125
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 3.32,
|
328 |
+
"grad_norm": 1.8055434226989746,
|
329 |
+
"learning_rate": 7.450224791265255e-05,
|
330 |
+
"loss": 0.2828,
|
331 |
+
"step": 1150
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 3.4,
|
335 |
+
"grad_norm": 2.0254344940185547,
|
336 |
+
"learning_rate": 7.129094412331408e-05,
|
337 |
+
"loss": 0.2729,
|
338 |
+
"step": 1175
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 3.47,
|
342 |
+
"grad_norm": 2.2866463661193848,
|
343 |
+
"learning_rate": 6.80796403339756e-05,
|
344 |
+
"loss": 0.3022,
|
345 |
+
"step": 1200
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 3.54,
|
349 |
+
"grad_norm": 1.5647475719451904,
|
350 |
+
"learning_rate": 6.486833654463712e-05,
|
351 |
+
"loss": 0.2893,
|
352 |
+
"step": 1225
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 3.61,
|
356 |
+
"grad_norm": 1.9078121185302734,
|
357 |
+
"learning_rate": 6.165703275529865e-05,
|
358 |
+
"loss": 0.2751,
|
359 |
+
"step": 1250
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 3.68,
|
363 |
+
"grad_norm": 1.9310845136642456,
|
364 |
+
"learning_rate": 5.844572896596018e-05,
|
365 |
+
"loss": 0.2614,
|
366 |
+
"step": 1275
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 3.76,
|
370 |
+
"grad_norm": 1.5173165798187256,
|
371 |
+
"learning_rate": 5.523442517662171e-05,
|
372 |
+
"loss": 0.2781,
|
373 |
+
"step": 1300
|
374 |
+
},
|
375 |
+
{
|
376 |
+
"epoch": 3.83,
|
377 |
+
"grad_norm": 2.2908642292022705,
|
378 |
+
"learning_rate": 5.2023121387283234e-05,
|
379 |
+
"loss": 0.2889,
|
380 |
+
"step": 1325
|
381 |
+
},
|
382 |
+
{
|
383 |
+
"epoch": 3.9,
|
384 |
+
"grad_norm": 2.0346012115478516,
|
385 |
+
"learning_rate": 4.881181759794477e-05,
|
386 |
+
"loss": 0.2997,
|
387 |
+
"step": 1350
|
388 |
+
},
|
389 |
+
{
|
390 |
+
"epoch": 3.97,
|
391 |
+
"grad_norm": 1.6963484287261963,
|
392 |
+
"learning_rate": 4.56005138086063e-05,
|
393 |
+
"loss": 0.2415,
|
394 |
+
"step": 1375
|
395 |
+
},
|
396 |
+
{
|
397 |
+
"epoch": 4.05,
|
398 |
+
"grad_norm": 1.552463173866272,
|
399 |
+
"learning_rate": 4.238921001926782e-05,
|
400 |
+
"loss": 0.229,
|
401 |
+
"step": 1400
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"epoch": 4.12,
|
405 |
+
"grad_norm": 2.3235974311828613,
|
406 |
+
"learning_rate": 3.917790622992935e-05,
|
407 |
+
"loss": 0.1927,
|
408 |
+
"step": 1425
|
409 |
+
},
|
410 |
+
{
|
411 |
+
"epoch": 4.19,
|
412 |
+
"grad_norm": 1.6171674728393555,
|
413 |
+
"learning_rate": 3.596660244059088e-05,
|
414 |
+
"loss": 0.2116,
|
415 |
+
"step": 1450
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"epoch": 4.26,
|
419 |
+
"grad_norm": 1.9670432806015015,
|
420 |
+
"learning_rate": 3.275529865125241e-05,
|
421 |
+
"loss": 0.207,
|
422 |
+
"step": 1475
|
423 |
+
},
|
424 |
+
{
|
425 |
+
"epoch": 4.34,
|
426 |
+
"grad_norm": 2.1716980934143066,
|
427 |
+
"learning_rate": 2.9543994861913938e-05,
|
428 |
+
"loss": 0.2023,
|
429 |
+
"step": 1500
|
430 |
+
},
|
431 |
+
{
|
432 |
+
"epoch": 4.41,
|
433 |
+
"grad_norm": 2.0103349685668945,
|
434 |
+
"learning_rate": 2.6332691072575465e-05,
|
435 |
+
"loss": 0.2081,
|
436 |
+
"step": 1525
|
437 |
+
},
|
438 |
+
{
|
439 |
+
"epoch": 4.48,
|
440 |
+
"grad_norm": 2.488182544708252,
|
441 |
+
"learning_rate": 2.3121387283236996e-05,
|
442 |
+
"loss": 0.2206,
|
443 |
+
"step": 1550
|
444 |
+
},
|
445 |
+
{
|
446 |
+
"epoch": 4.55,
|
447 |
+
"grad_norm": 2.150543451309204,
|
448 |
+
"learning_rate": 1.9910083493898523e-05,
|
449 |
+
"loss": 0.1989,
|
450 |
+
"step": 1575
|
451 |
+
},
|
452 |
+
{
|
453 |
+
"epoch": 4.62,
|
454 |
+
"grad_norm": 1.952592134475708,
|
455 |
+
"learning_rate": 1.6698779704560053e-05,
|
456 |
+
"loss": 0.2074,
|
457 |
+
"step": 1600
|
458 |
+
},
|
459 |
+
{
|
460 |
+
"epoch": 4.7,
|
461 |
+
"grad_norm": 1.8111902475357056,
|
462 |
+
"learning_rate": 1.348747591522158e-05,
|
463 |
+
"loss": 0.2122,
|
464 |
+
"step": 1625
|
465 |
+
},
|
466 |
+
{
|
467 |
+
"epoch": 4.77,
|
468 |
+
"grad_norm": 2.595923662185669,
|
469 |
+
"learning_rate": 1.027617212588311e-05,
|
470 |
+
"loss": 0.191,
|
471 |
+
"step": 1650
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"epoch": 4.84,
|
475 |
+
"grad_norm": 2.17901611328125,
|
476 |
+
"learning_rate": 7.064868336544637e-06,
|
477 |
+
"loss": 0.2205,
|
478 |
+
"step": 1675
|
479 |
+
},
|
480 |
+
{
|
481 |
+
"epoch": 4.91,
|
482 |
+
"grad_norm": 2.284546136856079,
|
483 |
+
"learning_rate": 3.853564547206165e-06,
|
484 |
+
"loss": 0.2239,
|
485 |
+
"step": 1700
|
486 |
+
},
|
487 |
+
{
|
488 |
+
"epoch": 4.99,
|
489 |
+
"grad_norm": 2.4415647983551025,
|
490 |
+
"learning_rate": 6.422607578676943e-07,
|
491 |
+
"loss": 0.1967,
|
492 |
+
"step": 1725
|
493 |
+
}
|
494 |
+
],
|
495 |
+
"logging_steps": 25,
|
496 |
+
"max_steps": 1730,
|
497 |
+
"num_input_tokens_seen": 0,
|
498 |
+
"num_train_epochs": 5,
|
499 |
+
"save_steps": 500,
|
500 |
+
"total_flos": 7.5248089823232e+16,
|
501 |
+
"train_batch_size": 4,
|
502 |
+
"trial_name": null,
|
503 |
+
"trial_params": null
|
504 |
+
}
|
checkpoint-1730/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5651da0f60fb42e708a71f4df3418443474660dadaf10118fea5af3c40373954
|
3 |
+
size 4984
|
special_tokens_map.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<unk>",
|
4 |
+
"<s>",
|
5 |
+
"</s>"
|
6 |
+
],
|
7 |
+
"bos_token": {
|
8 |
+
"content": "<s>",
|
9 |
+
"lstrip": false,
|
10 |
+
"normalized": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"single_word": false
|
13 |
+
},
|
14 |
+
"eos_token": {
|
15 |
+
"content": "</s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"pad_token": {
|
22 |
+
"content": "<unk>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
},
|
28 |
+
"unk_token": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false
|
34 |
+
}
|
35 |
+
}
|
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,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"additional_special_tokens": [
|
31 |
+
"<unk>",
|
32 |
+
"<s>",
|
33 |
+
"</s>"
|
34 |
+
],
|
35 |
+
"bos_token": "<s>",
|
36 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
37 |
+
"clean_up_tokenization_spaces": false,
|
38 |
+
"eos_token": "</s>",
|
39 |
+
"legacy": true,
|
40 |
+
"model_max_length": 255,
|
41 |
+
"pad_token": "<unk>",
|
42 |
+
"padding_side": "right",
|
43 |
+
"sp_model_kwargs": {},
|
44 |
+
"spaces_between_special_tokens": false,
|
45 |
+
"tokenizer_class": "LlamaTokenizer",
|
46 |
+
"unk_token": "<unk>",
|
47 |
+
"use_default_system_prompt": true
|
48 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5651da0f60fb42e708a71f4df3418443474660dadaf10118fea5af3c40373954
|
3 |
+
size 4984
|
training_params.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": "FelixChao/WestSeverus-7B-DPO-v2",
|
3 |
+
"project_name": "westseverus-finetune2",
|
4 |
+
"data_path": "westseverus-finetune2/autotrain-data",
|
5 |
+
"train_split": "train",
|
6 |
+
"valid_split": null,
|
7 |
+
"add_eos_token": false,
|
8 |
+
"block_size": -1,
|
9 |
+
"model_max_length": 1024,
|
10 |
+
"padding": null,
|
11 |
+
"trainer": "sft",
|
12 |
+
"use_flash_attention_2": false,
|
13 |
+
"log": "none",
|
14 |
+
"disable_gradient_checkpointing": false,
|
15 |
+
"logging_steps": -1,
|
16 |
+
"evaluation_strategy": "epoch",
|
17 |
+
"save_total_limit": 1,
|
18 |
+
"save_strategy": "epoch",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": null,
|
21 |
+
"lr": 0.0002,
|
22 |
+
"epochs": 5,
|
23 |
+
"batch_size": 4,
|
24 |
+
"warmup_ratio": 0.1,
|
25 |
+
"gradient_accumulation": 1,
|
26 |
+
"optimizer": "adamw_torch",
|
27 |
+
"scheduler": "linear",
|
28 |
+
"weight_decay": 0.0,
|
29 |
+
"max_grad_norm": 1.0,
|
30 |
+
"seed": 42,
|
31 |
+
"chat_template": null,
|
32 |
+
"quantization": "int4",
|
33 |
+
"target_modules": "q_proj,v_proj",
|
34 |
+
"merge_adapter": false,
|
35 |
+
"peft": true,
|
36 |
+
"lora_r": 16,
|
37 |
+
"lora_alpha": 32,
|
38 |
+
"lora_dropout": 0.05,
|
39 |
+
"model_ref": null,
|
40 |
+
"dpo_beta": 0.1,
|
41 |
+
"prompt_text_column": "autotrain_prompt",
|
42 |
+
"text_column": "autotrain_text",
|
43 |
+
"rejected_text_column": "autotrain_rejected_text",
|
44 |
+
"push_to_hub": true,
|
45 |
+
"repo_id": "shaswatamitra/westseverus-finetuned2",
|
46 |
+
"username": null
|
47 |
+
}
|