Upload folder using huggingface_hub
Browse files- README.md +45 -0
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- checkpoint-2505/README.md +202 -0
- checkpoint-2505/adapter_config.json +29 -0
- checkpoint-2505/adapter_model.safetensors +3 -0
- checkpoint-2505/optimizer.pt +3 -0
- checkpoint-2505/pytorch_model.bin +3 -0
- checkpoint-2505/rng_state.pth +3 -0
- checkpoint-2505/scheduler.pt +3 -0
- checkpoint-2505/special_tokens_map.json +24 -0
- checkpoint-2505/tokenizer.json +0 -0
- checkpoint-2505/tokenizer.model +3 -0
- checkpoint-2505/tokenizer_config.json +43 -0
- checkpoint-2505/trainer_state.json +721 -0
- checkpoint-2505/training_args.bin +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +43 -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": "mistralai/Mistral-7B-Instruct-v0.2",
|
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 |
+
"q_proj",
|
24 |
+
"v_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:9de164553d9875ff6b058a1c80ac9771a26ab20bbcf138d4490b905849bcd597
|
3 |
+
size 27280152
|
checkpoint-2505/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
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-2505/adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
|
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 |
+
"q_proj",
|
24 |
+
"v_proj"
|
25 |
+
],
|
26 |
+
"task_type": "CAUSAL_LM",
|
27 |
+
"use_dora": false,
|
28 |
+
"use_rslora": false
|
29 |
+
}
|
checkpoint-2505/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9de164553d9875ff6b058a1c80ac9771a26ab20bbcf138d4490b905849bcd597
|
3 |
+
size 27280152
|
checkpoint-2505/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58468843091391e5a39ce46dc514616482488f40644155a5ba9deca22a03086e
|
3 |
+
size 54633978
|
checkpoint-2505/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-2505/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aabecaffa98a0420962e974473eb5688f0bc26aa4827c54a328c507b30c9ccc0
|
3 |
+
size 14244
|
checkpoint-2505/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f58df76e46c39eb1aff5e11e85c2d8d3dfbf27f9a9ea14408dfe371256bf0fd4
|
3 |
+
size 1064
|
checkpoint-2505/special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
checkpoint-2505/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-2505/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
checkpoint-2505/tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 2048,
|
37 |
+
"pad_token": "</s>",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|
checkpoint-2505/trainer_state.json
ADDED
@@ -0,0 +1,721 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2505,
|
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.029940119760479042,
|
13 |
+
"grad_norm": 1.6695125102996826,
|
14 |
+
"learning_rate": 2.98804780876494e-06,
|
15 |
+
"loss": 1.1663,
|
16 |
+
"step": 25
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.059880239520958084,
|
20 |
+
"grad_norm": 1.2466001510620117,
|
21 |
+
"learning_rate": 5.97609561752988e-06,
|
22 |
+
"loss": 1.0872,
|
23 |
+
"step": 50
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.08982035928143713,
|
27 |
+
"grad_norm": 1.3031201362609863,
|
28 |
+
"learning_rate": 8.964143426294822e-06,
|
29 |
+
"loss": 1.0409,
|
30 |
+
"step": 75
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.11976047904191617,
|
34 |
+
"grad_norm": 1.2915183305740356,
|
35 |
+
"learning_rate": 1.195219123505976e-05,
|
36 |
+
"loss": 0.9647,
|
37 |
+
"step": 100
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.1497005988023952,
|
41 |
+
"grad_norm": 1.2883236408233643,
|
42 |
+
"learning_rate": 1.4940239043824702e-05,
|
43 |
+
"loss": 0.8845,
|
44 |
+
"step": 125
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.17964071856287425,
|
48 |
+
"grad_norm": 1.2346601486206055,
|
49 |
+
"learning_rate": 1.7928286852589643e-05,
|
50 |
+
"loss": 0.7993,
|
51 |
+
"step": 150
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.20958083832335328,
|
55 |
+
"grad_norm": 1.6535353660583496,
|
56 |
+
"learning_rate": 2.0916334661354585e-05,
|
57 |
+
"loss": 0.7358,
|
58 |
+
"step": 175
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.23952095808383234,
|
62 |
+
"grad_norm": 1.7455912828445435,
|
63 |
+
"learning_rate": 2.390438247011952e-05,
|
64 |
+
"loss": 0.7181,
|
65 |
+
"step": 200
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.2694610778443114,
|
69 |
+
"grad_norm": 1.9179027080535889,
|
70 |
+
"learning_rate": 2.6892430278884462e-05,
|
71 |
+
"loss": 0.6732,
|
72 |
+
"step": 225
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.2994011976047904,
|
76 |
+
"grad_norm": 1.792811393737793,
|
77 |
+
"learning_rate": 2.9880478087649403e-05,
|
78 |
+
"loss": 0.6535,
|
79 |
+
"step": 250
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.32934131736526945,
|
83 |
+
"grad_norm": 1.7675724029541016,
|
84 |
+
"learning_rate": 2.9680567879325643e-05,
|
85 |
+
"loss": 0.6498,
|
86 |
+
"step": 275
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.3592814371257485,
|
90 |
+
"grad_norm": 1.713584303855896,
|
91 |
+
"learning_rate": 2.9347826086956523e-05,
|
92 |
+
"loss": 0.6196,
|
93 |
+
"step": 300
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.38922155688622756,
|
97 |
+
"grad_norm": 1.8329033851623535,
|
98 |
+
"learning_rate": 2.90150842945874e-05,
|
99 |
+
"loss": 0.6241,
|
100 |
+
"step": 325
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.41916167664670656,
|
104 |
+
"grad_norm": 1.9062732458114624,
|
105 |
+
"learning_rate": 2.868234250221828e-05,
|
106 |
+
"loss": 0.6262,
|
107 |
+
"step": 350
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.4491017964071856,
|
111 |
+
"grad_norm": 2.1072585582733154,
|
112 |
+
"learning_rate": 2.834960070984916e-05,
|
113 |
+
"loss": 0.6337,
|
114 |
+
"step": 375
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.47904191616766467,
|
118 |
+
"grad_norm": 1.9632734060287476,
|
119 |
+
"learning_rate": 2.8016858917480035e-05,
|
120 |
+
"loss": 0.6225,
|
121 |
+
"step": 400
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.5089820359281437,
|
125 |
+
"grad_norm": 1.9905979633331299,
|
126 |
+
"learning_rate": 2.7684117125110915e-05,
|
127 |
+
"loss": 0.6079,
|
128 |
+
"step": 425
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.5389221556886228,
|
132 |
+
"grad_norm": 1.9922906160354614,
|
133 |
+
"learning_rate": 2.735137533274179e-05,
|
134 |
+
"loss": 0.615,
|
135 |
+
"step": 450
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.5688622754491018,
|
139 |
+
"grad_norm": 1.898781418800354,
|
140 |
+
"learning_rate": 2.701863354037267e-05,
|
141 |
+
"loss": 0.612,
|
142 |
+
"step": 475
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.5988023952095808,
|
146 |
+
"grad_norm": 2.038163423538208,
|
147 |
+
"learning_rate": 2.668589174800355e-05,
|
148 |
+
"loss": 0.6307,
|
149 |
+
"step": 500
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.6287425149700598,
|
153 |
+
"grad_norm": 1.7456048727035522,
|
154 |
+
"learning_rate": 2.635314995563443e-05,
|
155 |
+
"loss": 0.6021,
|
156 |
+
"step": 525
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.6586826347305389,
|
160 |
+
"grad_norm": 1.9026494026184082,
|
161 |
+
"learning_rate": 2.6020408163265307e-05,
|
162 |
+
"loss": 0.6123,
|
163 |
+
"step": 550
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.688622754491018,
|
167 |
+
"grad_norm": 1.8563848733901978,
|
168 |
+
"learning_rate": 2.5687666370896187e-05,
|
169 |
+
"loss": 0.6272,
|
170 |
+
"step": 575
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.718562874251497,
|
174 |
+
"grad_norm": 1.7864805459976196,
|
175 |
+
"learning_rate": 2.5354924578527063e-05,
|
176 |
+
"loss": 0.6147,
|
177 |
+
"step": 600
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.7485029940119761,
|
181 |
+
"grad_norm": 1.581784963607788,
|
182 |
+
"learning_rate": 2.5022182786157943e-05,
|
183 |
+
"loss": 0.6003,
|
184 |
+
"step": 625
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.7784431137724551,
|
188 |
+
"grad_norm": 1.7364259958267212,
|
189 |
+
"learning_rate": 2.4689440993788823e-05,
|
190 |
+
"loss": 0.5972,
|
191 |
+
"step": 650
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.8083832335329342,
|
195 |
+
"grad_norm": 1.889833927154541,
|
196 |
+
"learning_rate": 2.43566992014197e-05,
|
197 |
+
"loss": 0.6206,
|
198 |
+
"step": 675
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.8383233532934131,
|
202 |
+
"grad_norm": 1.6451694965362549,
|
203 |
+
"learning_rate": 2.402395740905058e-05,
|
204 |
+
"loss": 0.6084,
|
205 |
+
"step": 700
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.8682634730538922,
|
209 |
+
"grad_norm": 1.9670981168746948,
|
210 |
+
"learning_rate": 2.3691215616681455e-05,
|
211 |
+
"loss": 0.58,
|
212 |
+
"step": 725
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.8982035928143712,
|
216 |
+
"grad_norm": 1.8126428127288818,
|
217 |
+
"learning_rate": 2.3358473824312335e-05,
|
218 |
+
"loss": 0.6039,
|
219 |
+
"step": 750
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.9281437125748503,
|
223 |
+
"grad_norm": 1.6846369504928589,
|
224 |
+
"learning_rate": 2.302573203194321e-05,
|
225 |
+
"loss": 0.6032,
|
226 |
+
"step": 775
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.9580838323353293,
|
230 |
+
"grad_norm": 1.777023434638977,
|
231 |
+
"learning_rate": 2.269299023957409e-05,
|
232 |
+
"loss": 0.5884,
|
233 |
+
"step": 800
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 0.9880239520958084,
|
237 |
+
"grad_norm": 1.7603051662445068,
|
238 |
+
"learning_rate": 2.2360248447204967e-05,
|
239 |
+
"loss": 0.6098,
|
240 |
+
"step": 825
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 1.0179640718562875,
|
244 |
+
"grad_norm": 1.8388431072235107,
|
245 |
+
"learning_rate": 2.2027506654835847e-05,
|
246 |
+
"loss": 0.5802,
|
247 |
+
"step": 850
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 1.0479041916167664,
|
251 |
+
"grad_norm": 1.9411472082138062,
|
252 |
+
"learning_rate": 2.1694764862466724e-05,
|
253 |
+
"loss": 0.596,
|
254 |
+
"step": 875
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 1.0778443113772456,
|
258 |
+
"grad_norm": 1.8858859539031982,
|
259 |
+
"learning_rate": 2.1362023070097603e-05,
|
260 |
+
"loss": 0.5776,
|
261 |
+
"step": 900
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 1.1077844311377245,
|
265 |
+
"grad_norm": 1.9276236295700073,
|
266 |
+
"learning_rate": 2.1029281277728483e-05,
|
267 |
+
"loss": 0.5673,
|
268 |
+
"step": 925
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 1.1377245508982037,
|
272 |
+
"grad_norm": 2.1130690574645996,
|
273 |
+
"learning_rate": 2.0696539485359363e-05,
|
274 |
+
"loss": 0.5859,
|
275 |
+
"step": 950
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 1.1676646706586826,
|
279 |
+
"grad_norm": 2.248739004135132,
|
280 |
+
"learning_rate": 2.0363797692990243e-05,
|
281 |
+
"loss": 0.5856,
|
282 |
+
"step": 975
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 1.1976047904191618,
|
286 |
+
"grad_norm": 2.193042516708374,
|
287 |
+
"learning_rate": 2.003105590062112e-05,
|
288 |
+
"loss": 0.5803,
|
289 |
+
"step": 1000
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 1.2275449101796407,
|
293 |
+
"grad_norm": 1.9028452634811401,
|
294 |
+
"learning_rate": 1.9698314108252e-05,
|
295 |
+
"loss": 0.5721,
|
296 |
+
"step": 1025
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 1.2574850299401197,
|
300 |
+
"grad_norm": 2.1685469150543213,
|
301 |
+
"learning_rate": 1.9365572315882875e-05,
|
302 |
+
"loss": 0.5854,
|
303 |
+
"step": 1050
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 1.2874251497005988,
|
307 |
+
"grad_norm": 1.913358449935913,
|
308 |
+
"learning_rate": 1.9032830523513755e-05,
|
309 |
+
"loss": 0.5739,
|
310 |
+
"step": 1075
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 1.3173652694610778,
|
314 |
+
"grad_norm": 2.101280450820923,
|
315 |
+
"learning_rate": 1.870008873114463e-05,
|
316 |
+
"loss": 0.5757,
|
317 |
+
"step": 1100
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 1.347305389221557,
|
321 |
+
"grad_norm": 1.8946870565414429,
|
322 |
+
"learning_rate": 1.836734693877551e-05,
|
323 |
+
"loss": 0.5652,
|
324 |
+
"step": 1125
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 1.377245508982036,
|
328 |
+
"grad_norm": 1.9929522275924683,
|
329 |
+
"learning_rate": 1.8034605146406388e-05,
|
330 |
+
"loss": 0.5717,
|
331 |
+
"step": 1150
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 1.407185628742515,
|
335 |
+
"grad_norm": 1.9487309455871582,
|
336 |
+
"learning_rate": 1.7701863354037267e-05,
|
337 |
+
"loss": 0.5633,
|
338 |
+
"step": 1175
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 1.437125748502994,
|
342 |
+
"grad_norm": 2.029733896255493,
|
343 |
+
"learning_rate": 1.7369121561668147e-05,
|
344 |
+
"loss": 0.566,
|
345 |
+
"step": 1200
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 1.467065868263473,
|
349 |
+
"grad_norm": 2.0024046897888184,
|
350 |
+
"learning_rate": 1.7036379769299024e-05,
|
351 |
+
"loss": 0.5707,
|
352 |
+
"step": 1225
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 1.4970059880239521,
|
356 |
+
"grad_norm": 2.075111150741577,
|
357 |
+
"learning_rate": 1.6703637976929903e-05,
|
358 |
+
"loss": 0.5707,
|
359 |
+
"step": 1250
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 1.5269461077844313,
|
363 |
+
"grad_norm": 2.050729751586914,
|
364 |
+
"learning_rate": 1.637089618456078e-05,
|
365 |
+
"loss": 0.5769,
|
366 |
+
"step": 1275
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 1.55688622754491,
|
370 |
+
"grad_norm": 1.8547407388687134,
|
371 |
+
"learning_rate": 1.603815439219166e-05,
|
372 |
+
"loss": 0.5821,
|
373 |
+
"step": 1300
|
374 |
+
},
|
375 |
+
{
|
376 |
+
"epoch": 1.5868263473053892,
|
377 |
+
"grad_norm": 1.965280294418335,
|
378 |
+
"learning_rate": 1.5705412599822536e-05,
|
379 |
+
"loss": 0.5611,
|
380 |
+
"step": 1325
|
381 |
+
},
|
382 |
+
{
|
383 |
+
"epoch": 1.6167664670658684,
|
384 |
+
"grad_norm": 2.0741708278656006,
|
385 |
+
"learning_rate": 1.5372670807453416e-05,
|
386 |
+
"loss": 0.5786,
|
387 |
+
"step": 1350
|
388 |
+
},
|
389 |
+
{
|
390 |
+
"epoch": 1.6467065868263473,
|
391 |
+
"grad_norm": 1.8129183053970337,
|
392 |
+
"learning_rate": 1.5039929015084294e-05,
|
393 |
+
"loss": 0.5716,
|
394 |
+
"step": 1375
|
395 |
+
},
|
396 |
+
{
|
397 |
+
"epoch": 1.6766467065868262,
|
398 |
+
"grad_norm": 1.8226035833358765,
|
399 |
+
"learning_rate": 1.4707187222715174e-05,
|
400 |
+
"loss": 0.5739,
|
401 |
+
"step": 1400
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"epoch": 1.7065868263473054,
|
405 |
+
"grad_norm": 2.042602062225342,
|
406 |
+
"learning_rate": 1.4374445430346052e-05,
|
407 |
+
"loss": 0.5664,
|
408 |
+
"step": 1425
|
409 |
+
},
|
410 |
+
{
|
411 |
+
"epoch": 1.7365269461077846,
|
412 |
+
"grad_norm": 1.8656301498413086,
|
413 |
+
"learning_rate": 1.404170363797693e-05,
|
414 |
+
"loss": 0.5656,
|
415 |
+
"step": 1450
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"epoch": 1.7664670658682635,
|
419 |
+
"grad_norm": 1.8996257781982422,
|
420 |
+
"learning_rate": 1.3708961845607808e-05,
|
421 |
+
"loss": 0.5791,
|
422 |
+
"step": 1475
|
423 |
+
},
|
424 |
+
{
|
425 |
+
"epoch": 1.7964071856287425,
|
426 |
+
"grad_norm": 1.7967721223831177,
|
427 |
+
"learning_rate": 1.3376220053238688e-05,
|
428 |
+
"loss": 0.5551,
|
429 |
+
"step": 1500
|
430 |
+
},
|
431 |
+
{
|
432 |
+
"epoch": 1.8263473053892216,
|
433 |
+
"grad_norm": 1.7963491678237915,
|
434 |
+
"learning_rate": 1.3043478260869566e-05,
|
435 |
+
"loss": 0.5686,
|
436 |
+
"step": 1525
|
437 |
+
},
|
438 |
+
{
|
439 |
+
"epoch": 1.8562874251497006,
|
440 |
+
"grad_norm": 2.0248234272003174,
|
441 |
+
"learning_rate": 1.2710736468500444e-05,
|
442 |
+
"loss": 0.5518,
|
443 |
+
"step": 1550
|
444 |
+
},
|
445 |
+
{
|
446 |
+
"epoch": 1.8862275449101795,
|
447 |
+
"grad_norm": 1.84022855758667,
|
448 |
+
"learning_rate": 1.2377994676131322e-05,
|
449 |
+
"loss": 0.5521,
|
450 |
+
"step": 1575
|
451 |
+
},
|
452 |
+
{
|
453 |
+
"epoch": 1.9161676646706587,
|
454 |
+
"grad_norm": 2.160158157348633,
|
455 |
+
"learning_rate": 1.20452528837622e-05,
|
456 |
+
"loss": 0.5525,
|
457 |
+
"step": 1600
|
458 |
+
},
|
459 |
+
{
|
460 |
+
"epoch": 1.9461077844311379,
|
461 |
+
"grad_norm": 1.9900472164154053,
|
462 |
+
"learning_rate": 1.171251109139308e-05,
|
463 |
+
"loss": 0.5574,
|
464 |
+
"step": 1625
|
465 |
+
},
|
466 |
+
{
|
467 |
+
"epoch": 1.9760479041916168,
|
468 |
+
"grad_norm": 1.9723472595214844,
|
469 |
+
"learning_rate": 1.1379769299023958e-05,
|
470 |
+
"loss": 0.5785,
|
471 |
+
"step": 1650
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"epoch": 2.0059880239520957,
|
475 |
+
"grad_norm": 2.0681216716766357,
|
476 |
+
"learning_rate": 1.1047027506654836e-05,
|
477 |
+
"loss": 0.5553,
|
478 |
+
"step": 1675
|
479 |
+
},
|
480 |
+
{
|
481 |
+
"epoch": 2.035928143712575,
|
482 |
+
"grad_norm": 2.1955301761627197,
|
483 |
+
"learning_rate": 1.0714285714285714e-05,
|
484 |
+
"loss": 0.5657,
|
485 |
+
"step": 1700
|
486 |
+
},
|
487 |
+
{
|
488 |
+
"epoch": 2.065868263473054,
|
489 |
+
"grad_norm": 2.136237859725952,
|
490 |
+
"learning_rate": 1.0381543921916594e-05,
|
491 |
+
"loss": 0.5415,
|
492 |
+
"step": 1725
|
493 |
+
},
|
494 |
+
{
|
495 |
+
"epoch": 2.095808383233533,
|
496 |
+
"grad_norm": 2.073801279067993,
|
497 |
+
"learning_rate": 1.0048802129547472e-05,
|
498 |
+
"loss": 0.5335,
|
499 |
+
"step": 1750
|
500 |
+
},
|
501 |
+
{
|
502 |
+
"epoch": 2.125748502994012,
|
503 |
+
"grad_norm": 2.140120506286621,
|
504 |
+
"learning_rate": 9.71606033717835e-06,
|
505 |
+
"loss": 0.5623,
|
506 |
+
"step": 1775
|
507 |
+
},
|
508 |
+
{
|
509 |
+
"epoch": 2.155688622754491,
|
510 |
+
"grad_norm": 2.025439977645874,
|
511 |
+
"learning_rate": 9.383318544809228e-06,
|
512 |
+
"loss": 0.5427,
|
513 |
+
"step": 1800
|
514 |
+
},
|
515 |
+
{
|
516 |
+
"epoch": 2.18562874251497,
|
517 |
+
"grad_norm": 2.0939273834228516,
|
518 |
+
"learning_rate": 9.050576752440106e-06,
|
519 |
+
"loss": 0.5542,
|
520 |
+
"step": 1825
|
521 |
+
},
|
522 |
+
{
|
523 |
+
"epoch": 2.215568862275449,
|
524 |
+
"grad_norm": 2.1501097679138184,
|
525 |
+
"learning_rate": 8.717834960070984e-06,
|
526 |
+
"loss": 0.5559,
|
527 |
+
"step": 1850
|
528 |
+
},
|
529 |
+
{
|
530 |
+
"epoch": 2.245508982035928,
|
531 |
+
"grad_norm": 2.0543227195739746,
|
532 |
+
"learning_rate": 8.385093167701862e-06,
|
533 |
+
"loss": 0.542,
|
534 |
+
"step": 1875
|
535 |
+
},
|
536 |
+
{
|
537 |
+
"epoch": 2.2754491017964074,
|
538 |
+
"grad_norm": 1.9872088432312012,
|
539 |
+
"learning_rate": 8.052351375332742e-06,
|
540 |
+
"loss": 0.5421,
|
541 |
+
"step": 1900
|
542 |
+
},
|
543 |
+
{
|
544 |
+
"epoch": 2.305389221556886,
|
545 |
+
"grad_norm": 2.2318456172943115,
|
546 |
+
"learning_rate": 7.71960958296362e-06,
|
547 |
+
"loss": 0.5575,
|
548 |
+
"step": 1925
|
549 |
+
},
|
550 |
+
{
|
551 |
+
"epoch": 2.3353293413173652,
|
552 |
+
"grad_norm": 2.1007492542266846,
|
553 |
+
"learning_rate": 7.386867790594499e-06,
|
554 |
+
"loss": 0.5585,
|
555 |
+
"step": 1950
|
556 |
+
},
|
557 |
+
{
|
558 |
+
"epoch": 2.3652694610778444,
|
559 |
+
"grad_norm": 2.1291024684906006,
|
560 |
+
"learning_rate": 7.054125998225377e-06,
|
561 |
+
"loss": 0.5606,
|
562 |
+
"step": 1975
|
563 |
+
},
|
564 |
+
{
|
565 |
+
"epoch": 2.3952095808383236,
|
566 |
+
"grad_norm": 2.263563394546509,
|
567 |
+
"learning_rate": 6.721384205856256e-06,
|
568 |
+
"loss": 0.5585,
|
569 |
+
"step": 2000
|
570 |
+
},
|
571 |
+
{
|
572 |
+
"epoch": 2.4251497005988023,
|
573 |
+
"grad_norm": 2.1472697257995605,
|
574 |
+
"learning_rate": 6.388642413487134e-06,
|
575 |
+
"loss": 0.5377,
|
576 |
+
"step": 2025
|
577 |
+
},
|
578 |
+
{
|
579 |
+
"epoch": 2.4550898203592815,
|
580 |
+
"grad_norm": 2.075249195098877,
|
581 |
+
"learning_rate": 6.055900621118012e-06,
|
582 |
+
"loss": 0.5413,
|
583 |
+
"step": 2050
|
584 |
+
},
|
585 |
+
{
|
586 |
+
"epoch": 2.4850299401197606,
|
587 |
+
"grad_norm": 2.2139124870300293,
|
588 |
+
"learning_rate": 5.7231588287488905e-06,
|
589 |
+
"loss": 0.5468,
|
590 |
+
"step": 2075
|
591 |
+
},
|
592 |
+
{
|
593 |
+
"epoch": 2.5149700598802394,
|
594 |
+
"grad_norm": 2.2758278846740723,
|
595 |
+
"learning_rate": 5.390417036379769e-06,
|
596 |
+
"loss": 0.5619,
|
597 |
+
"step": 2100
|
598 |
+
},
|
599 |
+
{
|
600 |
+
"epoch": 2.5449101796407185,
|
601 |
+
"grad_norm": 2.212797164916992,
|
602 |
+
"learning_rate": 5.057675244010648e-06,
|
603 |
+
"loss": 0.544,
|
604 |
+
"step": 2125
|
605 |
+
},
|
606 |
+
{
|
607 |
+
"epoch": 2.5748502994011977,
|
608 |
+
"grad_norm": 2.078122615814209,
|
609 |
+
"learning_rate": 4.724933451641526e-06,
|
610 |
+
"loss": 0.5263,
|
611 |
+
"step": 2150
|
612 |
+
},
|
613 |
+
{
|
614 |
+
"epoch": 2.6047904191616764,
|
615 |
+
"grad_norm": 3.65337872505188,
|
616 |
+
"learning_rate": 4.3921916592724045e-06,
|
617 |
+
"loss": 0.551,
|
618 |
+
"step": 2175
|
619 |
+
},
|
620 |
+
{
|
621 |
+
"epoch": 2.6347305389221556,
|
622 |
+
"grad_norm": 2.2584967613220215,
|
623 |
+
"learning_rate": 4.059449866903283e-06,
|
624 |
+
"loss": 0.5445,
|
625 |
+
"step": 2200
|
626 |
+
},
|
627 |
+
{
|
628 |
+
"epoch": 2.6646706586826348,
|
629 |
+
"grad_norm": 2.1008565425872803,
|
630 |
+
"learning_rate": 3.7267080745341615e-06,
|
631 |
+
"loss": 0.5451,
|
632 |
+
"step": 2225
|
633 |
+
},
|
634 |
+
{
|
635 |
+
"epoch": 2.694610778443114,
|
636 |
+
"grad_norm": 2.453005790710449,
|
637 |
+
"learning_rate": 3.3939662821650396e-06,
|
638 |
+
"loss": 0.5573,
|
639 |
+
"step": 2250
|
640 |
+
},
|
641 |
+
{
|
642 |
+
"epoch": 2.724550898203593,
|
643 |
+
"grad_norm": 2.185372829437256,
|
644 |
+
"learning_rate": 3.0612244897959185e-06,
|
645 |
+
"loss": 0.5399,
|
646 |
+
"step": 2275
|
647 |
+
},
|
648 |
+
{
|
649 |
+
"epoch": 2.754491017964072,
|
650 |
+
"grad_norm": 2.158651351928711,
|
651 |
+
"learning_rate": 2.7284826974267966e-06,
|
652 |
+
"loss": 0.5482,
|
653 |
+
"step": 2300
|
654 |
+
},
|
655 |
+
{
|
656 |
+
"epoch": 2.784431137724551,
|
657 |
+
"grad_norm": 2.1352522373199463,
|
658 |
+
"learning_rate": 2.3957409050576756e-06,
|
659 |
+
"loss": 0.5453,
|
660 |
+
"step": 2325
|
661 |
+
},
|
662 |
+
{
|
663 |
+
"epoch": 2.81437125748503,
|
664 |
+
"grad_norm": 2.063870906829834,
|
665 |
+
"learning_rate": 2.0629991126885537e-06,
|
666 |
+
"loss": 0.5452,
|
667 |
+
"step": 2350
|
668 |
+
},
|
669 |
+
{
|
670 |
+
"epoch": 2.844311377245509,
|
671 |
+
"grad_norm": 2.159843921661377,
|
672 |
+
"learning_rate": 1.7302573203194322e-06,
|
673 |
+
"loss": 0.5374,
|
674 |
+
"step": 2375
|
675 |
+
},
|
676 |
+
{
|
677 |
+
"epoch": 2.874251497005988,
|
678 |
+
"grad_norm": 2.268249273300171,
|
679 |
+
"learning_rate": 1.3975155279503105e-06,
|
680 |
+
"loss": 0.5608,
|
681 |
+
"step": 2400
|
682 |
+
},
|
683 |
+
{
|
684 |
+
"epoch": 2.904191616766467,
|
685 |
+
"grad_norm": 1.9996740818023682,
|
686 |
+
"learning_rate": 1.078083407275954e-06,
|
687 |
+
"loss": 0.5355,
|
688 |
+
"step": 2425
|
689 |
+
},
|
690 |
+
{
|
691 |
+
"epoch": 2.934131736526946,
|
692 |
+
"grad_norm": 2.2193121910095215,
|
693 |
+
"learning_rate": 7.453416149068323e-07,
|
694 |
+
"loss": 0.5425,
|
695 |
+
"step": 2450
|
696 |
+
},
|
697 |
+
{
|
698 |
+
"epoch": 2.964071856287425,
|
699 |
+
"grad_norm": 2.098750591278076,
|
700 |
+
"learning_rate": 4.125998225377108e-07,
|
701 |
+
"loss": 0.5527,
|
702 |
+
"step": 2475
|
703 |
+
},
|
704 |
+
{
|
705 |
+
"epoch": 2.9940119760479043,
|
706 |
+
"grad_norm": 2.186506986618042,
|
707 |
+
"learning_rate": 7.985803016858918e-08,
|
708 |
+
"loss": 0.5567,
|
709 |
+
"step": 2500
|
710 |
+
}
|
711 |
+
],
|
712 |
+
"logging_steps": 25,
|
713 |
+
"max_steps": 2505,
|
714 |
+
"num_input_tokens_seen": 0,
|
715 |
+
"num_train_epochs": 3,
|
716 |
+
"save_steps": 500,
|
717 |
+
"total_flos": 2.1895496620572672e+17,
|
718 |
+
"train_batch_size": 2,
|
719 |
+
"trial_name": null,
|
720 |
+
"trial_params": null
|
721 |
+
}
|
checkpoint-2505/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c995bfd8427f21941734d17bbad8e059d4181f57f2c383263cca07c48f5d28be
|
3 |
+
size 4984
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
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,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 2048,
|
37 |
+
"pad_token": "</s>",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c995bfd8427f21941734d17bbad8e059d4181f57f2c383263cca07c48f5d28be
|
3 |
+
size 4984
|
training_params.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": "mistralai/Mistral-7B-Instruct-v0.2",
|
3 |
+
"project_name": "autotrain-abc",
|
4 |
+
"data_path": "autotrain-abc/autotrain-data",
|
5 |
+
"train_split": "train",
|
6 |
+
"valid_split": null,
|
7 |
+
"add_eos_token": false,
|
8 |
+
"block_size": 1024,
|
9 |
+
"model_max_length": 2048,
|
10 |
+
"padding": "right",
|
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": "fp16",
|
21 |
+
"lr": 3e-05,
|
22 |
+
"epochs": 3,
|
23 |
+
"batch_size": 2,
|
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": null,
|
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": "hkufyp2024/finetuned-model",
|
46 |
+
"username": null
|
47 |
+
}
|