Pieter414 commited on
Commit
23e28f8
·
verified ·
1 Parent(s): 89f7711

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,209 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: aitfindonesia/Bakti-8B-Base
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:aitfindonesia/Bakti-8B-Base
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.17.1
adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "aitfindonesia/Bakti-8B-Base",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
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": 32,
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": 16,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "down_proj",
29
+ "v_proj",
30
+ "gate_proj",
31
+ "k_proj",
32
+ "o_proj",
33
+ "up_proj",
34
+ "q_proj"
35
+ ],
36
+ "target_parameters": null,
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:305bb4752e2e564be1438fe780dc3083cd0d5652bcc591078f23f9615d96fe87
3
+ size 174655536
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
additional_chat_templates/chat_template.jinja ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
2
+ You are a helpful assistant<|im_end|>
3
+ ' }}{% endif %}{{'<|im_start|>' + message['role'] + '
4
+ ' + message['content'] + '<|im_end|>' + '
5
+ '}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
6
+ ' }}{% endif %}
chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32166c9ca24e179ca13977c4c416d13c54c2b2ac5bfaca469a51e31d64fdf502
3
+ size 349601867
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b64cdc88d9d46723a8c9c597d76b977831329c40c0f00f7277f4e8f134cad89
3
+ size 14645
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d41284aa86e9a28ce75f484326acf4e27303a5e7fd4713525ca5b18b65ec03a4
3
+ size 1465
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 131072,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
trainer_state.json ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.516535433070866,
6
+ "eval_steps": 50,
7
+ "global_step": 400,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.9739606760442256,
14
+ "epoch": 0.12598425196850394,
15
+ "grad_norm": 0.968841016292572,
16
+ "learning_rate": 7.6e-05,
17
+ "loss": 2.2682,
18
+ "mean_token_accuracy": 0.5962976351380348,
19
+ "num_tokens": 99995.0,
20
+ "step": 20
21
+ },
22
+ {
23
+ "entropy": 0.9236388027667999,
24
+ "epoch": 0.25196850393700787,
25
+ "grad_norm": 0.30187129974365234,
26
+ "learning_rate": 0.00015600000000000002,
27
+ "loss": 0.9381,
28
+ "mean_token_accuracy": 0.7860403966158629,
29
+ "num_tokens": 200771.0,
30
+ "step": 40
31
+ },
32
+ {
33
+ "epoch": 0.31496062992125984,
34
+ "eval_entropy": 0.7079527728587577,
35
+ "eval_loss": 0.6960555911064148,
36
+ "eval_mean_token_accuracy": 0.8306159124059497,
37
+ "eval_num_tokens": 251130.0,
38
+ "eval_runtime": 45.7017,
39
+ "eval_samples_per_second": 13.894,
40
+ "eval_steps_per_second": 6.958,
41
+ "step": 50
42
+ },
43
+ {
44
+ "entropy": 0.7168553218245506,
45
+ "epoch": 0.3779527559055118,
46
+ "grad_norm": 0.28825637698173523,
47
+ "learning_rate": 0.0001997808505782075,
48
+ "loss": 0.7182,
49
+ "mean_token_accuracy": 0.8267303571105004,
50
+ "num_tokens": 300943.0,
51
+ "step": 60
52
+ },
53
+ {
54
+ "entropy": 0.647084547393024,
55
+ "epoch": 0.5039370078740157,
56
+ "grad_norm": 0.3307661712169647,
57
+ "learning_rate": 0.00019773242425416768,
58
+ "loss": 0.6472,
59
+ "mean_token_accuracy": 0.8401378501206637,
60
+ "num_tokens": 401448.0,
61
+ "step": 80
62
+ },
63
+ {
64
+ "entropy": 0.6049567876383662,
65
+ "epoch": 0.6299212598425197,
66
+ "grad_norm": 0.3357570469379425,
67
+ "learning_rate": 0.00019357168190404936,
68
+ "loss": 0.6097,
69
+ "mean_token_accuracy": 0.8464727878570557,
70
+ "num_tokens": 501464.0,
71
+ "step": 100
72
+ },
73
+ {
74
+ "epoch": 0.6299212598425197,
75
+ "eval_entropy": 0.60639403676087,
76
+ "eval_loss": 0.5814101696014404,
77
+ "eval_mean_token_accuracy": 0.8527061408795651,
78
+ "eval_num_tokens": 501464.0,
79
+ "eval_runtime": 45.6184,
80
+ "eval_samples_per_second": 13.92,
81
+ "eval_steps_per_second": 6.971,
82
+ "step": 100
83
+ },
84
+ {
85
+ "entropy": 0.580510495044291,
86
+ "epoch": 0.7559055118110236,
87
+ "grad_norm": 0.35506585240364075,
88
+ "learning_rate": 0.0001873885507225743,
89
+ "loss": 0.5852,
90
+ "mean_token_accuracy": 0.8522923283278943,
91
+ "num_tokens": 602072.0,
92
+ "step": 120
93
+ },
94
+ {
95
+ "entropy": 0.5525572836399079,
96
+ "epoch": 0.8818897637795275,
97
+ "grad_norm": 0.3671925663948059,
98
+ "learning_rate": 0.00017931666831451536,
99
+ "loss": 0.5538,
100
+ "mean_token_accuracy": 0.8564509227871895,
101
+ "num_tokens": 701808.0,
102
+ "step": 140
103
+ },
104
+ {
105
+ "epoch": 0.9448818897637795,
106
+ "eval_entropy": 0.5495308028452052,
107
+ "eval_loss": 0.5309950113296509,
108
+ "eval_mean_token_accuracy": 0.8605339890755948,
109
+ "eval_num_tokens": 751756.0,
110
+ "eval_runtime": 46.259,
111
+ "eval_samples_per_second": 13.727,
112
+ "eval_steps_per_second": 6.874,
113
+ "step": 150
114
+ },
115
+ {
116
+ "entropy": 0.5359916405964501,
117
+ "epoch": 1.0062992125984251,
118
+ "grad_norm": 0.3443862497806549,
119
+ "learning_rate": 0.0001695304943507677,
120
+ "loss": 0.5351,
121
+ "mean_token_accuracy": 0.8600816813450826,
122
+ "num_tokens": 800169.0,
123
+ "step": 160
124
+ },
125
+ {
126
+ "entropy": 0.47207170017063615,
127
+ "epoch": 1.132283464566929,
128
+ "grad_norm": 0.4181714951992035,
129
+ "learning_rate": 0.0001582415399266036,
130
+ "loss": 0.4724,
131
+ "mean_token_accuracy": 0.8726930443197489,
132
+ "num_tokens": 899852.0,
133
+ "step": 180
134
+ },
135
+ {
136
+ "entropy": 0.4565439449623227,
137
+ "epoch": 1.258267716535433,
138
+ "grad_norm": 0.45549947023391724,
139
+ "learning_rate": 0.00014569379611796137,
140
+ "loss": 0.4599,
141
+ "mean_token_accuracy": 0.875334644690156,
142
+ "num_tokens": 999653.0,
143
+ "step": 200
144
+ },
145
+ {
146
+ "epoch": 1.258267716535433,
147
+ "eval_entropy": 0.4601464904141876,
148
+ "eval_loss": 0.5056809782981873,
149
+ "eval_mean_token_accuracy": 0.8665201171014294,
150
+ "eval_num_tokens": 999653.0,
151
+ "eval_runtime": 45.7221,
152
+ "eval_samples_per_second": 13.888,
153
+ "eval_steps_per_second": 6.955,
154
+ "step": 200
155
+ },
156
+ {
157
+ "entropy": 0.4486727064475417,
158
+ "epoch": 1.384251968503937,
159
+ "grad_norm": 0.4510684311389923,
160
+ "learning_rate": 0.00013215846053955683,
161
+ "loss": 0.4513,
162
+ "mean_token_accuracy": 0.878431486710906,
163
+ "num_tokens": 1100570.0,
164
+ "step": 220
165
+ },
166
+ {
167
+ "entropy": 0.4511976413428783,
168
+ "epoch": 1.510236220472441,
169
+ "grad_norm": 0.44284847378730774,
170
+ "learning_rate": 0.00011792807588107357,
171
+ "loss": 0.4521,
172
+ "mean_token_accuracy": 0.8780730802565813,
173
+ "num_tokens": 1201178.0,
174
+ "step": 240
175
+ },
176
+ {
177
+ "epoch": 1.573228346456693,
178
+ "eval_entropy": 0.46230017211077346,
179
+ "eval_loss": 0.4856663942337036,
180
+ "eval_mean_token_accuracy": 0.8700332990232503,
181
+ "eval_num_tokens": 1251074.0,
182
+ "eval_runtime": 45.5388,
183
+ "eval_samples_per_second": 13.944,
184
+ "eval_steps_per_second": 6.983,
185
+ "step": 250
186
+ },
187
+ {
188
+ "entropy": 0.451329773850739,
189
+ "epoch": 1.6362204724409448,
190
+ "grad_norm": 0.4431185722351074,
191
+ "learning_rate": 0.00010331020710675729,
192
+ "loss": 0.4531,
193
+ "mean_token_accuracy": 0.8772743601351977,
194
+ "num_tokens": 1301346.0,
195
+ "step": 260
196
+ },
197
+ {
198
+ "entropy": 0.42816779650747777,
199
+ "epoch": 1.762204724409449,
200
+ "grad_norm": 0.45769160985946655,
201
+ "learning_rate": 8.862079397472553e-05,
202
+ "loss": 0.4285,
203
+ "mean_token_accuracy": 0.8827753882855177,
204
+ "num_tokens": 1401547.0,
205
+ "step": 280
206
+ },
207
+ {
208
+ "entropy": 0.4320015098899603,
209
+ "epoch": 1.8881889763779527,
210
+ "grad_norm": 0.44558027386665344,
211
+ "learning_rate": 7.417732254970317e-05,
212
+ "loss": 0.4326,
213
+ "mean_token_accuracy": 0.8826998364180326,
214
+ "num_tokens": 1502107.0,
215
+ "step": 300
216
+ },
217
+ {
218
+ "epoch": 1.8881889763779527,
219
+ "eval_entropy": 0.42231335453454805,
220
+ "eval_loss": 0.4666292071342468,
221
+ "eval_mean_token_accuracy": 0.875962255885766,
222
+ "eval_num_tokens": 1502107.0,
223
+ "eval_runtime": 46.1255,
224
+ "eval_samples_per_second": 13.767,
225
+ "eval_steps_per_second": 6.894,
226
+ "step": 300
227
+ },
228
+ {
229
+ "entropy": 0.4177426643009427,
230
+ "epoch": 2.0125984251968503,
231
+ "grad_norm": 0.42371708154678345,
232
+ "learning_rate": 6.0291963295035484e-05,
233
+ "loss": 0.4157,
234
+ "mean_token_accuracy": 0.8861905902246886,
235
+ "num_tokens": 1600674.0,
236
+ "step": 320
237
+ },
238
+ {
239
+ "entropy": 0.3515403226017952,
240
+ "epoch": 2.1385826771653544,
241
+ "grad_norm": 0.5003436803817749,
242
+ "learning_rate": 4.726482405216125e-05,
243
+ "loss": 0.3405,
244
+ "mean_token_accuracy": 0.9042681198567152,
245
+ "num_tokens": 1700569.0,
246
+ "step": 340
247
+ },
248
+ {
249
+ "epoch": 2.2015748031496063,
250
+ "eval_entropy": 0.3585739609955242,
251
+ "eval_loss": 0.46917417645454407,
252
+ "eval_mean_token_accuracy": 0.8779247264442204,
253
+ "eval_num_tokens": 1750522.0,
254
+ "eval_runtime": 46.0421,
255
+ "eval_samples_per_second": 13.792,
256
+ "eval_steps_per_second": 6.907,
257
+ "step": 350
258
+ },
259
+ {
260
+ "entropy": 0.33075640462338923,
261
+ "epoch": 2.264566929133858,
262
+ "grad_norm": 0.5350939035415649,
263
+ "learning_rate": 3.537746373263589e-05,
264
+ "loss": 0.3258,
265
+ "mean_token_accuracy": 0.9079407677054405,
266
+ "num_tokens": 1800230.0,
267
+ "step": 360
268
+ },
269
+ {
270
+ "entropy": 0.3440810150466859,
271
+ "epoch": 2.3905511811023623,
272
+ "grad_norm": 0.5540388822555542,
273
+ "learning_rate": 2.4886806912948035e-05,
274
+ "loss": 0.3391,
275
+ "mean_token_accuracy": 0.9038707241415977,
276
+ "num_tokens": 1900074.0,
277
+ "step": 380
278
+ },
279
+ {
280
+ "entropy": 0.3350882642902434,
281
+ "epoch": 2.516535433070866,
282
+ "grad_norm": 0.630711019039154,
283
+ "learning_rate": 1.601959085755641e-05,
284
+ "loss": 0.3338,
285
+ "mean_token_accuracy": 0.9055462963879108,
286
+ "num_tokens": 2000844.0,
287
+ "step": 400
288
+ },
289
+ {
290
+ "epoch": 2.516535433070866,
291
+ "eval_entropy": 0.3513495825559088,
292
+ "eval_loss": 0.46354979276657104,
293
+ "eval_mean_token_accuracy": 0.8799726563804554,
294
+ "eval_num_tokens": 2000844.0,
295
+ "eval_runtime": 45.6998,
296
+ "eval_samples_per_second": 13.895,
297
+ "eval_steps_per_second": 6.958,
298
+ "step": 400
299
+ }
300
+ ],
301
+ "logging_steps": 20,
302
+ "max_steps": 477,
303
+ "num_input_tokens_seen": 0,
304
+ "num_train_epochs": 3,
305
+ "save_steps": 200,
306
+ "stateful_callbacks": {
307
+ "TrainerControl": {
308
+ "args": {
309
+ "should_epoch_stop": false,
310
+ "should_evaluate": false,
311
+ "should_log": false,
312
+ "should_save": true,
313
+ "should_training_stop": false
314
+ },
315
+ "attributes": {}
316
+ }
317
+ },
318
+ "total_flos": 1.0208648418588672e+17,
319
+ "train_batch_size": 4,
320
+ "trial_name": null,
321
+ "trial_params": null
322
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ea544ee4df5535dc903400da197be4f25e71813f7ebf5ad99e56e85d71855cd
3
+ size 6161
vocab.json ADDED
The diff for this file is too large to render. See raw diff