Upload task output c4ecc8ef-5451-4427-b4ea-0f886a4df302
Browse files- README.md +69 -0
- adapter_config.json +42 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +5 -0
- checkpoint-1900/README.md +210 -0
- checkpoint-1900/adapter_config.json +42 -0
- checkpoint-1900/adapter_model.safetensors +3 -0
- checkpoint-1900/chat_template.jinja +5 -0
- checkpoint-1900/optimizer.pt +3 -0
- checkpoint-1900/rng_state_0.pth +3 -0
- checkpoint-1900/rng_state_1.pth +3 -0
- checkpoint-1900/scheduler.pt +3 -0
- checkpoint-1900/special_tokens_map.json +30 -0
- checkpoint-1900/tokenizer.json +0 -0
- checkpoint-1900/tokenizer.model +3 -0
- checkpoint-1900/tokenizer_config.json +43 -0
- checkpoint-1900/trainer_state.json +150 -0
- checkpoint-1900/training_args.bin +3 -0
- config.json +31 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +43 -0
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
model_name: e6ceac6e-8f04-4d04-9511-675387924c0c
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
- axolotl
|
7 |
+
- grpo
|
8 |
+
- unsloth
|
9 |
+
- trl
|
10 |
+
licence: license
|
11 |
+
---
|
12 |
+
|
13 |
+
# Model Card for e6ceac6e-8f04-4d04-9511-675387924c0c
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [None](https://huggingface.co/None).
|
16 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
17 |
+
|
18 |
+
## Quick start
|
19 |
+
|
20 |
+
```python
|
21 |
+
from transformers import pipeline
|
22 |
+
|
23 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
24 |
+
generator = pipeline("text-generation", model="None", device="cuda")
|
25 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
26 |
+
print(output["generated_text"])
|
27 |
+
```
|
28 |
+
|
29 |
+
## Training procedure
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://huggingface.co/papers/2402.03300).
|
35 |
+
|
36 |
+
### Framework versions
|
37 |
+
|
38 |
+
- TRL: 0.21.0
|
39 |
+
- Transformers: 4.55.0
|
40 |
+
- Pytorch: 2.7.1+cu128
|
41 |
+
- Datasets: 4.0.0
|
42 |
+
- Tokenizers: 0.21.4
|
43 |
+
|
44 |
+
## Citations
|
45 |
+
|
46 |
+
Cite GRPO as:
|
47 |
+
|
48 |
+
```bibtex
|
49 |
+
@article{zhihong2024deepseekmath,
|
50 |
+
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
51 |
+
author = {Zhihong Shao and Peiyi Wang and Qihao Zhu and Runxin Xu and Junxiao Song and Mingchuan Zhang and Y. K. Li and Y. Wu and Daya Guo},
|
52 |
+
year = 2024,
|
53 |
+
eprint = {arXiv:2402.03300},
|
54 |
+
}
|
55 |
+
|
56 |
+
```
|
57 |
+
|
58 |
+
Cite TRL as:
|
59 |
+
|
60 |
+
```bibtex
|
61 |
+
@misc{vonwerra2022trl,
|
62 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
63 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
|
64 |
+
year = 2020,
|
65 |
+
journal = {GitHub repository},
|
66 |
+
publisher = {GitHub},
|
67 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
68 |
+
}
|
69 |
+
```
|
adapter_config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "unsloth/llama-2-7b",
|
5 |
+
"bias": "none",
|
6 |
+
"corda_config": null,
|
7 |
+
"eva_config": null,
|
8 |
+
"exclude_modules": null,
|
9 |
+
"fan_in_fan_out": null,
|
10 |
+
"inference_mode": false,
|
11 |
+
"init_lora_weights": true,
|
12 |
+
"layer_replication": null,
|
13 |
+
"layers_pattern": null,
|
14 |
+
"layers_to_transform": null,
|
15 |
+
"loftq_config": {},
|
16 |
+
"lora_alpha": 64,
|
17 |
+
"lora_bias": false,
|
18 |
+
"lora_dropout": 0.05,
|
19 |
+
"megatron_config": null,
|
20 |
+
"megatron_core": "megatron.core",
|
21 |
+
"modules_to_save": null,
|
22 |
+
"peft_type": "LORA",
|
23 |
+
"qalora_group_size": 16,
|
24 |
+
"r": 32,
|
25 |
+
"rank_pattern": {},
|
26 |
+
"revision": null,
|
27 |
+
"target_modules": [
|
28 |
+
"gate_proj",
|
29 |
+
"o_proj",
|
30 |
+
"k_proj",
|
31 |
+
"v_proj",
|
32 |
+
"q_proj",
|
33 |
+
"up_proj",
|
34 |
+
"down_proj"
|
35 |
+
],
|
36 |
+
"target_parameters": [],
|
37 |
+
"task_type": "CAUSAL_LM",
|
38 |
+
"trainable_token_indices": null,
|
39 |
+
"use_dora": false,
|
40 |
+
"use_qalora": false,
|
41 |
+
"use_rslora": false
|
42 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b475c12d64f27dbee9f9b071633856b39d90153269073a131871c1399dc755c5
|
3 |
+
size 319876032
|
chat_template.jinja
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
|
2 |
+
|
3 |
+
'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
|
4 |
+
|
5 |
+
' }}{% endif %}
|
checkpoint-1900/README.md
ADDED
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: /cache/models/unsloth--llama-2-7b
|
3 |
+
library_name: peft
|
4 |
+
pipeline_tag: text-generation
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- base_model:adapter:/cache/models/unsloth--llama-2-7b
|
8 |
+
- grpo
|
9 |
+
- lora
|
10 |
+
- transformers
|
11 |
+
- trl
|
12 |
+
---
|
13 |
+
|
14 |
+
# Model Card for Model ID
|
15 |
+
|
16 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
## Model Details
|
21 |
+
|
22 |
+
### Model Description
|
23 |
+
|
24 |
+
<!-- Provide a longer summary of what this model is. -->
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
+
- **Developed by:** [More Information Needed]
|
29 |
+
- **Funded by [optional]:** [More Information Needed]
|
30 |
+
- **Shared by [optional]:** [More Information Needed]
|
31 |
+
- **Model type:** [More Information Needed]
|
32 |
+
- **Language(s) (NLP):** [More Information Needed]
|
33 |
+
- **License:** [More Information Needed]
|
34 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
### Model Sources [optional]
|
37 |
+
|
38 |
+
<!-- Provide the basic links for the model. -->
|
39 |
+
|
40 |
+
- **Repository:** [More Information Needed]
|
41 |
+
- **Paper [optional]:** [More Information Needed]
|
42 |
+
- **Demo [optional]:** [More Information Needed]
|
43 |
+
|
44 |
+
## Uses
|
45 |
+
|
46 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
47 |
+
|
48 |
+
### Direct Use
|
49 |
+
|
50 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
51 |
+
|
52 |
+
[More Information Needed]
|
53 |
+
|
54 |
+
### Downstream Use [optional]
|
55 |
+
|
56 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
57 |
+
|
58 |
+
[More Information Needed]
|
59 |
+
|
60 |
+
### Out-of-Scope Use
|
61 |
+
|
62 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
63 |
+
|
64 |
+
[More Information Needed]
|
65 |
+
|
66 |
+
## Bias, Risks, and Limitations
|
67 |
+
|
68 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
69 |
+
|
70 |
+
[More Information Needed]
|
71 |
+
|
72 |
+
### Recommendations
|
73 |
+
|
74 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
75 |
+
|
76 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
77 |
+
|
78 |
+
## How to Get Started with the Model
|
79 |
+
|
80 |
+
Use the code below to get started with the model.
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
## Training Details
|
85 |
+
|
86 |
+
### Training Data
|
87 |
+
|
88 |
+
<!-- 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. -->
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
### Training Procedure
|
93 |
+
|
94 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
95 |
+
|
96 |
+
#### Preprocessing [optional]
|
97 |
+
|
98 |
+
[More Information Needed]
|
99 |
+
|
100 |
+
|
101 |
+
#### Training Hyperparameters
|
102 |
+
|
103 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
104 |
+
|
105 |
+
#### Speeds, Sizes, Times [optional]
|
106 |
+
|
107 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
108 |
+
|
109 |
+
[More Information Needed]
|
110 |
+
|
111 |
+
## Evaluation
|
112 |
+
|
113 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
114 |
+
|
115 |
+
### Testing Data, Factors & Metrics
|
116 |
+
|
117 |
+
#### Testing Data
|
118 |
+
|
119 |
+
<!-- This should link to a Dataset Card if possible. -->
|
120 |
+
|
121 |
+
[More Information Needed]
|
122 |
+
|
123 |
+
#### Factors
|
124 |
+
|
125 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
126 |
+
|
127 |
+
[More Information Needed]
|
128 |
+
|
129 |
+
#### Metrics
|
130 |
+
|
131 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
132 |
+
|
133 |
+
[More Information Needed]
|
134 |
+
|
135 |
+
### Results
|
136 |
+
|
137 |
+
[More Information Needed]
|
138 |
+
|
139 |
+
#### Summary
|
140 |
+
|
141 |
+
|
142 |
+
|
143 |
+
## Model Examination [optional]
|
144 |
+
|
145 |
+
<!-- Relevant interpretability work for the model goes here -->
|
146 |
+
|
147 |
+
[More Information Needed]
|
148 |
+
|
149 |
+
## Environmental Impact
|
150 |
+
|
151 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
152 |
+
|
153 |
+
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).
|
154 |
+
|
155 |
+
- **Hardware Type:** [More Information Needed]
|
156 |
+
- **Hours used:** [More Information Needed]
|
157 |
+
- **Cloud Provider:** [More Information Needed]
|
158 |
+
- **Compute Region:** [More Information Needed]
|
159 |
+
- **Carbon Emitted:** [More Information Needed]
|
160 |
+
|
161 |
+
## Technical Specifications [optional]
|
162 |
+
|
163 |
+
### Model Architecture and Objective
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
### Compute Infrastructure
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
#### Hardware
|
172 |
+
|
173 |
+
[More Information Needed]
|
174 |
+
|
175 |
+
#### Software
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
## Citation [optional]
|
180 |
+
|
181 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
182 |
+
|
183 |
+
**BibTeX:**
|
184 |
+
|
185 |
+
[More Information Needed]
|
186 |
+
|
187 |
+
**APA:**
|
188 |
+
|
189 |
+
[More Information Needed]
|
190 |
+
|
191 |
+
## Glossary [optional]
|
192 |
+
|
193 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## More Information [optional]
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
|
201 |
+
## Model Card Authors [optional]
|
202 |
+
|
203 |
+
[More Information Needed]
|
204 |
+
|
205 |
+
## Model Card Contact
|
206 |
+
|
207 |
+
[More Information Needed]
|
208 |
+
### Framework versions
|
209 |
+
|
210 |
+
- PEFT 0.17.0
|
checkpoint-1900/adapter_config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "/cache/models/unsloth--llama-2-7b",
|
5 |
+
"bias": "none",
|
6 |
+
"corda_config": null,
|
7 |
+
"eva_config": null,
|
8 |
+
"exclude_modules": null,
|
9 |
+
"fan_in_fan_out": null,
|
10 |
+
"inference_mode": true,
|
11 |
+
"init_lora_weights": true,
|
12 |
+
"layer_replication": null,
|
13 |
+
"layers_pattern": null,
|
14 |
+
"layers_to_transform": null,
|
15 |
+
"loftq_config": {},
|
16 |
+
"lora_alpha": 64,
|
17 |
+
"lora_bias": false,
|
18 |
+
"lora_dropout": 0.05,
|
19 |
+
"megatron_config": null,
|
20 |
+
"megatron_core": "megatron.core",
|
21 |
+
"modules_to_save": null,
|
22 |
+
"peft_type": "LORA",
|
23 |
+
"qalora_group_size": 16,
|
24 |
+
"r": 32,
|
25 |
+
"rank_pattern": {},
|
26 |
+
"revision": null,
|
27 |
+
"target_modules": [
|
28 |
+
"gate_proj",
|
29 |
+
"o_proj",
|
30 |
+
"k_proj",
|
31 |
+
"v_proj",
|
32 |
+
"q_proj",
|
33 |
+
"up_proj",
|
34 |
+
"down_proj"
|
35 |
+
],
|
36 |
+
"target_parameters": [],
|
37 |
+
"task_type": "CAUSAL_LM",
|
38 |
+
"trainable_token_indices": null,
|
39 |
+
"use_dora": false,
|
40 |
+
"use_qalora": false,
|
41 |
+
"use_rslora": false
|
42 |
+
}
|
checkpoint-1900/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eef16ea88f61ea858d8aed09f60a2f2c69a3c79595b36d23bbb96d76d1a2aadf
|
3 |
+
size 319876032
|
checkpoint-1900/chat_template.jinja
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
|
2 |
+
|
3 |
+
'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
|
4 |
+
|
5 |
+
' }}{% endif %}
|
checkpoint-1900/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:598591fba16ec95f1a4839b61f4eaff560fc84042826c99064f6c926e14bb4c8
|
3 |
+
size 162934501
|
checkpoint-1900/rng_state_0.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a36b07af2f0851e4ab258450e016b967cd7cb281d7e07b9da37e0e368422b555
|
3 |
+
size 14917
|
checkpoint-1900/rng_state_1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:847297c38d47971665968c200d158ff7a180630632624fdcd778e8967022eafa
|
3 |
+
size 14917
|
checkpoint-1900/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:350699956bd6d84d20a739d485f9b194cc0ecd8f2abd2aa5bb2685f17be15db8
|
3 |
+
size 1465
|
checkpoint-1900/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": "<unk>",
|
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 |
+
}
|
checkpoint-1900/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-1900/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
checkpoint-1900/tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"bos_token": "<s>",
|
32 |
+
"clean_up_tokenization_spaces": false,
|
33 |
+
"eos_token": "</s>",
|
34 |
+
"extra_special_tokens": {},
|
35 |
+
"legacy": false,
|
36 |
+
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": "<unk>",
|
38 |
+
"padding_side": "left",
|
39 |
+
"sp_model_kwargs": {},
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|
checkpoint-1900/trainer_state.json
ADDED
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": null,
|
3 |
+
"best_metric": null,
|
4 |
+
"best_model_checkpoint": null,
|
5 |
+
"epoch": 0.023075615147319584,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 1900,
|
8 |
+
"is_hyper_param_search": false,
|
9 |
+
"is_local_process_zero": true,
|
10 |
+
"is_world_process_zero": true,
|
11 |
+
"log_history": [
|
12 |
+
{
|
13 |
+
"clip_ratio/high_max": 0.0,
|
14 |
+
"clip_ratio/high_mean": 0.0,
|
15 |
+
"clip_ratio/low_mean": 0.0,
|
16 |
+
"clip_ratio/low_min": 0.0,
|
17 |
+
"clip_ratio/region_mean": 0.0,
|
18 |
+
"completions/clipped_ratio": 0.75,
|
19 |
+
"completions/max_length": 256.0,
|
20 |
+
"completions/max_terminated_length": 215.0,
|
21 |
+
"completions/mean_length": 226.375,
|
22 |
+
"completions/mean_terminated_length": 137.5,
|
23 |
+
"completions/min_length": 60.0,
|
24 |
+
"completions/min_terminated_length": 60.0,
|
25 |
+
"entropy": 1.7876319885253906,
|
26 |
+
"epoch": 1.2145060603852413e-05,
|
27 |
+
"frac_reward_zero_std": 0.0,
|
28 |
+
"grad_norm": 0.45122280716896057,
|
29 |
+
"kl": 0.0,
|
30 |
+
"learning_rate": 0.0,
|
31 |
+
"loss": -0.0,
|
32 |
+
"num_tokens": 3903.0,
|
33 |
+
"reward": 7250.048828125,
|
34 |
+
"reward_std": 2273.237548828125,
|
35 |
+
"rewards/reward_long_completions/mean": 806.75,
|
36 |
+
"rewards/reward_long_completions/std": 293.8428955078125,
|
37 |
+
"rewards/reward_long_words/mean": 6.343996047973633,
|
38 |
+
"rewards/reward_long_words/std": 2.0528388023376465,
|
39 |
+
"step": 1
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"clip_ratio/high_max": 0.0,
|
43 |
+
"clip_ratio/high_mean": 0.0,
|
44 |
+
"clip_ratio/low_mean": 0.0,
|
45 |
+
"clip_ratio/low_min": 0.0,
|
46 |
+
"clip_ratio/region_mean": 0.0,
|
47 |
+
"completions/clipped_ratio": 0.9934869739478958,
|
48 |
+
"completions/max_length": 256.0,
|
49 |
+
"completions/max_terminated_length": 3.8597194388777556,
|
50 |
+
"completions/mean_length": 255.0433366733467,
|
51 |
+
"completions/mean_terminated_length": 2.520774917755433,
|
52 |
+
"completions/min_length": 251.1442885771543,
|
53 |
+
"completions/min_terminated_length": 1.3006012024048097,
|
54 |
+
"entropy": 0.46742610163357157,
|
55 |
+
"epoch": 0.006072530301926207,
|
56 |
+
"frac_reward_zero_std": 0.8136272545090181,
|
57 |
+
"grad_norm": 1.1401318111836645e-08,
|
58 |
+
"kl": 0.27695997151695956,
|
59 |
+
"learning_rate": 0.00019183846457059546,
|
60 |
+
"loss": 0.0111,
|
61 |
+
"num_tokens": 1761588.0,
|
62 |
+
"reward": 26948.982748700528,
|
63 |
+
"reward_std": 173.13352758659866,
|
64 |
+
"rewards/reward_long_completions/mean": 3006.4551603206414,
|
65 |
+
"rewards/reward_long_completions/std": 26.415839506175093,
|
66 |
+
"rewards/reward_long_words/mean": 11.271554429927665,
|
67 |
+
"rewards/reward_long_words/std": 0.46356010581049434,
|
68 |
+
"step": 500
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"clip_ratio/high_max": 0.0,
|
72 |
+
"clip_ratio/high_mean": 0.0,
|
73 |
+
"clip_ratio/low_mean": 0.0,
|
74 |
+
"clip_ratio/low_min": 0.0,
|
75 |
+
"clip_ratio/region_mean": 0.0,
|
76 |
+
"completions/clipped_ratio": 1.0,
|
77 |
+
"completions/max_length": 256.0,
|
78 |
+
"completions/max_terminated_length": 0.0,
|
79 |
+
"completions/mean_length": 256.0,
|
80 |
+
"completions/mean_terminated_length": 0.0,
|
81 |
+
"completions/min_length": 256.0,
|
82 |
+
"completions/min_terminated_length": 0.0,
|
83 |
+
"entropy": 8.449839063473518e-08,
|
84 |
+
"epoch": 0.012145060603852413,
|
85 |
+
"frac_reward_zero_std": 1.0,
|
86 |
+
"grad_norm": 1.2536369276006099e-08,
|
87 |
+
"kl": 0.30570593059062956,
|
88 |
+
"learning_rate": 0.00014850305016500775,
|
89 |
+
"loss": 0.0122,
|
90 |
+
"num_tokens": 3432260.0,
|
91 |
+
"reward": 29819.603515625,
|
92 |
+
"reward_std": 0.0,
|
93 |
+
"rewards/reward_long_completions/mean": 3327.0,
|
94 |
+
"rewards/reward_long_completions/std": 0.0,
|
95 |
+
"rewards/reward_long_words/mean": 12.0,
|
96 |
+
"rewards/reward_long_words/std": 0.0,
|
97 |
+
"step": 1000
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"clip_ratio/high_max": 0.0,
|
101 |
+
"clip_ratio/high_mean": 0.0,
|
102 |
+
"clip_ratio/low_mean": 0.0,
|
103 |
+
"clip_ratio/low_min": 0.0,
|
104 |
+
"clip_ratio/region_mean": 0.0,
|
105 |
+
"completions/clipped_ratio": 1.0,
|
106 |
+
"completions/max_length": 256.0,
|
107 |
+
"completions/max_terminated_length": 0.0,
|
108 |
+
"completions/mean_length": 256.0,
|
109 |
+
"completions/mean_terminated_length": 0.0,
|
110 |
+
"completions/min_length": 256.0,
|
111 |
+
"completions/min_terminated_length": 0.0,
|
112 |
+
"entropy": 8.525463378106223e-08,
|
113 |
+
"epoch": 0.01821759090577862,
|
114 |
+
"frac_reward_zero_std": 1.0,
|
115 |
+
"grad_norm": 8.738510359762586e-09,
|
116 |
+
"kl": 0.2979220716804266,
|
117 |
+
"learning_rate": 9.352737661482471e-05,
|
118 |
+
"loss": 0.0119,
|
119 |
+
"num_tokens": 5134968.0,
|
120 |
+
"reward": 29819.603515625,
|
121 |
+
"reward_std": 0.0,
|
122 |
+
"rewards/reward_long_completions/mean": 3327.0,
|
123 |
+
"rewards/reward_long_completions/std": 0.0,
|
124 |
+
"rewards/reward_long_words/mean": 12.0,
|
125 |
+
"rewards/reward_long_words/std": 0.0,
|
126 |
+
"step": 1500
|
127 |
+
}
|
128 |
+
],
|
129 |
+
"logging_steps": 500,
|
130 |
+
"max_steps": 2126,
|
131 |
+
"num_input_tokens_seen": 6451696,
|
132 |
+
"num_train_epochs": 1,
|
133 |
+
"save_steps": 100,
|
134 |
+
"stateful_callbacks": {
|
135 |
+
"TrainerControl": {
|
136 |
+
"args": {
|
137 |
+
"should_epoch_stop": false,
|
138 |
+
"should_evaluate": false,
|
139 |
+
"should_log": false,
|
140 |
+
"should_save": true,
|
141 |
+
"should_training_stop": false
|
142 |
+
},
|
143 |
+
"attributes": {}
|
144 |
+
}
|
145 |
+
},
|
146 |
+
"total_flos": 0.0,
|
147 |
+
"train_batch_size": 4,
|
148 |
+
"trial_name": null,
|
149 |
+
"trial_params": null
|
150 |
+
}
|
checkpoint-1900/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fadabbb2c82a6fb1bded0419e60da16049b030dcc1027d77bcbce6a0a27b5cf9
|
3 |
+
size 8849
|
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"head_dim": 128,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 11008,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
+
"mlp_bias": false,
|
16 |
+
"model_type": "llama",
|
17 |
+
"num_attention_heads": 32,
|
18 |
+
"num_hidden_layers": 32,
|
19 |
+
"num_key_value_heads": 32,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"rms_norm_eps": 1e-05,
|
23 |
+
"rope_scaling": null,
|
24 |
+
"rope_theta": 10000.0,
|
25 |
+
"tie_word_embeddings": false,
|
26 |
+
"torch_dtype": "bfloat16",
|
27 |
+
"transformers_version": "4.55.0",
|
28 |
+
"unsloth_version": "2024.9",
|
29 |
+
"use_cache": false,
|
30 |
+
"vocab_size": 32000
|
31 |
+
}
|
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": "<unk>",
|
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"bos_token": "<s>",
|
32 |
+
"clean_up_tokenization_spaces": false,
|
33 |
+
"eos_token": "</s>",
|
34 |
+
"extra_special_tokens": {},
|
35 |
+
"legacy": false,
|
36 |
+
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": "<unk>",
|
38 |
+
"padding_side": "left",
|
39 |
+
"sp_model_kwargs": {},
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|