GTKING commited on
Commit
02bfcad
·
verified ·
1 Parent(s): 9293d15

Clean up intermediate training checkpoint files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. checkpoint-1000/chat_template.jinja +0 -111
  2. checkpoint-1000/config.json +0 -129
  3. checkpoint-1000/generation_config.json +0 -6
  4. checkpoint-1000/model.safetensors +0 -3
  5. checkpoint-1000/optimizer.bin +0 -3
  6. checkpoint-1000/scheduler.bin +0 -3
  7. checkpoint-1000/tokenizer.json +0 -3
  8. checkpoint-1000/tokenizer_config.json +0 -20
  9. checkpoint-1000/train.json +0 -5
  10. checkpoint-10000/chat_template.jinja +0 -111
  11. checkpoint-10000/config.json +0 -129
  12. checkpoint-10000/generation_config.json +0 -6
  13. checkpoint-10000/model.safetensors +0 -3
  14. checkpoint-10000/optimizer.bin +0 -3
  15. checkpoint-10000/scheduler.bin +0 -3
  16. checkpoint-10000/tokenizer.json +0 -3
  17. checkpoint-10000/tokenizer_config.json +0 -20
  18. checkpoint-10000/train.json +0 -5
  19. checkpoint-100000/chat_template.jinja +0 -111
  20. checkpoint-100000/config.json +0 -129
  21. checkpoint-100000/generation_config.json +0 -6
  22. checkpoint-100000/model.safetensors +0 -3
  23. checkpoint-100000/optimizer.bin +0 -3
  24. checkpoint-100000/scheduler.bin +0 -3
  25. checkpoint-100000/tokenizer.json +0 -3
  26. checkpoint-100000/tokenizer_config.json +0 -20
  27. checkpoint-100000/train.json +0 -5
  28. checkpoint-101000/chat_template.jinja +0 -111
  29. checkpoint-101000/config.json +0 -129
  30. checkpoint-101000/generation_config.json +0 -6
  31. checkpoint-101000/model.safetensors +0 -3
  32. checkpoint-101000/optimizer.bin +0 -3
  33. checkpoint-101000/scheduler.bin +0 -3
  34. checkpoint-101000/tokenizer.json +0 -3
  35. checkpoint-101000/tokenizer_config.json +0 -20
  36. checkpoint-101000/train.json +0 -5
  37. checkpoint-102000/chat_template.jinja +0 -111
  38. checkpoint-102000/config.json +0 -129
  39. checkpoint-102000/generation_config.json +0 -6
  40. checkpoint-102000/model.safetensors +0 -3
  41. checkpoint-102000/optimizer.bin +0 -3
  42. checkpoint-102000/scheduler.bin +0 -3
  43. checkpoint-102000/tokenizer.json +0 -3
  44. checkpoint-102000/tokenizer_config.json +0 -20
  45. checkpoint-102000/train.json +0 -5
  46. checkpoint-103000/chat_template.jinja +0 -111
  47. checkpoint-103000/config.json +0 -129
  48. checkpoint-103000/generation_config.json +0 -6
  49. checkpoint-103000/model.safetensors +0 -3
  50. checkpoint-103000/optimizer.bin +0 -3
checkpoint-1000/chat_template.jinja DELETED
@@ -1,111 +0,0 @@
1
- {{- bos_token }}
2
- {%- if custom_tools is defined and custom_tools%}
3
- {%- set tools = custom_tools %}
4
- {%- endif %}
5
- {%- if tools is defined and tools %}
6
- {%- set tool_definition = tool_definition ~ (tools | tojson(indent=4)) %}
7
- {%- else %}
8
- {%- set tools = none %}
9
- {%- endif %}
10
-
11
-
12
- {#- This block extracts the system message, so we can slot it into the right place. #}
13
- {%- if messages[0]['role'] == 'system' %}
14
- {%- set user_provided_system_message = true %}
15
- {%- if messages[0]['content'] is string %}
16
- {%- set system_message = messages[0]['content']|trim %}
17
- {%- else %}
18
- {%- set system_message = messages[0]['content'][0]['text']|trim %}
19
- {%- endif %}
20
- {%- set messages = messages[1:] %}
21
- {%- else %}
22
- {%- if tools is not none %}
23
- {#- Since not system_message was provided by user, if tool is provided, system_message is now default tool system message #}
24
- {#- This system message is from llama website:https://www.llama.com/docs/model-cards-and-prompt-formats/llama4/ #}
25
- {%- set system_message = "You are a helpful assistant and an expert in function composition. You can answer general questions using your internal knowledge OR invoke functions when necessary. Follow these strict guidelines:\n\n1. FUNCTION CALLS:\n- ONLY use functions that are EXPLICITLY listed in the function list below\n- If NO functions are listed (empty function list []), respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If a function is not in the list, respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If ALL required parameters are present AND the query EXACTLY matches a listed function's purpose: output ONLY the function call(s)\n- Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\nExamples:\nCORRECT: [get_weather(location=\"Vancouver\"), calculate_route(start=\"Boston\", end=\"New York\")] <- Only if get_weather and calculate_route are in function list\nINCORRECT: get_weather(location=\"New York\")\nINCORRECT: Let me check the weather: [get_weather(location=\"New York\")]\nINCORRECT: [get_events(location=\"Singapore\")] <- If function not in list\n\n2. RESPONSE RULES:\n- For pure function requests matching a listed function: ONLY output the function call(s)\n- For knowledge questions: ONLY output text\n- For missing parameters: ONLY request the specific missing parameters\n- For unavailable services (not in function list): output ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\". Do NOT execute a function call.\n- If the query asks for information beyond what a listed function provides: output ONLY with internal knowledge about your limitations\n- NEVER combine text and function calls in the same response\n- NEVER suggest alternative functions when the requested service is unavailable\n- NEVER create or invent new functions not listed below\n\n3. STRICT BOUNDARIES:\n- ONLY use functions from the list below - no exceptions\n- NEVER use a function as an alternative to unavailable information\n- NEVER call functions not present in the function list\n- NEVER add explanatory text to function calls\n- NEVER respond with empty brackets\n- Use proper Python/JSON syntax for function calls\n- Check the function list carefully before responding\n\n4. TOOL RESPONSE HANDLING:\n- When receiving tool responses: provide concise, natural language responses\n- Don't repeat tool response verbatim\n- Don't add supplementary information\n\nHere is a list of functions in JSON format that you can invoke:\n" %}
26
- {%- else %}
27
- {%- set system_message = "" %}
28
- {%- endif %}
29
- {%- endif %}
30
- {#- Now writing the system message: use the user provided system message if user_provided_system_message, else default tool system message if tools presented #}
31
- {%- if system_message %}
32
- {#- always use user provided system message to override default tool system message #}
33
- {{- "<|header_start|>system<|header_end|>\n\n" }}
34
- {{- system_message }}
35
- {%- if user_provided_system_message and tools %}
36
- {{- "\nHere is a list of functions in JSON format that you can invoke. Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\n" }}
37
- {{- tool_definition -}}
38
- {%- elif tool_definition %}
39
- {{- tool_definition -}}
40
- {%- endif %}
41
- {{- "<|eot|>" }}
42
- {%- endif %}
43
-
44
- {#- Now deal with all other messages #}
45
- {%- for message in messages %}
46
- {#- Base case: messages that are not from tool role and has empty tool_call list #}
47
- {%- if not (message.role == 'ipython' or message.role == 'tool' or ('tool_calls' in message and message.tool_calls|length != 0 )) %}
48
- {{- '<|header_start|>' + message['role'] + '<|header_end|>\n\n' }}
49
- {%- if message['content'] is string %}
50
- {{- message['content'] }}
51
- {%- else %}
52
- {%- for content in message['content'] %}
53
- {%- if content['type'] == 'image' %}
54
- {{- '<|image|>' }}
55
- {%- elif content['type'] == 'text' %}
56
- {{- content['text'] | trim }}
57
- {%- endif %}
58
- {%- endfor %}
59
- {%- endif %}
60
- {{- "<|eot|>" }}
61
- {#- Tool case: messages has non-empty tool_call list, must from assistant #}
62
- {%- elif 'tool_calls' in message %}
63
- {#- assume tool_calls are always coming from assistant #}
64
- {%- if message.role == 'assistant' %}
65
- {{- '<|header_start|>assistant<|header_end|>\n\n' -}}
66
- {%- if message['content'] is string %}
67
- {{- message['content'] }}
68
- {%- else %}
69
- {%- for content in message['content'] %}
70
- {%- if content['type'] == 'image' %}
71
- {{- '<|image|>' }}
72
- {%- elif content['type'] == 'text' %}
73
- {{- content['text'] }}
74
- {%- endif %}
75
- {%- endfor %}
76
- {%- endif %}
77
- {{- "[" }}
78
- {%- for tool_call in message.tool_calls %}
79
- {%- if tool_call.function is defined %}
80
- {%- set tool_call = tool_call.function %}
81
- {%- endif %}
82
- {{- tool_call.name + '(' -}}
83
- {%- for param in tool_call.arguments %}
84
- {{- param + '="' -}}
85
- {{- "%s" | format(tool_call.arguments[param]) -}}
86
- {{- '"' -}}
87
- {% if not loop.last %}, {% endif %}
88
- {%- endfor %}
89
- {{- ')' -}}
90
- {% if not loop.last %}, {% endif %}
91
- {%- endfor %}
92
- {{- "]<|eot|>" }}
93
- {%- endif %}
94
- {#- Tool_response case: messages are from tool_response #}
95
- {%- elif message.role == "tool" or message.role == "ipython" %}
96
- {{- "<|header_start|>ipython<|header_end|>\n\n" }}
97
- {%- if message.content is string %}
98
- {{- message.content | tojson }}
99
- {%- else %}
100
- {%- for content in message['content'] %}
101
- {%- if content['type'] == 'text' %}
102
- {{- content['text'] | tojson }}
103
- {%- endif %}
104
- {%- endfor %}
105
- {%- endif %}
106
- {{- "<|eot|>" }}
107
- {%- endif %}
108
- {%- endfor %}
109
- {%- if add_generation_prompt %}
110
- {{- '<|header_start|>assistant<|header_end|>\n\n' }}
111
- {%- endif %}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-1000/config.json DELETED
@@ -1,129 +0,0 @@
1
- {
2
- "architectures": [
3
- "Llama4ForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_chunk_size": 8192,
7
- "attention_dropout": 0.0,
8
- "attn_scale": 0.1,
9
- "attn_temperature_tuning": true,
10
- "bos_token_id": 1,
11
- "dtype": "float32",
12
- "eos_token_id": 2,
13
- "floor_scale": 8192,
14
- "head_dim": 128,
15
- "hidden_act": "silu",
16
- "hidden_size": 384,
17
- "initializer_range": 0.02,
18
- "interleave_moe_layer_step": 1,
19
- "intermediate_size": 768,
20
- "intermediate_size_mlp": 1024,
21
- "layer_types": [
22
- "chunked_attention",
23
- "chunked_attention",
24
- "chunked_attention",
25
- "full_attention",
26
- "chunked_attention",
27
- "chunked_attention",
28
- "chunked_attention",
29
- "full_attention",
30
- "chunked_attention",
31
- "chunked_attention",
32
- "chunked_attention",
33
- "full_attention",
34
- "chunked_attention",
35
- "chunked_attention",
36
- "chunked_attention",
37
- "full_attention"
38
- ],
39
- "max_position_embeddings": 1024,
40
- "model_type": "llama4_text",
41
- "moe_layers": [
42
- 0,
43
- 1,
44
- 2,
45
- 3,
46
- 4,
47
- 5,
48
- 6,
49
- 7,
50
- 8,
51
- 9,
52
- 10,
53
- 11,
54
- 12,
55
- 13,
56
- 14,
57
- 15
58
- ],
59
- "no_rope_layers": [
60
- 1,
61
- 1,
62
- 1,
63
- 0,
64
- 1,
65
- 1,
66
- 1,
67
- 0,
68
- 1,
69
- 1,
70
- 1,
71
- 0,
72
- 1,
73
- 1,
74
- 1,
75
- 0,
76
- 1,
77
- 1,
78
- 1,
79
- 0,
80
- 1,
81
- 1,
82
- 1,
83
- 0,
84
- 1,
85
- 1,
86
- 1,
87
- 0,
88
- 1,
89
- 1,
90
- 1,
91
- 0,
92
- 1,
93
- 1,
94
- 1,
95
- 0,
96
- 1,
97
- 1,
98
- 1,
99
- 0,
100
- 1,
101
- 1,
102
- 1,
103
- 0,
104
- 1,
105
- 1,
106
- 1,
107
- 0
108
- ],
109
- "num_attention_heads": 6,
110
- "num_experts_per_tok": 1,
111
- "num_hidden_layers": 16,
112
- "num_key_value_heads": 2,
113
- "num_local_experts": 4,
114
- "output_router_logits": false,
115
- "pad_token_id": null,
116
- "rms_norm_eps": 1e-05,
117
- "rope_parameters": {
118
- "rope_theta": 500000.0,
119
- "rope_type": "default"
120
- },
121
- "router_aux_loss_coef": 0.001,
122
- "router_jitter_noise": 0.0,
123
- "sliding_window": 512,
124
- "tie_word_embeddings": false,
125
- "transformers_version": "5.0.0",
126
- "use_cache": false,
127
- "use_qk_norm": true,
128
- "vocab_size": 202048
129
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-1000/generation_config.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
- "transformers_version": "5.0.0"
6
- }
 
 
 
 
 
 
 
checkpoint-1000/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e9b936920f7bd0fafe35abc9e26b61355d074d6b51cd8354388b8beed741c3f3
3
- size 954310784
 
 
 
 
checkpoint-1000/optimizer.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ec860a92d40c737dade1c2efadc8f7dab28a234139f8a06f3fd32f060ed1ce1f
3
- size 1908743179
 
 
 
 
checkpoint-1000/scheduler.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7d09398de7f83a0b63e50391667245873a9c116ade86323c54d53ddfb8105a67
3
- size 1401
 
 
 
 
checkpoint-1000/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f85ca19a88fba839c5d96affee725afd31c3f037b068b8f97ea62d23754ee705
3
- size 27948677
 
 
 
 
checkpoint-1000/tokenizer_config.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "bos_token": "<|begin_of_text|>",
4
- "clean_up_tokenization_spaces": false,
5
- "eos_token": "<|eot|>",
6
- "is_local": false,
7
- "max_length": 1024,
8
- "model_input_names": [
9
- "input_ids",
10
- "attention_mask"
11
- ],
12
- "model_max_length": 10485760,
13
- "model_specific_special_tokens": {},
14
- "pad_token": "<|finetune_right_pad|>",
15
- "processor_class": "Llama4Processor",
16
- "stride": 0,
17
- "tokenizer_class": "TokenizersBackend",
18
- "truncation_side": "right",
19
- "truncation_strategy": "longest_first"
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-1000/train.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "global_step": 1000,
3
- "model_name_or_path": "GTKING/ZFusionAI_Base",
4
- "saved_at_time": "2026-06-17 19:48:11"
5
- }
 
 
 
 
 
 
checkpoint-10000/chat_template.jinja DELETED
@@ -1,111 +0,0 @@
1
- {{- bos_token }}
2
- {%- if custom_tools is defined and custom_tools%}
3
- {%- set tools = custom_tools %}
4
- {%- endif %}
5
- {%- if tools is defined and tools %}
6
- {%- set tool_definition = tool_definition ~ (tools | tojson(indent=4)) %}
7
- {%- else %}
8
- {%- set tools = none %}
9
- {%- endif %}
10
-
11
-
12
- {#- This block extracts the system message, so we can slot it into the right place. #}
13
- {%- if messages[0]['role'] == 'system' %}
14
- {%- set user_provided_system_message = true %}
15
- {%- if messages[0]['content'] is string %}
16
- {%- set system_message = messages[0]['content']|trim %}
17
- {%- else %}
18
- {%- set system_message = messages[0]['content'][0]['text']|trim %}
19
- {%- endif %}
20
- {%- set messages = messages[1:] %}
21
- {%- else %}
22
- {%- if tools is not none %}
23
- {#- Since not system_message was provided by user, if tool is provided, system_message is now default tool system message #}
24
- {#- This system message is from llama website:https://www.llama.com/docs/model-cards-and-prompt-formats/llama4/ #}
25
- {%- set system_message = "You are a helpful assistant and an expert in function composition. You can answer general questions using your internal knowledge OR invoke functions when necessary. Follow these strict guidelines:\n\n1. FUNCTION CALLS:\n- ONLY use functions that are EXPLICITLY listed in the function list below\n- If NO functions are listed (empty function list []), respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If a function is not in the list, respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If ALL required parameters are present AND the query EXACTLY matches a listed function's purpose: output ONLY the function call(s)\n- Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\nExamples:\nCORRECT: [get_weather(location=\"Vancouver\"), calculate_route(start=\"Boston\", end=\"New York\")] <- Only if get_weather and calculate_route are in function list\nINCORRECT: get_weather(location=\"New York\")\nINCORRECT: Let me check the weather: [get_weather(location=\"New York\")]\nINCORRECT: [get_events(location=\"Singapore\")] <- If function not in list\n\n2. RESPONSE RULES:\n- For pure function requests matching a listed function: ONLY output the function call(s)\n- For knowledge questions: ONLY output text\n- For missing parameters: ONLY request the specific missing parameters\n- For unavailable services (not in function list): output ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\". Do NOT execute a function call.\n- If the query asks for information beyond what a listed function provides: output ONLY with internal knowledge about your limitations\n- NEVER combine text and function calls in the same response\n- NEVER suggest alternative functions when the requested service is unavailable\n- NEVER create or invent new functions not listed below\n\n3. STRICT BOUNDARIES:\n- ONLY use functions from the list below - no exceptions\n- NEVER use a function as an alternative to unavailable information\n- NEVER call functions not present in the function list\n- NEVER add explanatory text to function calls\n- NEVER respond with empty brackets\n- Use proper Python/JSON syntax for function calls\n- Check the function list carefully before responding\n\n4. TOOL RESPONSE HANDLING:\n- When receiving tool responses: provide concise, natural language responses\n- Don't repeat tool response verbatim\n- Don't add supplementary information\n\nHere is a list of functions in JSON format that you can invoke:\n" %}
26
- {%- else %}
27
- {%- set system_message = "" %}
28
- {%- endif %}
29
- {%- endif %}
30
- {#- Now writing the system message: use the user provided system message if user_provided_system_message, else default tool system message if tools presented #}
31
- {%- if system_message %}
32
- {#- always use user provided system message to override default tool system message #}
33
- {{- "<|header_start|>system<|header_end|>\n\n" }}
34
- {{- system_message }}
35
- {%- if user_provided_system_message and tools %}
36
- {{- "\nHere is a list of functions in JSON format that you can invoke. Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\n" }}
37
- {{- tool_definition -}}
38
- {%- elif tool_definition %}
39
- {{- tool_definition -}}
40
- {%- endif %}
41
- {{- "<|eot|>" }}
42
- {%- endif %}
43
-
44
- {#- Now deal with all other messages #}
45
- {%- for message in messages %}
46
- {#- Base case: messages that are not from tool role and has empty tool_call list #}
47
- {%- if not (message.role == 'ipython' or message.role == 'tool' or ('tool_calls' in message and message.tool_calls|length != 0 )) %}
48
- {{- '<|header_start|>' + message['role'] + '<|header_end|>\n\n' }}
49
- {%- if message['content'] is string %}
50
- {{- message['content'] }}
51
- {%- else %}
52
- {%- for content in message['content'] %}
53
- {%- if content['type'] == 'image' %}
54
- {{- '<|image|>' }}
55
- {%- elif content['type'] == 'text' %}
56
- {{- content['text'] | trim }}
57
- {%- endif %}
58
- {%- endfor %}
59
- {%- endif %}
60
- {{- "<|eot|>" }}
61
- {#- Tool case: messages has non-empty tool_call list, must from assistant #}
62
- {%- elif 'tool_calls' in message %}
63
- {#- assume tool_calls are always coming from assistant #}
64
- {%- if message.role == 'assistant' %}
65
- {{- '<|header_start|>assistant<|header_end|>\n\n' -}}
66
- {%- if message['content'] is string %}
67
- {{- message['content'] }}
68
- {%- else %}
69
- {%- for content in message['content'] %}
70
- {%- if content['type'] == 'image' %}
71
- {{- '<|image|>' }}
72
- {%- elif content['type'] == 'text' %}
73
- {{- content['text'] }}
74
- {%- endif %}
75
- {%- endfor %}
76
- {%- endif %}
77
- {{- "[" }}
78
- {%- for tool_call in message.tool_calls %}
79
- {%- if tool_call.function is defined %}
80
- {%- set tool_call = tool_call.function %}
81
- {%- endif %}
82
- {{- tool_call.name + '(' -}}
83
- {%- for param in tool_call.arguments %}
84
- {{- param + '="' -}}
85
- {{- "%s" | format(tool_call.arguments[param]) -}}
86
- {{- '"' -}}
87
- {% if not loop.last %}, {% endif %}
88
- {%- endfor %}
89
- {{- ')' -}}
90
- {% if not loop.last %}, {% endif %}
91
- {%- endfor %}
92
- {{- "]<|eot|>" }}
93
- {%- endif %}
94
- {#- Tool_response case: messages are from tool_response #}
95
- {%- elif message.role == "tool" or message.role == "ipython" %}
96
- {{- "<|header_start|>ipython<|header_end|>\n\n" }}
97
- {%- if message.content is string %}
98
- {{- message.content | tojson }}
99
- {%- else %}
100
- {%- for content in message['content'] %}
101
- {%- if content['type'] == 'text' %}
102
- {{- content['text'] | tojson }}
103
- {%- endif %}
104
- {%- endfor %}
105
- {%- endif %}
106
- {{- "<|eot|>" }}
107
- {%- endif %}
108
- {%- endfor %}
109
- {%- if add_generation_prompt %}
110
- {{- '<|header_start|>assistant<|header_end|>\n\n' }}
111
- {%- endif %}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10000/config.json DELETED
@@ -1,129 +0,0 @@
1
- {
2
- "architectures": [
3
- "Llama4ForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_chunk_size": 8192,
7
- "attention_dropout": 0.0,
8
- "attn_scale": 0.1,
9
- "attn_temperature_tuning": true,
10
- "bos_token_id": 1,
11
- "dtype": "float32",
12
- "eos_token_id": 2,
13
- "floor_scale": 8192,
14
- "head_dim": 128,
15
- "hidden_act": "silu",
16
- "hidden_size": 384,
17
- "initializer_range": 0.02,
18
- "interleave_moe_layer_step": 1,
19
- "intermediate_size": 768,
20
- "intermediate_size_mlp": 1024,
21
- "layer_types": [
22
- "chunked_attention",
23
- "chunked_attention",
24
- "chunked_attention",
25
- "full_attention",
26
- "chunked_attention",
27
- "chunked_attention",
28
- "chunked_attention",
29
- "full_attention",
30
- "chunked_attention",
31
- "chunked_attention",
32
- "chunked_attention",
33
- "full_attention",
34
- "chunked_attention",
35
- "chunked_attention",
36
- "chunked_attention",
37
- "full_attention"
38
- ],
39
- "max_position_embeddings": 1024,
40
- "model_type": "llama4_text",
41
- "moe_layers": [
42
- 0,
43
- 1,
44
- 2,
45
- 3,
46
- 4,
47
- 5,
48
- 6,
49
- 7,
50
- 8,
51
- 9,
52
- 10,
53
- 11,
54
- 12,
55
- 13,
56
- 14,
57
- 15
58
- ],
59
- "no_rope_layers": [
60
- 1,
61
- 1,
62
- 1,
63
- 0,
64
- 1,
65
- 1,
66
- 1,
67
- 0,
68
- 1,
69
- 1,
70
- 1,
71
- 0,
72
- 1,
73
- 1,
74
- 1,
75
- 0,
76
- 1,
77
- 1,
78
- 1,
79
- 0,
80
- 1,
81
- 1,
82
- 1,
83
- 0,
84
- 1,
85
- 1,
86
- 1,
87
- 0,
88
- 1,
89
- 1,
90
- 1,
91
- 0,
92
- 1,
93
- 1,
94
- 1,
95
- 0,
96
- 1,
97
- 1,
98
- 1,
99
- 0,
100
- 1,
101
- 1,
102
- 1,
103
- 0,
104
- 1,
105
- 1,
106
- 1,
107
- 0
108
- ],
109
- "num_attention_heads": 6,
110
- "num_experts_per_tok": 1,
111
- "num_hidden_layers": 16,
112
- "num_key_value_heads": 2,
113
- "num_local_experts": 4,
114
- "output_router_logits": false,
115
- "pad_token_id": null,
116
- "rms_norm_eps": 1e-05,
117
- "rope_parameters": {
118
- "rope_theta": 500000.0,
119
- "rope_type": "default"
120
- },
121
- "router_aux_loss_coef": 0.001,
122
- "router_jitter_noise": 0.0,
123
- "sliding_window": 512,
124
- "tie_word_embeddings": false,
125
- "transformers_version": "5.0.0",
126
- "use_cache": false,
127
- "use_qk_norm": true,
128
- "vocab_size": 202048
129
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10000/generation_config.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
- "transformers_version": "5.0.0"
6
- }
 
 
 
 
 
 
 
checkpoint-10000/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1c3f9f0fb9d72bdb98758523a864b5428b6d35e0b7d450d200b2af3836e4975c
3
- size 954310784
 
 
 
 
checkpoint-10000/optimizer.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd0a6975f78446dc1b51e9095b61f1bb5a39129bb384641408f3f115ffe5088d
3
- size 1908743179
 
 
 
 
checkpoint-10000/scheduler.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c35112cecb5ef9b8bb66e0f5ac8064bd0103bf8e753c396f20a6f9f5ed06fefe
3
- size 1401
 
 
 
 
checkpoint-10000/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f85ca19a88fba839c5d96affee725afd31c3f037b068b8f97ea62d23754ee705
3
- size 27948677
 
 
 
 
checkpoint-10000/tokenizer_config.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "bos_token": "<|begin_of_text|>",
4
- "clean_up_tokenization_spaces": false,
5
- "eos_token": "<|eot|>",
6
- "is_local": false,
7
- "max_length": 1024,
8
- "model_input_names": [
9
- "input_ids",
10
- "attention_mask"
11
- ],
12
- "model_max_length": 10485760,
13
- "model_specific_special_tokens": {},
14
- "pad_token": "<|finetune_right_pad|>",
15
- "processor_class": "Llama4Processor",
16
- "stride": 0,
17
- "tokenizer_class": "TokenizersBackend",
18
- "truncation_side": "right",
19
- "truncation_strategy": "longest_first"
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10000/train.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "global_step": 10000,
3
- "model_name_or_path": "GTKING/ZFusionAI_Base",
4
- "saved_at_time": "2026-06-17 20:49:04"
5
- }
 
 
 
 
 
 
checkpoint-100000/chat_template.jinja DELETED
@@ -1,111 +0,0 @@
1
- {{- bos_token }}
2
- {%- if custom_tools is defined and custom_tools%}
3
- {%- set tools = custom_tools %}
4
- {%- endif %}
5
- {%- if tools is defined and tools %}
6
- {%- set tool_definition = tool_definition ~ (tools | tojson(indent=4)) %}
7
- {%- else %}
8
- {%- set tools = none %}
9
- {%- endif %}
10
-
11
-
12
- {#- This block extracts the system message, so we can slot it into the right place. #}
13
- {%- if messages[0]['role'] == 'system' %}
14
- {%- set user_provided_system_message = true %}
15
- {%- if messages[0]['content'] is string %}
16
- {%- set system_message = messages[0]['content']|trim %}
17
- {%- else %}
18
- {%- set system_message = messages[0]['content'][0]['text']|trim %}
19
- {%- endif %}
20
- {%- set messages = messages[1:] %}
21
- {%- else %}
22
- {%- if tools is not none %}
23
- {#- Since not system_message was provided by user, if tool is provided, system_message is now default tool system message #}
24
- {#- This system message is from llama website:https://www.llama.com/docs/model-cards-and-prompt-formats/llama4/ #}
25
- {%- set system_message = "You are a helpful assistant and an expert in function composition. You can answer general questions using your internal knowledge OR invoke functions when necessary. Follow these strict guidelines:\n\n1. FUNCTION CALLS:\n- ONLY use functions that are EXPLICITLY listed in the function list below\n- If NO functions are listed (empty function list []), respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If a function is not in the list, respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If ALL required parameters are present AND the query EXACTLY matches a listed function's purpose: output ONLY the function call(s)\n- Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\nExamples:\nCORRECT: [get_weather(location=\"Vancouver\"), calculate_route(start=\"Boston\", end=\"New York\")] <- Only if get_weather and calculate_route are in function list\nINCORRECT: get_weather(location=\"New York\")\nINCORRECT: Let me check the weather: [get_weather(location=\"New York\")]\nINCORRECT: [get_events(location=\"Singapore\")] <- If function not in list\n\n2. RESPONSE RULES:\n- For pure function requests matching a listed function: ONLY output the function call(s)\n- For knowledge questions: ONLY output text\n- For missing parameters: ONLY request the specific missing parameters\n- For unavailable services (not in function list): output ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\". Do NOT execute a function call.\n- If the query asks for information beyond what a listed function provides: output ONLY with internal knowledge about your limitations\n- NEVER combine text and function calls in the same response\n- NEVER suggest alternative functions when the requested service is unavailable\n- NEVER create or invent new functions not listed below\n\n3. STRICT BOUNDARIES:\n- ONLY use functions from the list below - no exceptions\n- NEVER use a function as an alternative to unavailable information\n- NEVER call functions not present in the function list\n- NEVER add explanatory text to function calls\n- NEVER respond with empty brackets\n- Use proper Python/JSON syntax for function calls\n- Check the function list carefully before responding\n\n4. TOOL RESPONSE HANDLING:\n- When receiving tool responses: provide concise, natural language responses\n- Don't repeat tool response verbatim\n- Don't add supplementary information\n\nHere is a list of functions in JSON format that you can invoke:\n" %}
26
- {%- else %}
27
- {%- set system_message = "" %}
28
- {%- endif %}
29
- {%- endif %}
30
- {#- Now writing the system message: use the user provided system message if user_provided_system_message, else default tool system message if tools presented #}
31
- {%- if system_message %}
32
- {#- always use user provided system message to override default tool system message #}
33
- {{- "<|header_start|>system<|header_end|>\n\n" }}
34
- {{- system_message }}
35
- {%- if user_provided_system_message and tools %}
36
- {{- "\nHere is a list of functions in JSON format that you can invoke. Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\n" }}
37
- {{- tool_definition -}}
38
- {%- elif tool_definition %}
39
- {{- tool_definition -}}
40
- {%- endif %}
41
- {{- "<|eot|>" }}
42
- {%- endif %}
43
-
44
- {#- Now deal with all other messages #}
45
- {%- for message in messages %}
46
- {#- Base case: messages that are not from tool role and has empty tool_call list #}
47
- {%- if not (message.role == 'ipython' or message.role == 'tool' or ('tool_calls' in message and message.tool_calls|length != 0 )) %}
48
- {{- '<|header_start|>' + message['role'] + '<|header_end|>\n\n' }}
49
- {%- if message['content'] is string %}
50
- {{- message['content'] }}
51
- {%- else %}
52
- {%- for content in message['content'] %}
53
- {%- if content['type'] == 'image' %}
54
- {{- '<|image|>' }}
55
- {%- elif content['type'] == 'text' %}
56
- {{- content['text'] | trim }}
57
- {%- endif %}
58
- {%- endfor %}
59
- {%- endif %}
60
- {{- "<|eot|>" }}
61
- {#- Tool case: messages has non-empty tool_call list, must from assistant #}
62
- {%- elif 'tool_calls' in message %}
63
- {#- assume tool_calls are always coming from assistant #}
64
- {%- if message.role == 'assistant' %}
65
- {{- '<|header_start|>assistant<|header_end|>\n\n' -}}
66
- {%- if message['content'] is string %}
67
- {{- message['content'] }}
68
- {%- else %}
69
- {%- for content in message['content'] %}
70
- {%- if content['type'] == 'image' %}
71
- {{- '<|image|>' }}
72
- {%- elif content['type'] == 'text' %}
73
- {{- content['text'] }}
74
- {%- endif %}
75
- {%- endfor %}
76
- {%- endif %}
77
- {{- "[" }}
78
- {%- for tool_call in message.tool_calls %}
79
- {%- if tool_call.function is defined %}
80
- {%- set tool_call = tool_call.function %}
81
- {%- endif %}
82
- {{- tool_call.name + '(' -}}
83
- {%- for param in tool_call.arguments %}
84
- {{- param + '="' -}}
85
- {{- "%s" | format(tool_call.arguments[param]) -}}
86
- {{- '"' -}}
87
- {% if not loop.last %}, {% endif %}
88
- {%- endfor %}
89
- {{- ')' -}}
90
- {% if not loop.last %}, {% endif %}
91
- {%- endfor %}
92
- {{- "]<|eot|>" }}
93
- {%- endif %}
94
- {#- Tool_response case: messages are from tool_response #}
95
- {%- elif message.role == "tool" or message.role == "ipython" %}
96
- {{- "<|header_start|>ipython<|header_end|>\n\n" }}
97
- {%- if message.content is string %}
98
- {{- message.content | tojson }}
99
- {%- else %}
100
- {%- for content in message['content'] %}
101
- {%- if content['type'] == 'text' %}
102
- {{- content['text'] | tojson }}
103
- {%- endif %}
104
- {%- endfor %}
105
- {%- endif %}
106
- {{- "<|eot|>" }}
107
- {%- endif %}
108
- {%- endfor %}
109
- {%- if add_generation_prompt %}
110
- {{- '<|header_start|>assistant<|header_end|>\n\n' }}
111
- {%- endif %}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-100000/config.json DELETED
@@ -1,129 +0,0 @@
1
- {
2
- "architectures": [
3
- "Llama4ForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_chunk_size": 8192,
7
- "attention_dropout": 0.0,
8
- "attn_scale": 0.1,
9
- "attn_temperature_tuning": true,
10
- "bos_token_id": 1,
11
- "dtype": "float32",
12
- "eos_token_id": 2,
13
- "floor_scale": 8192,
14
- "head_dim": 128,
15
- "hidden_act": "silu",
16
- "hidden_size": 384,
17
- "initializer_range": 0.02,
18
- "interleave_moe_layer_step": 1,
19
- "intermediate_size": 768,
20
- "intermediate_size_mlp": 1024,
21
- "layer_types": [
22
- "chunked_attention",
23
- "chunked_attention",
24
- "chunked_attention",
25
- "full_attention",
26
- "chunked_attention",
27
- "chunked_attention",
28
- "chunked_attention",
29
- "full_attention",
30
- "chunked_attention",
31
- "chunked_attention",
32
- "chunked_attention",
33
- "full_attention",
34
- "chunked_attention",
35
- "chunked_attention",
36
- "chunked_attention",
37
- "full_attention"
38
- ],
39
- "max_position_embeddings": 1024,
40
- "model_type": "llama4_text",
41
- "moe_layers": [
42
- 0,
43
- 1,
44
- 2,
45
- 3,
46
- 4,
47
- 5,
48
- 6,
49
- 7,
50
- 8,
51
- 9,
52
- 10,
53
- 11,
54
- 12,
55
- 13,
56
- 14,
57
- 15
58
- ],
59
- "no_rope_layers": [
60
- 1,
61
- 1,
62
- 1,
63
- 0,
64
- 1,
65
- 1,
66
- 1,
67
- 0,
68
- 1,
69
- 1,
70
- 1,
71
- 0,
72
- 1,
73
- 1,
74
- 1,
75
- 0,
76
- 1,
77
- 1,
78
- 1,
79
- 0,
80
- 1,
81
- 1,
82
- 1,
83
- 0,
84
- 1,
85
- 1,
86
- 1,
87
- 0,
88
- 1,
89
- 1,
90
- 1,
91
- 0,
92
- 1,
93
- 1,
94
- 1,
95
- 0,
96
- 1,
97
- 1,
98
- 1,
99
- 0,
100
- 1,
101
- 1,
102
- 1,
103
- 0,
104
- 1,
105
- 1,
106
- 1,
107
- 0
108
- ],
109
- "num_attention_heads": 6,
110
- "num_experts_per_tok": 1,
111
- "num_hidden_layers": 16,
112
- "num_key_value_heads": 2,
113
- "num_local_experts": 4,
114
- "output_router_logits": false,
115
- "pad_token_id": null,
116
- "rms_norm_eps": 1e-05,
117
- "rope_parameters": {
118
- "rope_theta": 500000.0,
119
- "rope_type": "default"
120
- },
121
- "router_aux_loss_coef": 0.001,
122
- "router_jitter_noise": 0.0,
123
- "sliding_window": 512,
124
- "tie_word_embeddings": false,
125
- "transformers_version": "5.0.0",
126
- "use_cache": false,
127
- "use_qk_norm": true,
128
- "vocab_size": 202048
129
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-100000/generation_config.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
- "transformers_version": "5.0.0"
6
- }
 
 
 
 
 
 
 
checkpoint-100000/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7fbe6ce3e4c7212c73a893ea3e155142515520e7d22aff337a637c22959e7634
3
- size 954310784
 
 
 
 
checkpoint-100000/optimizer.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e2d69f9b100d7debfe978caf4e9d24871624a3641f61172ba775f2e41af834b3
3
- size 1908743179
 
 
 
 
checkpoint-100000/scheduler.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:575a345f1c2a5ab6970fc9646a59aa4ad25efd0a1cc22455294c6848c68413f1
3
- size 1465
 
 
 
 
checkpoint-100000/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f85ca19a88fba839c5d96affee725afd31c3f037b068b8f97ea62d23754ee705
3
- size 27948677
 
 
 
 
checkpoint-100000/tokenizer_config.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "bos_token": "<|begin_of_text|>",
4
- "clean_up_tokenization_spaces": false,
5
- "eos_token": "<|eot|>",
6
- "is_local": false,
7
- "max_length": 1024,
8
- "model_input_names": [
9
- "input_ids",
10
- "attention_mask"
11
- ],
12
- "model_max_length": 10485760,
13
- "model_specific_special_tokens": {},
14
- "pad_token": "<|finetune_right_pad|>",
15
- "processor_class": "Llama4Processor",
16
- "stride": 0,
17
- "tokenizer_class": "TokenizersBackend",
18
- "truncation_side": "right",
19
- "truncation_strategy": "longest_first"
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-100000/train.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "global_step": 100000,
3
- "model_name_or_path": "GTKING/ZFusionAI_Base",
4
- "saved_at_time": "2026-06-18 06:58:49"
5
- }
 
 
 
 
 
 
checkpoint-101000/chat_template.jinja DELETED
@@ -1,111 +0,0 @@
1
- {{- bos_token }}
2
- {%- if custom_tools is defined and custom_tools%}
3
- {%- set tools = custom_tools %}
4
- {%- endif %}
5
- {%- if tools is defined and tools %}
6
- {%- set tool_definition = tool_definition ~ (tools | tojson(indent=4)) %}
7
- {%- else %}
8
- {%- set tools = none %}
9
- {%- endif %}
10
-
11
-
12
- {#- This block extracts the system message, so we can slot it into the right place. #}
13
- {%- if messages[0]['role'] == 'system' %}
14
- {%- set user_provided_system_message = true %}
15
- {%- if messages[0]['content'] is string %}
16
- {%- set system_message = messages[0]['content']|trim %}
17
- {%- else %}
18
- {%- set system_message = messages[0]['content'][0]['text']|trim %}
19
- {%- endif %}
20
- {%- set messages = messages[1:] %}
21
- {%- else %}
22
- {%- if tools is not none %}
23
- {#- Since not system_message was provided by user, if tool is provided, system_message is now default tool system message #}
24
- {#- This system message is from llama website:https://www.llama.com/docs/model-cards-and-prompt-formats/llama4/ #}
25
- {%- set system_message = "You are a helpful assistant and an expert in function composition. You can answer general questions using your internal knowledge OR invoke functions when necessary. Follow these strict guidelines:\n\n1. FUNCTION CALLS:\n- ONLY use functions that are EXPLICITLY listed in the function list below\n- If NO functions are listed (empty function list []), respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If a function is not in the list, respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If ALL required parameters are present AND the query EXACTLY matches a listed function's purpose: output ONLY the function call(s)\n- Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\nExamples:\nCORRECT: [get_weather(location=\"Vancouver\"), calculate_route(start=\"Boston\", end=\"New York\")] <- Only if get_weather and calculate_route are in function list\nINCORRECT: get_weather(location=\"New York\")\nINCORRECT: Let me check the weather: [get_weather(location=\"New York\")]\nINCORRECT: [get_events(location=\"Singapore\")] <- If function not in list\n\n2. RESPONSE RULES:\n- For pure function requests matching a listed function: ONLY output the function call(s)\n- For knowledge questions: ONLY output text\n- For missing parameters: ONLY request the specific missing parameters\n- For unavailable services (not in function list): output ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\". Do NOT execute a function call.\n- If the query asks for information beyond what a listed function provides: output ONLY with internal knowledge about your limitations\n- NEVER combine text and function calls in the same response\n- NEVER suggest alternative functions when the requested service is unavailable\n- NEVER create or invent new functions not listed below\n\n3. STRICT BOUNDARIES:\n- ONLY use functions from the list below - no exceptions\n- NEVER use a function as an alternative to unavailable information\n- NEVER call functions not present in the function list\n- NEVER add explanatory text to function calls\n- NEVER respond with empty brackets\n- Use proper Python/JSON syntax for function calls\n- Check the function list carefully before responding\n\n4. TOOL RESPONSE HANDLING:\n- When receiving tool responses: provide concise, natural language responses\n- Don't repeat tool response verbatim\n- Don't add supplementary information\n\nHere is a list of functions in JSON format that you can invoke:\n" %}
26
- {%- else %}
27
- {%- set system_message = "" %}
28
- {%- endif %}
29
- {%- endif %}
30
- {#- Now writing the system message: use the user provided system message if user_provided_system_message, else default tool system message if tools presented #}
31
- {%- if system_message %}
32
- {#- always use user provided system message to override default tool system message #}
33
- {{- "<|header_start|>system<|header_end|>\n\n" }}
34
- {{- system_message }}
35
- {%- if user_provided_system_message and tools %}
36
- {{- "\nHere is a list of functions in JSON format that you can invoke. Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\n" }}
37
- {{- tool_definition -}}
38
- {%- elif tool_definition %}
39
- {{- tool_definition -}}
40
- {%- endif %}
41
- {{- "<|eot|>" }}
42
- {%- endif %}
43
-
44
- {#- Now deal with all other messages #}
45
- {%- for message in messages %}
46
- {#- Base case: messages that are not from tool role and has empty tool_call list #}
47
- {%- if not (message.role == 'ipython' or message.role == 'tool' or ('tool_calls' in message and message.tool_calls|length != 0 )) %}
48
- {{- '<|header_start|>' + message['role'] + '<|header_end|>\n\n' }}
49
- {%- if message['content'] is string %}
50
- {{- message['content'] }}
51
- {%- else %}
52
- {%- for content in message['content'] %}
53
- {%- if content['type'] == 'image' %}
54
- {{- '<|image|>' }}
55
- {%- elif content['type'] == 'text' %}
56
- {{- content['text'] | trim }}
57
- {%- endif %}
58
- {%- endfor %}
59
- {%- endif %}
60
- {{- "<|eot|>" }}
61
- {#- Tool case: messages has non-empty tool_call list, must from assistant #}
62
- {%- elif 'tool_calls' in message %}
63
- {#- assume tool_calls are always coming from assistant #}
64
- {%- if message.role == 'assistant' %}
65
- {{- '<|header_start|>assistant<|header_end|>\n\n' -}}
66
- {%- if message['content'] is string %}
67
- {{- message['content'] }}
68
- {%- else %}
69
- {%- for content in message['content'] %}
70
- {%- if content['type'] == 'image' %}
71
- {{- '<|image|>' }}
72
- {%- elif content['type'] == 'text' %}
73
- {{- content['text'] }}
74
- {%- endif %}
75
- {%- endfor %}
76
- {%- endif %}
77
- {{- "[" }}
78
- {%- for tool_call in message.tool_calls %}
79
- {%- if tool_call.function is defined %}
80
- {%- set tool_call = tool_call.function %}
81
- {%- endif %}
82
- {{- tool_call.name + '(' -}}
83
- {%- for param in tool_call.arguments %}
84
- {{- param + '="' -}}
85
- {{- "%s" | format(tool_call.arguments[param]) -}}
86
- {{- '"' -}}
87
- {% if not loop.last %}, {% endif %}
88
- {%- endfor %}
89
- {{- ')' -}}
90
- {% if not loop.last %}, {% endif %}
91
- {%- endfor %}
92
- {{- "]<|eot|>" }}
93
- {%- endif %}
94
- {#- Tool_response case: messages are from tool_response #}
95
- {%- elif message.role == "tool" or message.role == "ipython" %}
96
- {{- "<|header_start|>ipython<|header_end|>\n\n" }}
97
- {%- if message.content is string %}
98
- {{- message.content | tojson }}
99
- {%- else %}
100
- {%- for content in message['content'] %}
101
- {%- if content['type'] == 'text' %}
102
- {{- content['text'] | tojson }}
103
- {%- endif %}
104
- {%- endfor %}
105
- {%- endif %}
106
- {{- "<|eot|>" }}
107
- {%- endif %}
108
- {%- endfor %}
109
- {%- if add_generation_prompt %}
110
- {{- '<|header_start|>assistant<|header_end|>\n\n' }}
111
- {%- endif %}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-101000/config.json DELETED
@@ -1,129 +0,0 @@
1
- {
2
- "architectures": [
3
- "Llama4ForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_chunk_size": 8192,
7
- "attention_dropout": 0.0,
8
- "attn_scale": 0.1,
9
- "attn_temperature_tuning": true,
10
- "bos_token_id": 1,
11
- "dtype": "float32",
12
- "eos_token_id": 2,
13
- "floor_scale": 8192,
14
- "head_dim": 128,
15
- "hidden_act": "silu",
16
- "hidden_size": 384,
17
- "initializer_range": 0.02,
18
- "interleave_moe_layer_step": 1,
19
- "intermediate_size": 768,
20
- "intermediate_size_mlp": 1024,
21
- "layer_types": [
22
- "chunked_attention",
23
- "chunked_attention",
24
- "chunked_attention",
25
- "full_attention",
26
- "chunked_attention",
27
- "chunked_attention",
28
- "chunked_attention",
29
- "full_attention",
30
- "chunked_attention",
31
- "chunked_attention",
32
- "chunked_attention",
33
- "full_attention",
34
- "chunked_attention",
35
- "chunked_attention",
36
- "chunked_attention",
37
- "full_attention"
38
- ],
39
- "max_position_embeddings": 1024,
40
- "model_type": "llama4_text",
41
- "moe_layers": [
42
- 0,
43
- 1,
44
- 2,
45
- 3,
46
- 4,
47
- 5,
48
- 6,
49
- 7,
50
- 8,
51
- 9,
52
- 10,
53
- 11,
54
- 12,
55
- 13,
56
- 14,
57
- 15
58
- ],
59
- "no_rope_layers": [
60
- 1,
61
- 1,
62
- 1,
63
- 0,
64
- 1,
65
- 1,
66
- 1,
67
- 0,
68
- 1,
69
- 1,
70
- 1,
71
- 0,
72
- 1,
73
- 1,
74
- 1,
75
- 0,
76
- 1,
77
- 1,
78
- 1,
79
- 0,
80
- 1,
81
- 1,
82
- 1,
83
- 0,
84
- 1,
85
- 1,
86
- 1,
87
- 0,
88
- 1,
89
- 1,
90
- 1,
91
- 0,
92
- 1,
93
- 1,
94
- 1,
95
- 0,
96
- 1,
97
- 1,
98
- 1,
99
- 0,
100
- 1,
101
- 1,
102
- 1,
103
- 0,
104
- 1,
105
- 1,
106
- 1,
107
- 0
108
- ],
109
- "num_attention_heads": 6,
110
- "num_experts_per_tok": 1,
111
- "num_hidden_layers": 16,
112
- "num_key_value_heads": 2,
113
- "num_local_experts": 4,
114
- "output_router_logits": false,
115
- "pad_token_id": null,
116
- "rms_norm_eps": 1e-05,
117
- "rope_parameters": {
118
- "rope_theta": 500000.0,
119
- "rope_type": "default"
120
- },
121
- "router_aux_loss_coef": 0.001,
122
- "router_jitter_noise": 0.0,
123
- "sliding_window": 512,
124
- "tie_word_embeddings": false,
125
- "transformers_version": "5.0.0",
126
- "use_cache": false,
127
- "use_qk_norm": true,
128
- "vocab_size": 202048
129
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-101000/generation_config.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
- "transformers_version": "5.0.0"
6
- }
 
 
 
 
 
 
 
checkpoint-101000/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f51ec9c2aa0d10c393dd2699e024bd3c706e1933f4e7138c36064fe64bf85b2e
3
- size 954310784
 
 
 
 
checkpoint-101000/optimizer.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:97dba1cc08c9f568f16f261b9e7d2ec82a0bc5f06dca7a9e0d402661c51f7403
3
- size 1908743179
 
 
 
 
checkpoint-101000/scheduler.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9919cd7976be5b005f4a1920781a0753b83b7a39fd2a162782eea3a155942414
3
- size 1465
 
 
 
 
checkpoint-101000/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f85ca19a88fba839c5d96affee725afd31c3f037b068b8f97ea62d23754ee705
3
- size 27948677
 
 
 
 
checkpoint-101000/tokenizer_config.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "bos_token": "<|begin_of_text|>",
4
- "clean_up_tokenization_spaces": false,
5
- "eos_token": "<|eot|>",
6
- "is_local": false,
7
- "max_length": 1024,
8
- "model_input_names": [
9
- "input_ids",
10
- "attention_mask"
11
- ],
12
- "model_max_length": 10485760,
13
- "model_specific_special_tokens": {},
14
- "pad_token": "<|finetune_right_pad|>",
15
- "processor_class": "Llama4Processor",
16
- "stride": 0,
17
- "tokenizer_class": "TokenizersBackend",
18
- "truncation_side": "right",
19
- "truncation_strategy": "longest_first"
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-101000/train.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "global_step": 101000,
3
- "model_name_or_path": "GTKING/ZFusionAI_Base",
4
- "saved_at_time": "2026-06-18 07:05:37"
5
- }
 
 
 
 
 
 
checkpoint-102000/chat_template.jinja DELETED
@@ -1,111 +0,0 @@
1
- {{- bos_token }}
2
- {%- if custom_tools is defined and custom_tools%}
3
- {%- set tools = custom_tools %}
4
- {%- endif %}
5
- {%- if tools is defined and tools %}
6
- {%- set tool_definition = tool_definition ~ (tools | tojson(indent=4)) %}
7
- {%- else %}
8
- {%- set tools = none %}
9
- {%- endif %}
10
-
11
-
12
- {#- This block extracts the system message, so we can slot it into the right place. #}
13
- {%- if messages[0]['role'] == 'system' %}
14
- {%- set user_provided_system_message = true %}
15
- {%- if messages[0]['content'] is string %}
16
- {%- set system_message = messages[0]['content']|trim %}
17
- {%- else %}
18
- {%- set system_message = messages[0]['content'][0]['text']|trim %}
19
- {%- endif %}
20
- {%- set messages = messages[1:] %}
21
- {%- else %}
22
- {%- if tools is not none %}
23
- {#- Since not system_message was provided by user, if tool is provided, system_message is now default tool system message #}
24
- {#- This system message is from llama website:https://www.llama.com/docs/model-cards-and-prompt-formats/llama4/ #}
25
- {%- set system_message = "You are a helpful assistant and an expert in function composition. You can answer general questions using your internal knowledge OR invoke functions when necessary. Follow these strict guidelines:\n\n1. FUNCTION CALLS:\n- ONLY use functions that are EXPLICITLY listed in the function list below\n- If NO functions are listed (empty function list []), respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If a function is not in the list, respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If ALL required parameters are present AND the query EXACTLY matches a listed function's purpose: output ONLY the function call(s)\n- Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\nExamples:\nCORRECT: [get_weather(location=\"Vancouver\"), calculate_route(start=\"Boston\", end=\"New York\")] <- Only if get_weather and calculate_route are in function list\nINCORRECT: get_weather(location=\"New York\")\nINCORRECT: Let me check the weather: [get_weather(location=\"New York\")]\nINCORRECT: [get_events(location=\"Singapore\")] <- If function not in list\n\n2. RESPONSE RULES:\n- For pure function requests matching a listed function: ONLY output the function call(s)\n- For knowledge questions: ONLY output text\n- For missing parameters: ONLY request the specific missing parameters\n- For unavailable services (not in function list): output ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\". Do NOT execute a function call.\n- If the query asks for information beyond what a listed function provides: output ONLY with internal knowledge about your limitations\n- NEVER combine text and function calls in the same response\n- NEVER suggest alternative functions when the requested service is unavailable\n- NEVER create or invent new functions not listed below\n\n3. STRICT BOUNDARIES:\n- ONLY use functions from the list below - no exceptions\n- NEVER use a function as an alternative to unavailable information\n- NEVER call functions not present in the function list\n- NEVER add explanatory text to function calls\n- NEVER respond with empty brackets\n- Use proper Python/JSON syntax for function calls\n- Check the function list carefully before responding\n\n4. TOOL RESPONSE HANDLING:\n- When receiving tool responses: provide concise, natural language responses\n- Don't repeat tool response verbatim\n- Don't add supplementary information\n\nHere is a list of functions in JSON format that you can invoke:\n" %}
26
- {%- else %}
27
- {%- set system_message = "" %}
28
- {%- endif %}
29
- {%- endif %}
30
- {#- Now writing the system message: use the user provided system message if user_provided_system_message, else default tool system message if tools presented #}
31
- {%- if system_message %}
32
- {#- always use user provided system message to override default tool system message #}
33
- {{- "<|header_start|>system<|header_end|>\n\n" }}
34
- {{- system_message }}
35
- {%- if user_provided_system_message and tools %}
36
- {{- "\nHere is a list of functions in JSON format that you can invoke. Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\n" }}
37
- {{- tool_definition -}}
38
- {%- elif tool_definition %}
39
- {{- tool_definition -}}
40
- {%- endif %}
41
- {{- "<|eot|>" }}
42
- {%- endif %}
43
-
44
- {#- Now deal with all other messages #}
45
- {%- for message in messages %}
46
- {#- Base case: messages that are not from tool role and has empty tool_call list #}
47
- {%- if not (message.role == 'ipython' or message.role == 'tool' or ('tool_calls' in message and message.tool_calls|length != 0 )) %}
48
- {{- '<|header_start|>' + message['role'] + '<|header_end|>\n\n' }}
49
- {%- if message['content'] is string %}
50
- {{- message['content'] }}
51
- {%- else %}
52
- {%- for content in message['content'] %}
53
- {%- if content['type'] == 'image' %}
54
- {{- '<|image|>' }}
55
- {%- elif content['type'] == 'text' %}
56
- {{- content['text'] | trim }}
57
- {%- endif %}
58
- {%- endfor %}
59
- {%- endif %}
60
- {{- "<|eot|>" }}
61
- {#- Tool case: messages has non-empty tool_call list, must from assistant #}
62
- {%- elif 'tool_calls' in message %}
63
- {#- assume tool_calls are always coming from assistant #}
64
- {%- if message.role == 'assistant' %}
65
- {{- '<|header_start|>assistant<|header_end|>\n\n' -}}
66
- {%- if message['content'] is string %}
67
- {{- message['content'] }}
68
- {%- else %}
69
- {%- for content in message['content'] %}
70
- {%- if content['type'] == 'image' %}
71
- {{- '<|image|>' }}
72
- {%- elif content['type'] == 'text' %}
73
- {{- content['text'] }}
74
- {%- endif %}
75
- {%- endfor %}
76
- {%- endif %}
77
- {{- "[" }}
78
- {%- for tool_call in message.tool_calls %}
79
- {%- if tool_call.function is defined %}
80
- {%- set tool_call = tool_call.function %}
81
- {%- endif %}
82
- {{- tool_call.name + '(' -}}
83
- {%- for param in tool_call.arguments %}
84
- {{- param + '="' -}}
85
- {{- "%s" | format(tool_call.arguments[param]) -}}
86
- {{- '"' -}}
87
- {% if not loop.last %}, {% endif %}
88
- {%- endfor %}
89
- {{- ')' -}}
90
- {% if not loop.last %}, {% endif %}
91
- {%- endfor %}
92
- {{- "]<|eot|>" }}
93
- {%- endif %}
94
- {#- Tool_response case: messages are from tool_response #}
95
- {%- elif message.role == "tool" or message.role == "ipython" %}
96
- {{- "<|header_start|>ipython<|header_end|>\n\n" }}
97
- {%- if message.content is string %}
98
- {{- message.content | tojson }}
99
- {%- else %}
100
- {%- for content in message['content'] %}
101
- {%- if content['type'] == 'text' %}
102
- {{- content['text'] | tojson }}
103
- {%- endif %}
104
- {%- endfor %}
105
- {%- endif %}
106
- {{- "<|eot|>" }}
107
- {%- endif %}
108
- {%- endfor %}
109
- {%- if add_generation_prompt %}
110
- {{- '<|header_start|>assistant<|header_end|>\n\n' }}
111
- {%- endif %}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-102000/config.json DELETED
@@ -1,129 +0,0 @@
1
- {
2
- "architectures": [
3
- "Llama4ForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_chunk_size": 8192,
7
- "attention_dropout": 0.0,
8
- "attn_scale": 0.1,
9
- "attn_temperature_tuning": true,
10
- "bos_token_id": 1,
11
- "dtype": "float32",
12
- "eos_token_id": 2,
13
- "floor_scale": 8192,
14
- "head_dim": 128,
15
- "hidden_act": "silu",
16
- "hidden_size": 384,
17
- "initializer_range": 0.02,
18
- "interleave_moe_layer_step": 1,
19
- "intermediate_size": 768,
20
- "intermediate_size_mlp": 1024,
21
- "layer_types": [
22
- "chunked_attention",
23
- "chunked_attention",
24
- "chunked_attention",
25
- "full_attention",
26
- "chunked_attention",
27
- "chunked_attention",
28
- "chunked_attention",
29
- "full_attention",
30
- "chunked_attention",
31
- "chunked_attention",
32
- "chunked_attention",
33
- "full_attention",
34
- "chunked_attention",
35
- "chunked_attention",
36
- "chunked_attention",
37
- "full_attention"
38
- ],
39
- "max_position_embeddings": 1024,
40
- "model_type": "llama4_text",
41
- "moe_layers": [
42
- 0,
43
- 1,
44
- 2,
45
- 3,
46
- 4,
47
- 5,
48
- 6,
49
- 7,
50
- 8,
51
- 9,
52
- 10,
53
- 11,
54
- 12,
55
- 13,
56
- 14,
57
- 15
58
- ],
59
- "no_rope_layers": [
60
- 1,
61
- 1,
62
- 1,
63
- 0,
64
- 1,
65
- 1,
66
- 1,
67
- 0,
68
- 1,
69
- 1,
70
- 1,
71
- 0,
72
- 1,
73
- 1,
74
- 1,
75
- 0,
76
- 1,
77
- 1,
78
- 1,
79
- 0,
80
- 1,
81
- 1,
82
- 1,
83
- 0,
84
- 1,
85
- 1,
86
- 1,
87
- 0,
88
- 1,
89
- 1,
90
- 1,
91
- 0,
92
- 1,
93
- 1,
94
- 1,
95
- 0,
96
- 1,
97
- 1,
98
- 1,
99
- 0,
100
- 1,
101
- 1,
102
- 1,
103
- 0,
104
- 1,
105
- 1,
106
- 1,
107
- 0
108
- ],
109
- "num_attention_heads": 6,
110
- "num_experts_per_tok": 1,
111
- "num_hidden_layers": 16,
112
- "num_key_value_heads": 2,
113
- "num_local_experts": 4,
114
- "output_router_logits": false,
115
- "pad_token_id": null,
116
- "rms_norm_eps": 1e-05,
117
- "rope_parameters": {
118
- "rope_theta": 500000.0,
119
- "rope_type": "default"
120
- },
121
- "router_aux_loss_coef": 0.001,
122
- "router_jitter_noise": 0.0,
123
- "sliding_window": 512,
124
- "tie_word_embeddings": false,
125
- "transformers_version": "5.0.0",
126
- "use_cache": false,
127
- "use_qk_norm": true,
128
- "vocab_size": 202048
129
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-102000/generation_config.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
- "transformers_version": "5.0.0"
6
- }
 
 
 
 
 
 
 
checkpoint-102000/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d8d5aa8f988b5c0f70d98ca2819a3d961cf07bc1284bea6eb7e09a287f92c310
3
- size 954310784
 
 
 
 
checkpoint-102000/optimizer.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1ed5dd843cf0e65ce6b042bc045134637d3b57b690a102570fefd9c6f9c72119
3
- size 1908743179
 
 
 
 
checkpoint-102000/scheduler.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce7b90954d9b9521d0ce832a7fbd9408315789e283de4e55f9671157afa6757e
3
- size 1465
 
 
 
 
checkpoint-102000/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f85ca19a88fba839c5d96affee725afd31c3f037b068b8f97ea62d23754ee705
3
- size 27948677
 
 
 
 
checkpoint-102000/tokenizer_config.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "bos_token": "<|begin_of_text|>",
4
- "clean_up_tokenization_spaces": false,
5
- "eos_token": "<|eot|>",
6
- "is_local": false,
7
- "max_length": 1024,
8
- "model_input_names": [
9
- "input_ids",
10
- "attention_mask"
11
- ],
12
- "model_max_length": 10485760,
13
- "model_specific_special_tokens": {},
14
- "pad_token": "<|finetune_right_pad|>",
15
- "processor_class": "Llama4Processor",
16
- "stride": 0,
17
- "tokenizer_class": "TokenizersBackend",
18
- "truncation_side": "right",
19
- "truncation_strategy": "longest_first"
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-102000/train.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "global_step": 102000,
3
- "model_name_or_path": "GTKING/ZFusionAI_Base",
4
- "saved_at_time": "2026-06-18 07:12:22"
5
- }
 
 
 
 
 
 
checkpoint-103000/chat_template.jinja DELETED
@@ -1,111 +0,0 @@
1
- {{- bos_token }}
2
- {%- if custom_tools is defined and custom_tools%}
3
- {%- set tools = custom_tools %}
4
- {%- endif %}
5
- {%- if tools is defined and tools %}
6
- {%- set tool_definition = tool_definition ~ (tools | tojson(indent=4)) %}
7
- {%- else %}
8
- {%- set tools = none %}
9
- {%- endif %}
10
-
11
-
12
- {#- This block extracts the system message, so we can slot it into the right place. #}
13
- {%- if messages[0]['role'] == 'system' %}
14
- {%- set user_provided_system_message = true %}
15
- {%- if messages[0]['content'] is string %}
16
- {%- set system_message = messages[0]['content']|trim %}
17
- {%- else %}
18
- {%- set system_message = messages[0]['content'][0]['text']|trim %}
19
- {%- endif %}
20
- {%- set messages = messages[1:] %}
21
- {%- else %}
22
- {%- if tools is not none %}
23
- {#- Since not system_message was provided by user, if tool is provided, system_message is now default tool system message #}
24
- {#- This system message is from llama website:https://www.llama.com/docs/model-cards-and-prompt-formats/llama4/ #}
25
- {%- set system_message = "You are a helpful assistant and an expert in function composition. You can answer general questions using your internal knowledge OR invoke functions when necessary. Follow these strict guidelines:\n\n1. FUNCTION CALLS:\n- ONLY use functions that are EXPLICITLY listed in the function list below\n- If NO functions are listed (empty function list []), respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If a function is not in the list, respond ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\"\n- If ALL required parameters are present AND the query EXACTLY matches a listed function's purpose: output ONLY the function call(s)\n- Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\nExamples:\nCORRECT: [get_weather(location=\"Vancouver\"), calculate_route(start=\"Boston\", end=\"New York\")] <- Only if get_weather and calculate_route are in function list\nINCORRECT: get_weather(location=\"New York\")\nINCORRECT: Let me check the weather: [get_weather(location=\"New York\")]\nINCORRECT: [get_events(location=\"Singapore\")] <- If function not in list\n\n2. RESPONSE RULES:\n- For pure function requests matching a listed function: ONLY output the function call(s)\n- For knowledge questions: ONLY output text\n- For missing parameters: ONLY request the specific missing parameters\n- For unavailable services (not in function list): output ONLY with internal knowledge or \"I don't have access to [Unavailable service] information\". Do NOT execute a function call.\n- If the query asks for information beyond what a listed function provides: output ONLY with internal knowledge about your limitations\n- NEVER combine text and function calls in the same response\n- NEVER suggest alternative functions when the requested service is unavailable\n- NEVER create or invent new functions not listed below\n\n3. STRICT BOUNDARIES:\n- ONLY use functions from the list below - no exceptions\n- NEVER use a function as an alternative to unavailable information\n- NEVER call functions not present in the function list\n- NEVER add explanatory text to function calls\n- NEVER respond with empty brackets\n- Use proper Python/JSON syntax for function calls\n- Check the function list carefully before responding\n\n4. TOOL RESPONSE HANDLING:\n- When receiving tool responses: provide concise, natural language responses\n- Don't repeat tool response verbatim\n- Don't add supplementary information\n\nHere is a list of functions in JSON format that you can invoke:\n" %}
26
- {%- else %}
27
- {%- set system_message = "" %}
28
- {%- endif %}
29
- {%- endif %}
30
- {#- Now writing the system message: use the user provided system message if user_provided_system_message, else default tool system message if tools presented #}
31
- {%- if system_message %}
32
- {#- always use user provided system message to override default tool system message #}
33
- {{- "<|header_start|>system<|header_end|>\n\n" }}
34
- {{- system_message }}
35
- {%- if user_provided_system_message and tools %}
36
- {{- "\nHere is a list of functions in JSON format that you can invoke. Use exact format: [func_name1(param1=value1, param2=value2), func_name2(...)]\n" }}
37
- {{- tool_definition -}}
38
- {%- elif tool_definition %}
39
- {{- tool_definition -}}
40
- {%- endif %}
41
- {{- "<|eot|>" }}
42
- {%- endif %}
43
-
44
- {#- Now deal with all other messages #}
45
- {%- for message in messages %}
46
- {#- Base case: messages that are not from tool role and has empty tool_call list #}
47
- {%- if not (message.role == 'ipython' or message.role == 'tool' or ('tool_calls' in message and message.tool_calls|length != 0 )) %}
48
- {{- '<|header_start|>' + message['role'] + '<|header_end|>\n\n' }}
49
- {%- if message['content'] is string %}
50
- {{- message['content'] }}
51
- {%- else %}
52
- {%- for content in message['content'] %}
53
- {%- if content['type'] == 'image' %}
54
- {{- '<|image|>' }}
55
- {%- elif content['type'] == 'text' %}
56
- {{- content['text'] | trim }}
57
- {%- endif %}
58
- {%- endfor %}
59
- {%- endif %}
60
- {{- "<|eot|>" }}
61
- {#- Tool case: messages has non-empty tool_call list, must from assistant #}
62
- {%- elif 'tool_calls' in message %}
63
- {#- assume tool_calls are always coming from assistant #}
64
- {%- if message.role == 'assistant' %}
65
- {{- '<|header_start|>assistant<|header_end|>\n\n' -}}
66
- {%- if message['content'] is string %}
67
- {{- message['content'] }}
68
- {%- else %}
69
- {%- for content in message['content'] %}
70
- {%- if content['type'] == 'image' %}
71
- {{- '<|image|>' }}
72
- {%- elif content['type'] == 'text' %}
73
- {{- content['text'] }}
74
- {%- endif %}
75
- {%- endfor %}
76
- {%- endif %}
77
- {{- "[" }}
78
- {%- for tool_call in message.tool_calls %}
79
- {%- if tool_call.function is defined %}
80
- {%- set tool_call = tool_call.function %}
81
- {%- endif %}
82
- {{- tool_call.name + '(' -}}
83
- {%- for param in tool_call.arguments %}
84
- {{- param + '="' -}}
85
- {{- "%s" | format(tool_call.arguments[param]) -}}
86
- {{- '"' -}}
87
- {% if not loop.last %}, {% endif %}
88
- {%- endfor %}
89
- {{- ')' -}}
90
- {% if not loop.last %}, {% endif %}
91
- {%- endfor %}
92
- {{- "]<|eot|>" }}
93
- {%- endif %}
94
- {#- Tool_response case: messages are from tool_response #}
95
- {%- elif message.role == "tool" or message.role == "ipython" %}
96
- {{- "<|header_start|>ipython<|header_end|>\n\n" }}
97
- {%- if message.content is string %}
98
- {{- message.content | tojson }}
99
- {%- else %}
100
- {%- for content in message['content'] %}
101
- {%- if content['type'] == 'text' %}
102
- {{- content['text'] | tojson }}
103
- {%- endif %}
104
- {%- endfor %}
105
- {%- endif %}
106
- {{- "<|eot|>" }}
107
- {%- endif %}
108
- {%- endfor %}
109
- {%- if add_generation_prompt %}
110
- {{- '<|header_start|>assistant<|header_end|>\n\n' }}
111
- {%- endif %}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-103000/config.json DELETED
@@ -1,129 +0,0 @@
1
- {
2
- "architectures": [
3
- "Llama4ForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_chunk_size": 8192,
7
- "attention_dropout": 0.0,
8
- "attn_scale": 0.1,
9
- "attn_temperature_tuning": true,
10
- "bos_token_id": 1,
11
- "dtype": "float32",
12
- "eos_token_id": 2,
13
- "floor_scale": 8192,
14
- "head_dim": 128,
15
- "hidden_act": "silu",
16
- "hidden_size": 384,
17
- "initializer_range": 0.02,
18
- "interleave_moe_layer_step": 1,
19
- "intermediate_size": 768,
20
- "intermediate_size_mlp": 1024,
21
- "layer_types": [
22
- "chunked_attention",
23
- "chunked_attention",
24
- "chunked_attention",
25
- "full_attention",
26
- "chunked_attention",
27
- "chunked_attention",
28
- "chunked_attention",
29
- "full_attention",
30
- "chunked_attention",
31
- "chunked_attention",
32
- "chunked_attention",
33
- "full_attention",
34
- "chunked_attention",
35
- "chunked_attention",
36
- "chunked_attention",
37
- "full_attention"
38
- ],
39
- "max_position_embeddings": 1024,
40
- "model_type": "llama4_text",
41
- "moe_layers": [
42
- 0,
43
- 1,
44
- 2,
45
- 3,
46
- 4,
47
- 5,
48
- 6,
49
- 7,
50
- 8,
51
- 9,
52
- 10,
53
- 11,
54
- 12,
55
- 13,
56
- 14,
57
- 15
58
- ],
59
- "no_rope_layers": [
60
- 1,
61
- 1,
62
- 1,
63
- 0,
64
- 1,
65
- 1,
66
- 1,
67
- 0,
68
- 1,
69
- 1,
70
- 1,
71
- 0,
72
- 1,
73
- 1,
74
- 1,
75
- 0,
76
- 1,
77
- 1,
78
- 1,
79
- 0,
80
- 1,
81
- 1,
82
- 1,
83
- 0,
84
- 1,
85
- 1,
86
- 1,
87
- 0,
88
- 1,
89
- 1,
90
- 1,
91
- 0,
92
- 1,
93
- 1,
94
- 1,
95
- 0,
96
- 1,
97
- 1,
98
- 1,
99
- 0,
100
- 1,
101
- 1,
102
- 1,
103
- 0,
104
- 1,
105
- 1,
106
- 1,
107
- 0
108
- ],
109
- "num_attention_heads": 6,
110
- "num_experts_per_tok": 1,
111
- "num_hidden_layers": 16,
112
- "num_key_value_heads": 2,
113
- "num_local_experts": 4,
114
- "output_router_logits": false,
115
- "pad_token_id": null,
116
- "rms_norm_eps": 1e-05,
117
- "rope_parameters": {
118
- "rope_theta": 500000.0,
119
- "rope_type": "default"
120
- },
121
- "router_aux_loss_coef": 0.001,
122
- "router_jitter_noise": 0.0,
123
- "sliding_window": 512,
124
- "tie_word_embeddings": false,
125
- "transformers_version": "5.0.0",
126
- "use_cache": false,
127
- "use_qk_norm": true,
128
- "vocab_size": 202048
129
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-103000/generation_config.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
- "transformers_version": "5.0.0"
6
- }
 
 
 
 
 
 
 
checkpoint-103000/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:69796af535e25063b36e575bbe54d762a23f2f040a52040784d98c0bec5bd3d9
3
- size 954310784
 
 
 
 
checkpoint-103000/optimizer.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e621293d4c92a675fd36616475644d79a792617db3703baad1a7845ce63260a
3
- size 1908743179