TensorVizion
/

TensorVizion commited on
Commit
eca9a56
·
verified ·
1 Parent(s): ece18f9

Upload 11 files

Browse files
PEFT/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen3_5ForConditionalGeneration",
7
+ "parent_library": "transformers.models.qwen3_5.modeling_qwen3_5",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/qwen3.8-27b-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 8,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "monteclora_config": null,
31
+ "peft_type": "LORA",
32
+ "peft_version": "0.20.0",
33
+ "qalora_group_size": 16,
34
+ "r": 8,
35
+ "rank_pattern": {},
36
+ "revision": null,
37
+ "target_modules": "(?:.*?(?:language|text).*?(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer).*?(?:qkv|proj|linear_fc1|linear_fc2|out_proj|in_proj_qkv|in_proj_z|in_proj_b|in_proj_a|gate_proj|up_proj|down_proj|q_proj|k_proj|v_proj|o_proj))|(?:\\bmodel\\.layers\\.[\\d]{1,}\\.(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer)\\.(?:(?:qkv|proj|linear_fc1|linear_fc2|out_proj|in_proj_qkv|in_proj_z|in_proj_b|in_proj_a|gate_proj|up_proj|down_proj|q_proj|k_proj|v_proj|o_proj)))",
38
+ "target_parameters": null,
39
+ "task_type": "CAUSAL_LM",
40
+ "trainable_token_indices": null,
41
+ "use_bdlora": null,
42
+ "use_dora": false,
43
+ "use_qalora": false,
44
+ "use_rslora": false,
45
+ "velora_config": null
46
+ }
PEFT/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca62e3918c4e3c5210ccb5735e027d412d83b82c2e673474666f0a692586873c
3
+ size 233605480
PEFT/chat_template.jinja ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set image_count = namespace(value=0) %}
2
+ {%- set video_count = namespace(value=0) %}
3
+ {%- macro render_content(content, do_vision_count, is_system_content=false) %}
4
+ {%- if content is string %}
5
+ {{- content }}
6
+ {%- elif content is iterable and content is not mapping %}
7
+ {%- for item in content %}
8
+ {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
9
+ {%- if is_system_content %}
10
+ {{- raise_exception('System message cannot contain images.') }}
11
+ {%- endif %}
12
+ {%- if do_vision_count %}
13
+ {%- set image_count.value = image_count.value + 1 %}
14
+ {%- endif %}
15
+ {%- if add_vision_id %}
16
+ {{- 'Picture ' ~ image_count.value ~ ': ' }}
17
+ {%- endif %}
18
+ {{- '<|vision_start|><|image_pad|><|vision_end|>' }}
19
+ {%- elif 'video' in item or item.type == 'video' %}
20
+ {%- if is_system_content %}
21
+ {{- raise_exception('System message cannot contain videos.') }}
22
+ {%- endif %}
23
+ {%- if do_vision_count %}
24
+ {%- set video_count.value = video_count.value + 1 %}
25
+ {%- endif %}
26
+ {%- if add_vision_id %}
27
+ {{- 'Video ' ~ video_count.value ~ ': ' }}
28
+ {%- endif %}
29
+ {{- '<|vision_start|><|video_pad|><|vision_end|>' }}
30
+ {%- elif 'text' in item %}
31
+ {{- item.text }}
32
+ {%- else %}
33
+ {{- raise_exception('Unexpected item type in content.') }}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- elif content is none or content is undefined %}
37
+ {{- '' }}
38
+ {%- else %}
39
+ {{- raise_exception('Unexpected content type.') }}
40
+ {%- endif %}
41
+ {%- endmacro %}
42
+ {%- if not messages %}
43
+ {{- raise_exception('No messages provided.') }}
44
+ {%- endif %}
45
+ {%- set sysns = namespace(count=0, text='') %}
46
+ {%- for message in messages %}
47
+ {%- if sysns.count == loop.index0 and (message.role == 'system' or message.role == 'developer') %}
48
+ {%- set sys_content = render_content(message.content, false, true)|trim %}
49
+ {%- if sys_content %}
50
+ {%- set sysns.text = sysns.text + ('\n' if sysns.text else '') + sys_content %}
51
+ {%- endif %}
52
+ {%- set sysns.count = sysns.count + 1 %}
53
+ {%- endif %}
54
+ {%- endfor %}
55
+ {%- set num_sys = sysns.count %}
56
+ {%- set merged_system = sysns.text %}
57
+ {%- set reasoning_instructions = '' %}
58
+ {%- if enable_thinking is undefined or enable_thinking is true %}
59
+ {%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}
60
+ {%- if resolved_reasoning_effort == 'high' %}
61
+ {%- set resolved_reasoning_effort = 'xhigh' %}
62
+ {%- endif %}
63
+ {%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}
64
+ {{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh (default), medium, and low.') }}
65
+ {%- endif %}
66
+ {%- if resolved_reasoning_effort == 'xhigh' %}
67
+ {%- set reasoning_instructions = 'Reasoning effort is set to xhigh. Please think carefully through the task, validate key assumptions, consider plausible alternatives, and prioritize correctness, consistency, and clarity in the final answer.' %}
68
+ {%- elif resolved_reasoning_effort == 'low' %}
69
+ {%- set reasoning_instructions = 'Reasoning effort is set to low. Keep your thinking brief and focused, moving directly to the conclusion without unnecessary elaboration.' %}
70
+ {%- endif %}
71
+ {%- endif %}
72
+ {%- if tools and tools is iterable and tools is not mapping %}
73
+ {{- '<|im_start|>system\n' }}
74
+ {%- if reasoning_instructions %}
75
+ {{- reasoning_instructions + '\n\n' }}
76
+ {%- endif %}
77
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
78
+ {%- for tool in tools %}
79
+ {{- "\n" }}
80
+ {{- tool | tojson }}
81
+ {%- endfor %}
82
+ {{- "\n</tools>" }}
83
+ {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
84
+ {%- if merged_system %}
85
+ {{- '\n\n' + merged_system }}
86
+ {%- endif %}
87
+ {{- '<|im_end|>\n' }}
88
+ {%- else %}
89
+ {%- if merged_system %}
90
+ {{- '<|im_start|>system\n' + (reasoning_instructions + '\n\n' if reasoning_instructions else '') + merged_system + '<|im_end|>\n' }}
91
+ {%- elif reasoning_instructions %}
92
+ {{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
93
+ {%- endif %}
94
+ {%- endif %}
95
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
96
+ {%- for message in messages[::-1] %}
97
+ {%- set index = (messages|length - 1) - loop.index0 %}
98
+ {%- if ns.multi_step_tool and message.role == "user" %}
99
+ {%- set content = render_content(message.content, false)|trim %}
100
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
101
+ {%- set ns.multi_step_tool = false %}
102
+ {%- set ns.last_query_index = index %}
103
+ {%- endif %}
104
+ {%- endif %}
105
+ {%- endfor %}
106
+ {%- for message in messages %}
107
+ {%- if loop.index0 >= num_sys %}
108
+ {%- set content = render_content(message.content, true)|trim %}
109
+ {%- if message.role == "system" or message.role == "developer" %}
110
+ {{- raise_exception('System message must be at the beginning.') }}
111
+ {%- elif message.role == "user" %}
112
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
113
+ {%- elif message.role == "assistant" %}
114
+ {%- set reasoning_content = '' %}
115
+ {%- if message.reasoning_content is string %}
116
+ {%- set reasoning_content = message.reasoning_content %}
117
+ {%- endif %}
118
+ {%- set reasoning_content = reasoning_content|trim %}
119
+ {%- if preserve_thinking is undefined or preserve_thinking is true or loop.index0 > ns.last_query_index %}
120
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
121
+ {%- else %}
122
+ {{- '<|im_start|>' + message.role + '\n' + content }}
123
+ {%- endif %}
124
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
125
+ {%- for tool_call in message.tool_calls %}
126
+ {%- if tool_call.function is defined %}
127
+ {%- set tool_call = tool_call.function %}
128
+ {%- endif %}
129
+ {%- if tool_call.name is not defined or tool_call.name is none %}
130
+ {{- raise_exception('Tool call is missing a function name.') }}
131
+ {%- endif %}
132
+ {%- if loop.first %}
133
+ {%- if content|trim %}
134
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
135
+ {%- else %}
136
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
137
+ {%- endif %}
138
+ {%- else %}
139
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
140
+ {%- endif %}
141
+ {%- if tool_call.arguments is mapping %}
142
+ {%- for args_name, args_value in tool_call.arguments|items %}
143
+ {{- '<parameter=' + args_name + '>\n' }}
144
+ {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
145
+ {{- args_value }}
146
+ {{- '\n</parameter>\n' }}
147
+ {%- endfor %}
148
+ {%- elif tool_call.arguments is string %}
149
+ {%- if tool_call.arguments|trim %}
150
+ {{- raise_exception('Tool call arguments for function "' + (tool_call.name | string) + '" were passed as a JSON string. Parse them into an object before calling apply_chat_template.') }}
151
+ {%- endif %}
152
+ {%- elif tool_call.arguments is defined and tool_call.arguments is not none %}
153
+ {{- raise_exception('Tool call arguments for function "' + (tool_call.name | string) + '" must be an object/mapping or a JSON string.') }}
154
+ {%- endif %}
155
+ {{- '</function>\n</tool_call>' }}
156
+ {%- endfor %}
157
+ {%- endif %}
158
+ {{- '<|im_end|>\n' }}
159
+ {%- elif message.role == "tool" %}
160
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
161
+ {{- '<|im_start|>user' }}
162
+ {%- endif %}
163
+ {{- '\n<tool_response>\n' }}
164
+ {{- content }}
165
+ {{- '\n</tool_response>' }}
166
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
167
+ {{- '<|im_end|>\n' }}
168
+ {%- elif loop.last %}
169
+ {{- '<|im_end|>\n' }}
170
+ {%- endif %}
171
+ {%- else %}
172
+ {{- raise_exception('Unexpected message role.') }}
173
+ {%- endif %}
174
+ {%- endif %}
175
+ {%- endfor %}
176
+ {%- if add_generation_prompt %}
177
+ {{- '<|im_start|>assistant\n' }}
178
+ {%- if enable_thinking is defined and enable_thinking is false %}
179
+ {{- '<think>\n\n</think>\n\n' }}
180
+ {%- else %}
181
+ {{- '<think>\n' }}
182
+ {%- endif %}
183
+ {%- endif %}
184
+ {#- Unsloth fixes - developer role, merged system messages, tool calling #}
PEFT/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3de7d80764b7c4938862d21cb485bc18dded00aeee9ec7d627471aea9a7d83ba
3
+ size 119887269
PEFT/processor_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "do_convert_rgb": true,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "Qwen2VLImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "merge_size": 2,
19
+ "patch_size": 16,
20
+ "resample": 3,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 16777216,
24
+ "shortest_edge": 65536
25
+ },
26
+ "temporal_patch_size": 2
27
+ },
28
+ "processor_class": "Qwen3VLProcessor",
29
+ "video_processor": {
30
+ "do_convert_rgb": true,
31
+ "do_normalize": true,
32
+ "do_rescale": true,
33
+ "do_resize": true,
34
+ "do_sample_frames": true,
35
+ "fps": 2,
36
+ "image_mean": [
37
+ 0.5,
38
+ 0.5,
39
+ 0.5
40
+ ],
41
+ "image_std": [
42
+ 0.5,
43
+ 0.5,
44
+ 0.5
45
+ ],
46
+ "max_frames": 768,
47
+ "merge_size": 2,
48
+ "min_frames": 4,
49
+ "patch_size": 16,
50
+ "resample": 3,
51
+ "rescale_factor": 0.00392156862745098,
52
+ "return_metadata": false,
53
+ "size": {
54
+ "longest_edge": 25165824,
55
+ "shortest_edge": 4096
56
+ },
57
+ "temporal_patch_size": 2,
58
+ "video_processor_type": "Qwen3VLVideoProcessor"
59
+ }
60
+ }
PEFT/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1d565802a8e26c4e8a31328752b7a7fdc186d9401aa008e65697d0ad8c22e33
3
+ size 14645
PEFT/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57f5bbb5b4ba44d34a455960920ef8eaf75574205648b376b9b795cb9f0b32ae
3
+ size 1465
PEFT/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
3
+ size 19989325
PEFT/tokenizer_config.json ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|im_end|>",
10
+ "errors": "replace",
11
+ "image_token": "<|image_pad|>",
12
+ "is_local": false,
13
+ "local_files_only": false,
14
+ "model_max_length": 262144,
15
+ "model_specific_special_tokens": {
16
+ "audio_bos_token": "<|audio_start|>",
17
+ "audio_eos_token": "<|audio_end|>",
18
+ "audio_token": "<|audio_pad|>",
19
+ "image_token": "<|image_pad|>",
20
+ "video_token": "<|video_pad|>",
21
+ "vision_bos_token": "<|vision_start|>",
22
+ "vision_eos_token": "<|vision_end|>"
23
+ },
24
+ "pad_token": "<|endoftext|>",
25
+ "padding_side": "right",
26
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
27
+ "processor_class": "Qwen3VLProcessor",
28
+ "split_special_tokens": false,
29
+ "tokenizer_class": "Qwen2Tokenizer",
30
+ "unk_token": null,
31
+ "video_token": "<|video_pad|>",
32
+ "vision_bos_token": "<|vision_start|>",
33
+ "vision_eos_token": "<|vision_end|>",
34
+ "added_tokens_decoder": {
35
+ "248044": {
36
+ "content": "<|endoftext|>",
37
+ "single_word": false,
38
+ "lstrip": false,
39
+ "rstrip": false,
40
+ "normalized": false,
41
+ "special": true
42
+ },
43
+ "248045": {
44
+ "content": "<|im_start|>",
45
+ "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
+ "normalized": false,
49
+ "special": true
50
+ },
51
+ "248046": {
52
+ "content": "<|im_end|>",
53
+ "single_word": false,
54
+ "lstrip": false,
55
+ "rstrip": false,
56
+ "normalized": false,
57
+ "special": true
58
+ },
59
+ "248047": {
60
+ "content": "<|object_ref_start|>",
61
+ "single_word": false,
62
+ "lstrip": false,
63
+ "rstrip": false,
64
+ "normalized": false,
65
+ "special": true
66
+ },
67
+ "248048": {
68
+ "content": "<|object_ref_end|>",
69
+ "single_word": false,
70
+ "lstrip": false,
71
+ "rstrip": false,
72
+ "normalized": false,
73
+ "special": true
74
+ },
75
+ "248049": {
76
+ "content": "<|box_start|>",
77
+ "single_word": false,
78
+ "lstrip": false,
79
+ "rstrip": false,
80
+ "normalized": false,
81
+ "special": true
82
+ },
83
+ "248050": {
84
+ "content": "<|box_end|>",
85
+ "single_word": false,
86
+ "lstrip": false,
87
+ "rstrip": false,
88
+ "normalized": false,
89
+ "special": true
90
+ },
91
+ "248051": {
92
+ "content": "<|quad_start|>",
93
+ "single_word": false,
94
+ "lstrip": false,
95
+ "rstrip": false,
96
+ "normalized": false,
97
+ "special": true
98
+ },
99
+ "248052": {
100
+ "content": "<|quad_end|>",
101
+ "single_word": false,
102
+ "lstrip": false,
103
+ "rstrip": false,
104
+ "normalized": false,
105
+ "special": true
106
+ },
107
+ "248053": {
108
+ "content": "<|vision_start|>",
109
+ "single_word": false,
110
+ "lstrip": false,
111
+ "rstrip": false,
112
+ "normalized": false,
113
+ "special": true
114
+ },
115
+ "248054": {
116
+ "content": "<|vision_end|>",
117
+ "single_word": false,
118
+ "lstrip": false,
119
+ "rstrip": false,
120
+ "normalized": false,
121
+ "special": true
122
+ },
123
+ "248055": {
124
+ "content": "<|vision_pad|>",
125
+ "single_word": false,
126
+ "lstrip": false,
127
+ "rstrip": false,
128
+ "normalized": false,
129
+ "special": true
130
+ },
131
+ "248056": {
132
+ "content": "<|image_pad|>",
133
+ "single_word": false,
134
+ "lstrip": false,
135
+ "rstrip": false,
136
+ "normalized": false,
137
+ "special": true
138
+ },
139
+ "248057": {
140
+ "content": "<|video_pad|>",
141
+ "single_word": false,
142
+ "lstrip": false,
143
+ "rstrip": false,
144
+ "normalized": false,
145
+ "special": true
146
+ },
147
+ "248058": {
148
+ "content": "<tool_call>",
149
+ "single_word": false,
150
+ "lstrip": false,
151
+ "rstrip": false,
152
+ "normalized": false,
153
+ "special": false
154
+ },
155
+ "248059": {
156
+ "content": "</tool_call>",
157
+ "single_word": false,
158
+ "lstrip": false,
159
+ "rstrip": false,
160
+ "normalized": false,
161
+ "special": false
162
+ },
163
+ "248060": {
164
+ "content": "<|fim_prefix|>",
165
+ "single_word": false,
166
+ "lstrip": false,
167
+ "rstrip": false,
168
+ "normalized": false,
169
+ "special": false
170
+ },
171
+ "248061": {
172
+ "content": "<|fim_middle|>",
173
+ "single_word": false,
174
+ "lstrip": false,
175
+ "rstrip": false,
176
+ "normalized": false,
177
+ "special": false
178
+ },
179
+ "248062": {
180
+ "content": "<|fim_suffix|>",
181
+ "single_word": false,
182
+ "lstrip": false,
183
+ "rstrip": false,
184
+ "normalized": false,
185
+ "special": false
186
+ },
187
+ "248063": {
188
+ "content": "<|fim_pad|>",
189
+ "single_word": false,
190
+ "lstrip": false,
191
+ "rstrip": false,
192
+ "normalized": false,
193
+ "special": false
194
+ },
195
+ "248064": {
196
+ "content": "<|repo_name|>",
197
+ "single_word": false,
198
+ "lstrip": false,
199
+ "rstrip": false,
200
+ "normalized": false,
201
+ "special": false
202
+ },
203
+ "248065": {
204
+ "content": "<|file_sep|>",
205
+ "single_word": false,
206
+ "lstrip": false,
207
+ "rstrip": false,
208
+ "normalized": false,
209
+ "special": false
210
+ },
211
+ "248066": {
212
+ "content": "<tool_response>",
213
+ "single_word": false,
214
+ "lstrip": false,
215
+ "rstrip": false,
216
+ "normalized": false,
217
+ "special": false
218
+ },
219
+ "248067": {
220
+ "content": "</tool_response>",
221
+ "single_word": false,
222
+ "lstrip": false,
223
+ "rstrip": false,
224
+ "normalized": false,
225
+ "special": false
226
+ },
227
+ "248068": {
228
+ "content": "<think>",
229
+ "single_word": false,
230
+ "lstrip": false,
231
+ "rstrip": false,
232
+ "normalized": false,
233
+ "special": false
234
+ },
235
+ "248069": {
236
+ "content": "</think>",
237
+ "single_word": false,
238
+ "lstrip": false,
239
+ "rstrip": false,
240
+ "normalized": false,
241
+ "special": false
242
+ },
243
+ "248070": {
244
+ "content": "<|audio_start|>",
245
+ "single_word": false,
246
+ "lstrip": false,
247
+ "rstrip": false,
248
+ "normalized": false,
249
+ "special": true
250
+ },
251
+ "248071": {
252
+ "content": "<|audio_end|>",
253
+ "single_word": false,
254
+ "lstrip": false,
255
+ "rstrip": false,
256
+ "normalized": false,
257
+ "special": true
258
+ },
259
+ "248072": {
260
+ "content": "<tts_pad>",
261
+ "single_word": false,
262
+ "lstrip": false,
263
+ "rstrip": false,
264
+ "normalized": false,
265
+ "special": true
266
+ },
267
+ "248073": {
268
+ "content": "<tts_text_bos>",
269
+ "single_word": false,
270
+ "lstrip": false,
271
+ "rstrip": false,
272
+ "normalized": false,
273
+ "special": true
274
+ },
275
+ "248074": {
276
+ "content": "<tts_text_eod>",
277
+ "single_word": false,
278
+ "lstrip": false,
279
+ "rstrip": false,
280
+ "normalized": false,
281
+ "special": true
282
+ },
283
+ "248075": {
284
+ "content": "<tts_text_bos_single>",
285
+ "single_word": false,
286
+ "lstrip": false,
287
+ "rstrip": false,
288
+ "normalized": false,
289
+ "special": true
290
+ },
291
+ "248076": {
292
+ "content": "<|audio_pad|>",
293
+ "single_word": false,
294
+ "lstrip": false,
295
+ "rstrip": false,
296
+ "normalized": false,
297
+ "special": true
298
+ }
299
+ }
300
+ }
PEFT/trainer_state.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.04013377926421405,
6
+ "eval_steps": 500,
7
+ "global_step": 30,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.0013377926421404682,
14
+ "grad_norm": 1.5715811252593994,
15
+ "learning_rate": 0.0,
16
+ "loss": 0.5295005440711975,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.0026755852842809363,
21
+ "grad_norm": 2.206214666366577,
22
+ "learning_rate": 4e-05,
23
+ "loss": 1.0331904888153076,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 0.004013377926421404,
28
+ "grad_norm": 0.2002408355474472,
29
+ "learning_rate": 8e-05,
30
+ "loss": 0.6851451992988586,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 0.005351170568561873,
35
+ "grad_norm": 3.6857428550720215,
36
+ "learning_rate": 0.00012,
37
+ "loss": 0.7315769791603088,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 0.006688963210702341,
42
+ "grad_norm": 0.20797862112522125,
43
+ "learning_rate": 0.00016,
44
+ "loss": 0.6253825426101685,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 0.008026755852842809,
49
+ "grad_norm": 0.21905812621116638,
50
+ "learning_rate": 0.0002,
51
+ "loss": 0.7847438454627991,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 0.009364548494983277,
56
+ "grad_norm": 3.00827956199646,
57
+ "learning_rate": 0.000192,
58
+ "loss": 0.7124001979827881,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 0.010702341137123745,
63
+ "grad_norm": 0.17882846295833588,
64
+ "learning_rate": 0.00018400000000000003,
65
+ "loss": 0.4685787558555603,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 0.012040133779264214,
70
+ "grad_norm": 0.2079354226589203,
71
+ "learning_rate": 0.00017600000000000002,
72
+ "loss": 0.5266923904418945,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 0.013377926421404682,
77
+ "grad_norm": 0.34785351157188416,
78
+ "learning_rate": 0.000168,
79
+ "loss": 0.6801329851150513,
80
+ "step": 10
81
+ },
82
+ {
83
+ "epoch": 0.01471571906354515,
84
+ "grad_norm": 0.20381611585617065,
85
+ "learning_rate": 0.00016,
86
+ "loss": 0.5431673526763916,
87
+ "step": 11
88
+ },
89
+ {
90
+ "epoch": 0.016053511705685617,
91
+ "grad_norm": 0.23945724964141846,
92
+ "learning_rate": 0.000152,
93
+ "loss": 0.5870981216430664,
94
+ "step": 12
95
+ },
96
+ {
97
+ "epoch": 0.017391304347826087,
98
+ "grad_norm": 0.18765665590763092,
99
+ "learning_rate": 0.000144,
100
+ "loss": 0.6272132396697998,
101
+ "step": 13
102
+ },
103
+ {
104
+ "epoch": 0.018729096989966554,
105
+ "grad_norm": 0.23071445524692535,
106
+ "learning_rate": 0.00013600000000000003,
107
+ "loss": 0.6761070489883423,
108
+ "step": 14
109
+ },
110
+ {
111
+ "epoch": 0.020066889632107024,
112
+ "grad_norm": 0.17512761056423187,
113
+ "learning_rate": 0.00012800000000000002,
114
+ "loss": 0.4376082718372345,
115
+ "step": 15
116
+ },
117
+ {
118
+ "epoch": 0.02140468227424749,
119
+ "grad_norm": 0.1657513976097107,
120
+ "learning_rate": 0.00012,
121
+ "loss": 0.6351020336151123,
122
+ "step": 16
123
+ },
124
+ {
125
+ "epoch": 0.02274247491638796,
126
+ "grad_norm": 0.1483815610408783,
127
+ "learning_rate": 0.00011200000000000001,
128
+ "loss": 0.8501819372177124,
129
+ "step": 17
130
+ },
131
+ {
132
+ "epoch": 0.024080267558528427,
133
+ "grad_norm": 0.17044974863529205,
134
+ "learning_rate": 0.00010400000000000001,
135
+ "loss": 0.5408704280853271,
136
+ "step": 18
137
+ },
138
+ {
139
+ "epoch": 0.025418060200668897,
140
+ "grad_norm": 0.1553332656621933,
141
+ "learning_rate": 9.6e-05,
142
+ "loss": 0.5758466720581055,
143
+ "step": 19
144
+ },
145
+ {
146
+ "epoch": 0.026755852842809364,
147
+ "grad_norm": 0.14736361801624298,
148
+ "learning_rate": 8.800000000000001e-05,
149
+ "loss": 0.6921069622039795,
150
+ "step": 20
151
+ },
152
+ {
153
+ "epoch": 0.028093645484949834,
154
+ "grad_norm": 0.1719602644443512,
155
+ "learning_rate": 8e-05,
156
+ "loss": 0.7074459791183472,
157
+ "step": 21
158
+ },
159
+ {
160
+ "epoch": 0.0294314381270903,
161
+ "grad_norm": 0.16651925444602966,
162
+ "learning_rate": 7.2e-05,
163
+ "loss": 1.1875662803649902,
164
+ "step": 22
165
+ },
166
+ {
167
+ "epoch": 0.03076923076923077,
168
+ "grad_norm": 0.21404892206192017,
169
+ "learning_rate": 6.400000000000001e-05,
170
+ "loss": 0.5640852451324463,
171
+ "step": 23
172
+ },
173
+ {
174
+ "epoch": 0.032107023411371234,
175
+ "grad_norm": 0.1600080132484436,
176
+ "learning_rate": 5.6000000000000006e-05,
177
+ "loss": 0.7823425531387329,
178
+ "step": 24
179
+ },
180
+ {
181
+ "epoch": 0.033444816053511704,
182
+ "grad_norm": 0.21103690564632416,
183
+ "learning_rate": 4.8e-05,
184
+ "loss": 0.746474027633667,
185
+ "step": 25
186
+ },
187
+ {
188
+ "epoch": 0.034782608695652174,
189
+ "grad_norm": 0.15696129202842712,
190
+ "learning_rate": 4e-05,
191
+ "loss": 0.7975807785987854,
192
+ "step": 26
193
+ },
194
+ {
195
+ "epoch": 0.036120401337792644,
196
+ "grad_norm": 0.2011173665523529,
197
+ "learning_rate": 3.2000000000000005e-05,
198
+ "loss": 0.5592220425605774,
199
+ "step": 27
200
+ },
201
+ {
202
+ "epoch": 0.03745819397993311,
203
+ "grad_norm": 0.20605628192424774,
204
+ "learning_rate": 2.4e-05,
205
+ "loss": 0.6352581977844238,
206
+ "step": 28
207
+ },
208
+ {
209
+ "epoch": 0.03879598662207358,
210
+ "grad_norm": 0.14874210953712463,
211
+ "learning_rate": 1.6000000000000003e-05,
212
+ "loss": 0.4883303642272949,
213
+ "step": 29
214
+ },
215
+ {
216
+ "epoch": 0.04013377926421405,
217
+ "grad_norm": 0.1402672380208969,
218
+ "learning_rate": 8.000000000000001e-06,
219
+ "loss": 0.5687887668609619,
220
+ "step": 30
221
+ }
222
+ ],
223
+ "logging_steps": 1,
224
+ "max_steps": 30,
225
+ "num_input_tokens_seen": 0,
226
+ "num_train_epochs": 1,
227
+ "save_steps": 500,
228
+ "stateful_callbacks": {
229
+ "TrainerControl": {
230
+ "args": {
231
+ "should_epoch_stop": false,
232
+ "should_evaluate": false,
233
+ "should_log": false,
234
+ "should_save": true,
235
+ "should_training_stop": true
236
+ },
237
+ "attributes": {}
238
+ }
239
+ },
240
+ "total_flos": 9986400045789120.0,
241
+ "train_batch_size": 1,
242
+ "trial_name": null,
243
+ "trial_params": null
244
+ }
PEFT/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:471ef46bc2bfd179d4f765925ec26f7861a52a5e4d1d0116d0c28086920dfafb
3
+ size 5649