初始化项目,由ModelHub XC社区提供模型

Model: jekunz/Qwen3-1.7B-Base-is-CPT-is-SmolTalk
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-18 04:04:08 +08:00
commit 007cc3a4ce
35 changed files with 304316 additions and 0 deletions

37
.gitattributes vendored Normal file
View File

@@ -0,0 +1,37 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
checkpoint-2331/tokenizer.json filter=lfs diff=lfs merge=lfs -text
tokenizer.json filter=lfs diff=lfs merge=lfs -text

57
README.md Normal file
View File

@@ -0,0 +1,57 @@
---
library_name: transformers
model_name: qwen-base-is3ep-cp70650-is-smoltalk
tags:
- generated_from_trainer
- sft
- trl
licence: license
---
# Model Card for qwen-base-is3ep-cp70650-is-smoltalk
This model is a fine-tuned version of [None](https://huggingface.co/None).
It has been trained using [TRL](https://github.com/huggingface/trl).
## Quick start
```python
from transformers import pipeline
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="None", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
```
## Training procedure
This model was trained with SFT.
### Framework versions
- TRL: 0.25.1
- Transformers: 4.57.3
- Pytorch: 2.9.1
- Datasets: 4.4.1
- Tokenizers: 0.22.1
## Citations
Cite TRL as:
```bibtex
@misc{vonwerra2022trl,
title = {{TRL: Transformer Reinforcement Learning}},
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
year = 2020,
journal = {GitHub repository},
publisher = {GitHub},
howpublished = {\url{https://github.com/huggingface/trl}}
}
```

28
added_tokens.json Normal file
View File

@@ -0,0 +1,28 @@
{
"</think>": 151668,
"</tool_call>": 151658,
"</tool_response>": 151666,
"<think>": 151667,
"<tool_call>": 151657,
"<tool_response>": 151665,
"<|box_end|>": 151649,
"<|box_start|>": 151648,
"<|endoftext|>": 151643,
"<|file_sep|>": 151664,
"<|fim_middle|>": 151660,
"<|fim_pad|>": 151662,
"<|fim_prefix|>": 151659,
"<|fim_suffix|>": 151661,
"<|im_end|>": 151645,
"<|im_start|>": 151644,
"<|image_pad|>": 151655,
"<|object_ref_end|>": 151647,
"<|object_ref_start|>": 151646,
"<|quad_end|>": 151651,
"<|quad_start|>": 151650,
"<|repo_name|>": 151663,
"<|video_pad|>": 151656,
"<|vision_end|>": 151653,
"<|vision_pad|>": 151654,
"<|vision_start|>": 151652
}

85
chat_template.jinja Normal file
View File

@@ -0,0 +1,85 @@
{%- if tools %}
{{- '<|im_start|>system\n' }}
{%- if messages[0].role == 'system' %}
{{- messages[0].content + '\n\n' }}
{%- endif %}
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
{%- for tool in tools %}
{{- "\n" }}
{{- tool | tojson }}
{%- endfor %}
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
{%- else %}
{%- if messages[0].role == 'system' %}
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
{%- endif %}
{%- endif %}
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
{%- for message in messages[::-1] %}
{%- set index = (messages|length - 1) - loop.index0 %}
{%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
{%- set ns.multi_step_tool = false %}
{%- set ns.last_query_index = index %}
{%- endif %}
{%- endfor %}
{%- for message in messages %}
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
{%- elif message.role == "assistant" %}
{%- set content = message.content %}
{%- set reasoning_content = '' %}
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
{%- set reasoning_content = message.reasoning_content %}
{%- else %}
{%- if '</think>' in message.content %}
{%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
{%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
{%- endif %}
{%- endif %}
{%- if loop.index0 > ns.last_query_index %}
{%- if loop.last or (not loop.last and reasoning_content) %}
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
{%- else %}
{{- '<|im_start|>' + message.role + '\n' + content }}
{%- endif %}
{%- else %}
{{- '<|im_start|>' + message.role + '\n' + content }}
{%- endif %}
{%- if message.tool_calls %}
{%- for tool_call in message.tool_calls %}
{%- if (loop.first and content) or (not loop.first) %}
{{- '\n' }}
{%- endif %}
{%- if tool_call.function %}
{%- set tool_call = tool_call.function %}
{%- endif %}
{{- '<tool_call>\n{"name": "' }}
{{- tool_call.name }}
{{- '", "arguments": ' }}
{%- if tool_call.arguments is string %}
{{- tool_call.arguments }}
{%- else %}
{{- tool_call.arguments | tojson }}
{%- endif %}
{{- '}\n</tool_call>' }}
{%- endfor %}
{%- endif %}
{{- '<|im_end|>\n' }}
{%- elif message.role == "tool" %}
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
{{- '<|im_start|>user' }}
{%- endif %}
{{- '\n<tool_response>\n' }}
{{- message.content }}
{{- '\n</tool_response>' }}
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
{{- '<|im_end|>\n' }}
{%- endif %}
{%- endif %}
{%- endfor %}
{%- if add_generation_prompt %}
{{- '<|im_start|>assistant\n' }}
{%- if enable_thinking is defined and enable_thinking is false %}
{{- '<think>\n\n</think>\n\n' }}
{%- endif %}
{%- endif %}

View File

@@ -0,0 +1,28 @@
{
"</think>": 151668,
"</tool_call>": 151658,
"</tool_response>": 151666,
"<think>": 151667,
"<tool_call>": 151657,
"<tool_response>": 151665,
"<|box_end|>": 151649,
"<|box_start|>": 151648,
"<|endoftext|>": 151643,
"<|file_sep|>": 151664,
"<|fim_middle|>": 151660,
"<|fim_pad|>": 151662,
"<|fim_prefix|>": 151659,
"<|fim_suffix|>": 151661,
"<|im_end|>": 151645,
"<|im_start|>": 151644,
"<|image_pad|>": 151655,
"<|object_ref_end|>": 151647,
"<|object_ref_start|>": 151646,
"<|quad_end|>": 151651,
"<|quad_start|>": 151650,
"<|repo_name|>": 151663,
"<|video_pad|>": 151656,
"<|vision_end|>": 151653,
"<|vision_pad|>": 151654,
"<|vision_start|>": 151652
}

View File

@@ -0,0 +1,85 @@
{%- if tools %}
{{- '<|im_start|>system\n' }}
{%- if messages[0].role == 'system' %}
{{- messages[0].content + '\n\n' }}
{%- endif %}
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
{%- for tool in tools %}
{{- "\n" }}
{{- tool | tojson }}
{%- endfor %}
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
{%- else %}
{%- if messages[0].role == 'system' %}
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
{%- endif %}
{%- endif %}
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
{%- for message in messages[::-1] %}
{%- set index = (messages|length - 1) - loop.index0 %}
{%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
{%- set ns.multi_step_tool = false %}
{%- set ns.last_query_index = index %}
{%- endif %}
{%- endfor %}
{%- for message in messages %}
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
{%- elif message.role == "assistant" %}
{%- set content = message.content %}
{%- set reasoning_content = '' %}
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
{%- set reasoning_content = message.reasoning_content %}
{%- else %}
{%- if '</think>' in message.content %}
{%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
{%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
{%- endif %}
{%- endif %}
{%- if loop.index0 > ns.last_query_index %}
{%- if loop.last or (not loop.last and reasoning_content) %}
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
{%- else %}
{{- '<|im_start|>' + message.role + '\n' + content }}
{%- endif %}
{%- else %}
{{- '<|im_start|>' + message.role + '\n' + content }}
{%- endif %}
{%- if message.tool_calls %}
{%- for tool_call in message.tool_calls %}
{%- if (loop.first and content) or (not loop.first) %}
{{- '\n' }}
{%- endif %}
{%- if tool_call.function %}
{%- set tool_call = tool_call.function %}
{%- endif %}
{{- '<tool_call>\n{"name": "' }}
{{- tool_call.name }}
{{- '", "arguments": ' }}
{%- if tool_call.arguments is string %}
{{- tool_call.arguments }}
{%- else %}
{{- tool_call.arguments | tojson }}
{%- endif %}
{{- '}\n</tool_call>' }}
{%- endfor %}
{%- endif %}
{{- '<|im_end|>\n' }}
{%- elif message.role == "tool" %}
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
{{- '<|im_start|>user' }}
{%- endif %}
{{- '\n<tool_response>\n' }}
{{- message.content }}
{{- '\n</tool_response>' }}
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
{{- '<|im_end|>\n' }}
{%- endif %}
{%- endif %}
{%- endfor %}
{%- if add_generation_prompt %}
{{- '<|im_start|>assistant\n' }}
{%- if enable_thinking is defined and enable_thinking is false %}
{{- '<think>\n\n</think>\n\n' }}
{%- endif %}
{%- endif %}

View File

@@ -0,0 +1,60 @@
{
"architectures": [
"Qwen3ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"dtype": "bfloat16",
"eos_token_id": 151643,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 6144,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 32768,
"max_window_layers": 28,
"model_type": "qwen3",
"num_attention_heads": 16,
"num_hidden_layers": 28,
"num_key_value_heads": 8,
"pad_token_id": 151643,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 1000000,
"sliding_window": null,
"tie_word_embeddings": true,
"transformers_version": "4.57.3",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 151936
}

View File

@@ -0,0 +1,8 @@
{
"eos_token_id": [
151643
],
"max_new_tokens": 2048,
"pad_token_id": 151643,
"transformers_version": "4.57.3"
}

151388
checkpoint-2331/merges.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd2f588aea60fdc74dcca6e90e59c662b23861d2c0304a6c3b24dc8c41b45c4a
size 3441185608

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50400d80a289f1193d9c60573a819a653000d90740fbf3cba0e655deda5a83ba
size 6882572207

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7350b59a307e1d89d4515e24325811dc1aa8deab5b5b4635887adaaf78ea1dc5
size 16389

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af262eaf45f7c1f39099b694376de497429ab46c1046a1d9afe70a315f1b6d81
size 16389

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57f833fda5ff0e7e566107275c268625e3eb07e8475116fe109d9c667809d469
size 16389

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a6e6037388bc56484982620075eea8724b4696f67f60603b9c448e44f41705c
size 16389

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2bf73391bb68f0fffcb931501656f3679db7d996fe258d8287099b6cb7a23a2
size 16389

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:222199bb7faa2ce2cb817e7f870ac7c364fb0f0872e17d8a9280f38596da9a06
size 16389

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca3accfbfe6616f878cfeda3df23f4418e00b348760c584e397d6c92081cb5c4
size 16389

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a64b41c5668afda0c862d9774a14b1c0a390fe6a57086de71f9fdfb00edb457e
size 16389

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35bf403bc40e5afcef265aac3760158fd8b3c8f99612103397e77ed012c06503
size 1465

View File

@@ -0,0 +1,31 @@
{
"additional_special_tokens": [
"<|im_start|>",
"<|im_end|>",
"<|object_ref_start|>",
"<|object_ref_end|>",
"<|box_start|>",
"<|box_end|>",
"<|quad_start|>",
"<|quad_end|>",
"<|vision_start|>",
"<|vision_end|>",
"<|vision_pad|>",
"<|image_pad|>",
"<|video_pad|>"
],
"eos_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

BIN
checkpoint-2331/tokenizer.json (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,239 @@
{
"add_bos_token": false,
"add_prefix_space": false,
"added_tokens_decoder": {
"151643": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151644": {
"content": "<|im_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151645": {
"content": "<|im_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151646": {
"content": "<|object_ref_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151647": {
"content": "<|object_ref_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151648": {
"content": "<|box_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151649": {
"content": "<|box_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151650": {
"content": "<|quad_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151651": {
"content": "<|quad_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151652": {
"content": "<|vision_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151653": {
"content": "<|vision_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151654": {
"content": "<|vision_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151655": {
"content": "<|image_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151656": {
"content": "<|video_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151657": {
"content": "<tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151658": {
"content": "</tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151659": {
"content": "<|fim_prefix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151660": {
"content": "<|fim_middle|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151661": {
"content": "<|fim_suffix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151662": {
"content": "<|fim_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151663": {
"content": "<|repo_name|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151664": {
"content": "<|file_sep|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151665": {
"content": "<tool_response>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151666": {
"content": "</tool_response>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151667": {
"content": "<think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151668": {
"content": "</think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
}
},
"additional_special_tokens": [
"<|im_start|>",
"<|im_end|>",
"<|object_ref_start|>",
"<|object_ref_end|>",
"<|box_start|>",
"<|box_end|>",
"<|quad_start|>",
"<|quad_end|>",
"<|vision_start|>",
"<|vision_end|>",
"<|vision_pad|>",
"<|image_pad|>",
"<|video_pad|>"
],
"bos_token": null,
"clean_up_tokenization_spaces": false,
"eos_token": "<|endoftext|>",
"errors": "replace",
"extra_special_tokens": {},
"model_max_length": 131072,
"pad_token": "<|endoftext|>",
"split_special_tokens": false,
"tokenizer_class": "Qwen2Tokenizer",
"unk_token": null
}

View File

@@ -0,0 +1,494 @@
{
"best_global_step": null,
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 1.0,
"eval_steps": 500,
"global_step": 2331,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"entropy": 1.529844079017639,
"epoch": 0.021458076283461188,
"grad_norm": 2.6875,
"learning_rate": 6.282051282051282e-06,
"loss": 1.6806,
"mean_token_accuracy": 0.6537430156767369,
"num_tokens": 13027304.0,
"step": 50
},
{
"entropy": 1.488607188165188,
"epoch": 0.042916152566922376,
"grad_norm": 1.1171875,
"learning_rate": 1.2692307692307693e-05,
"loss": 1.5052,
"mean_token_accuracy": 0.673151359707117,
"num_tokens": 26060152.0,
"step": 100
},
{
"entropy": 1.3883284440636634,
"epoch": 0.06437422885038356,
"grad_norm": 0.97265625,
"learning_rate": 1.9102564102564103e-05,
"loss": 1.3595,
"mean_token_accuracy": 0.6914066426455975,
"num_tokens": 39093818.0,
"step": 150
},
{
"entropy": 1.309543669819832,
"epoch": 0.08583230513384475,
"grad_norm": 0.91015625,
"learning_rate": 2.551282051282051e-05,
"loss": 1.2897,
"mean_token_accuracy": 0.7024075204133987,
"num_tokens": 52123695.0,
"step": 200
},
{
"entropy": 1.2504261362552642,
"epoch": 0.10729038141730594,
"grad_norm": 0.94140625,
"learning_rate": 2.9996212711496212e-05,
"loss": 1.2349,
"mean_token_accuracy": 0.7132975848019123,
"num_tokens": 65156301.0,
"step": 250
},
{
"entropy": 1.2115551654994487,
"epoch": 0.12874845770076712,
"grad_norm": 0.87890625,
"learning_rate": 2.992893632784019e-05,
"loss": 1.2009,
"mean_token_accuracy": 0.7190598705410958,
"num_tokens": 78189155.0,
"step": 300
},
{
"entropy": 1.1798285143077374,
"epoch": 0.1502065339842283,
"grad_norm": 0.91796875,
"learning_rate": 2.9777932337106776e-05,
"loss": 1.1708,
"mean_token_accuracy": 0.7244446368515491,
"num_tokens": 91225387.0,
"step": 350
},
{
"entropy": 1.1685248683393001,
"epoch": 0.1716646102676895,
"grad_norm": 0.82421875,
"learning_rate": 2.95440476317018e-05,
"loss": 1.1594,
"mean_token_accuracy": 0.7263273361325264,
"num_tokens": 104264395.0,
"step": 400
},
{
"entropy": 1.1535844399034978,
"epoch": 0.1931226865511507,
"grad_norm": 0.83984375,
"learning_rate": 2.9228593933122738e-05,
"loss": 1.1456,
"mean_token_accuracy": 0.729079841375351,
"num_tokens": 117304006.0,
"step": 450
},
{
"entropy": 1.14171948492527,
"epoch": 0.2145807628346119,
"grad_norm": 0.8046875,
"learning_rate": 2.8833340435285732e-05,
"loss": 1.1335,
"mean_token_accuracy": 0.7310337677598,
"num_tokens": 130330369.0,
"step": 500
},
{
"entropy": 1.1242267568409443,
"epoch": 0.23603883911807305,
"grad_norm": 0.81640625,
"learning_rate": 2.8360503882159413e-05,
"loss": 1.1166,
"mean_token_accuracy": 0.7342477452754974,
"num_tokens": 143357759.0,
"step": 550
},
{
"entropy": 1.1167650932073594,
"epoch": 0.25749691540153424,
"grad_norm": 0.87109375,
"learning_rate": 2.7812736135354192e-05,
"loss": 1.1092,
"mean_token_accuracy": 0.7356279300153256,
"num_tokens": 156390933.0,
"step": 600
},
{
"entropy": 1.1086778999865055,
"epoch": 0.27895499168499543,
"grad_norm": 0.8046875,
"learning_rate": 2.7193109301393063e-05,
"loss": 1.1008,
"mean_token_accuracy": 0.7369775851070881,
"num_tokens": 169421819.0,
"step": 650
},
{
"entropy": 1.0990354216098785,
"epoch": 0.3004130679684566,
"grad_norm": 0.78515625,
"learning_rate": 2.6505098502076353e-05,
"loss": 1.0916,
"mean_token_accuracy": 0.7388592520356179,
"num_tokens": 182458556.0,
"step": 700
},
{
"entropy": 1.095612591356039,
"epoch": 0.3218711442519178,
"grad_norm": 0.80859375,
"learning_rate": 2.575256238457122e-05,
"loss": 1.088,
"mean_token_accuracy": 0.7395522198081017,
"num_tokens": 195498872.0,
"step": 750
},
{
"entropy": 1.094855775386095,
"epoch": 0.343329220535379,
"grad_norm": 0.8125,
"learning_rate": 2.4939721480533394e-05,
"loss": 1.0875,
"mean_token_accuracy": 0.7393953828513622,
"num_tokens": 208529244.0,
"step": 800
},
{
"entropy": 1.086953050494194,
"epoch": 0.3647872968188402,
"grad_norm": 0.75390625,
"learning_rate": 2.4071134535632042e-05,
"loss": 1.0799,
"mean_token_accuracy": 0.7406895773112774,
"num_tokens": 221559622.0,
"step": 850
},
{
"entropy": 1.0810946352779864,
"epoch": 0.3862453731023014,
"grad_norm": 0.75390625,
"learning_rate": 2.3151672942231506e-05,
"loss": 1.0738,
"mean_token_accuracy": 0.7419975420832634,
"num_tokens": 234596401.0,
"step": 900
},
{
"entropy": 1.077113990187645,
"epoch": 0.4077034493857626,
"grad_norm": 0.8515625,
"learning_rate": 2.218649341862198e-05,
"loss": 1.0697,
"mean_token_accuracy": 0.7425307250022888,
"num_tokens": 247619938.0,
"step": 950
},
{
"entropy": 1.0798053552210332,
"epoch": 0.4291615256692238,
"grad_norm": 0.78125,
"learning_rate": 2.1181009088025206e-05,
"loss": 1.0725,
"mean_token_accuracy": 0.7423897469043732,
"num_tokens": 260654172.0,
"step": 1000
},
{
"entropy": 1.0781676921248435,
"epoch": 0.45061960195268497,
"grad_norm": 0.76171875,
"learning_rate": 2.014085911957592e-05,
"loss": 1.0711,
"mean_token_accuracy": 0.7425947175920009,
"num_tokens": 273684574.0,
"step": 1050
},
{
"entropy": 1.0795374807715417,
"epoch": 0.4720776782361461,
"grad_norm": 0.8203125,
"learning_rate": 1.907187710154509e-05,
"loss": 1.0717,
"mean_token_accuracy": 0.7422310309112072,
"num_tokens": 286722109.0,
"step": 1100
},
{
"entropy": 1.0711059863865375,
"epoch": 0.4935357545196073,
"grad_norm": 0.74609375,
"learning_rate": 1.7980058324180654e-05,
"loss": 1.0637,
"mean_token_accuracy": 0.7439769515395165,
"num_tokens": 299759049.0,
"step": 1150
},
{
"entropy": 1.0707093475759029,
"epoch": 0.5149938308030685,
"grad_norm": 0.75,
"learning_rate": 1.687152615565724e-05,
"loss": 1.0631,
"mean_token_accuracy": 0.7438222867250442,
"num_tokens": 312785989.0,
"step": 1200
},
{
"entropy": 1.0649618780612946,
"epoch": 0.5364519070865297,
"grad_norm": 0.7421875,
"learning_rate": 1.5752497699712207e-05,
"loss": 1.0577,
"mean_token_accuracy": 0.7450838792324066,
"num_tokens": 325818163.0,
"step": 1250
},
{
"entropy": 1.0698006546497345,
"epoch": 0.5579099833699909,
"grad_norm": 0.76171875,
"learning_rate": 1.4629248927574217e-05,
"loss": 1.062,
"mean_token_accuracy": 0.7441214697062969,
"num_tokens": 338855461.0,
"step": 1300
},
{
"entropy": 1.0641462428867816,
"epoch": 0.5793680596534521,
"grad_norm": 0.7109375,
"learning_rate": 1.3508079479738632e-05,
"loss": 1.057,
"mean_token_accuracy": 0.7451571583747864,
"num_tokens": 351888193.0,
"step": 1350
},
{
"entropy": 1.0668337062001227,
"epoch": 0.6008261359369133,
"grad_norm": 0.7109375,
"learning_rate": 1.2395277334996045e-05,
"loss": 1.0593,
"mean_token_accuracy": 0.7446440425515175,
"num_tokens": 364920249.0,
"step": 1400
},
{
"entropy": 1.0648700632154942,
"epoch": 0.6222842122203744,
"grad_norm": 0.73046875,
"learning_rate": 1.1297083544864386e-05,
"loss": 1.0574,
"mean_token_accuracy": 0.7448987066745758,
"num_tokens": 377954848.0,
"step": 1450
},
{
"entropy": 1.0625084039568902,
"epoch": 0.6437422885038356,
"grad_norm": 0.7421875,
"learning_rate": 1.0219657231208455e-05,
"loss": 1.0555,
"mean_token_accuracy": 0.7454155634343624,
"num_tokens": 390982547.0,
"step": 1500
},
{
"entropy": 1.0593435187637805,
"epoch": 0.6652003647872968,
"grad_norm": 0.71484375,
"learning_rate": 9.1690410433546e-06,
"loss": 1.0516,
"mean_token_accuracy": 0.7464735677838326,
"num_tokens": 404012732.0,
"step": 1550
},
{
"entropy": 1.0650947599112988,
"epoch": 0.686658441070758,
"grad_norm": 0.68359375,
"learning_rate": 8.151127268431263e-06,
"loss": 1.058,
"mean_token_accuracy": 0.744667494893074,
"num_tokens": 417050367.0,
"step": 1600
},
{
"entropy": 1.061756199300289,
"epoch": 0.7081165173542192,
"grad_norm": 0.72265625,
"learning_rate": 7.171624785002444e-06,
"loss": 1.0541,
"mean_token_accuracy": 0.7454431113600731,
"num_tokens": 430085128.0,
"step": 1650
},
{
"entropy": 1.066297420412302,
"epoch": 0.7295745936376804,
"grad_norm": 0.7109375,
"learning_rate": 6.236027045331792e-06,
"loss": 1.0591,
"mean_token_accuracy": 0.7445771189033985,
"num_tokens": 443116587.0,
"step": 1700
},
{
"entropy": 1.0651886078715325,
"epoch": 0.7510326699211416,
"grad_norm": 0.70703125,
"learning_rate": 5.349581265845804e-06,
"loss": 1.0572,
"mean_token_accuracy": 0.7450574149191379,
"num_tokens": 456150190.0,
"step": 1750
},
{
"entropy": 1.0632556484639644,
"epoch": 0.7724907462046028,
"grad_norm": 0.7109375,
"learning_rate": 4.517258998588792e-06,
"loss": 1.0556,
"mean_token_accuracy": 0.7453512494266034,
"num_tokens": 469187645.0,
"step": 1800
},
{
"entropy": 1.056969922631979,
"epoch": 0.793948822488064,
"grad_norm": 0.69140625,
"learning_rate": 3.743728248716951e-06,
"loss": 1.0491,
"mean_token_accuracy": 0.7466551867127419,
"num_tokens": 482216628.0,
"step": 1850
},
{
"entropy": 1.0633544081449509,
"epoch": 0.8154068987715252,
"grad_norm": 0.72265625,
"learning_rate": 3.033327294407988e-06,
"loss": 1.0554,
"mean_token_accuracy": 0.7453896969556808,
"num_tokens": 495240948.0,
"step": 1900
},
{
"entropy": 1.0602363917231559,
"epoch": 0.8368649750549864,
"grad_norm": 0.69921875,
"learning_rate": 2.390040356015151e-06,
"loss": 1.0531,
"mean_token_accuracy": 0.7463011787831784,
"num_tokens": 508270012.0,
"step": 1950
},
{
"entropy": 1.0584601506590843,
"epoch": 0.8583230513384476,
"grad_norm": 0.7265625,
"learning_rate": 1.817475250922957e-06,
"loss": 1.0512,
"mean_token_accuracy": 0.7463495220243931,
"num_tokens": 521303590.0,
"step": 2000
},
{
"entropy": 1.0634522691369057,
"epoch": 0.8797811276219087,
"grad_norm": 0.70703125,
"learning_rate": 1.318843159425332e-06,
"loss": 1.0566,
"mean_token_accuracy": 0.7450326754152775,
"num_tokens": 534336739.0,
"step": 2050
},
{
"entropy": 1.0665240594744683,
"epoch": 0.9012392039053699,
"grad_norm": 0.73046875,
"learning_rate": 8.969406151075494e-07,
"loss": 1.0598,
"mean_token_accuracy": 0.7446090675890445,
"num_tokens": 547357092.0,
"step": 2100
},
{
"entropy": 1.0626434257626534,
"epoch": 0.9226972801888311,
"grad_norm": 0.7265625,
"learning_rate": 5.541338207371605e-07,
"loss": 1.055,
"mean_token_accuracy": 0.7456535014510155,
"num_tokens": 560392664.0,
"step": 2150
},
{
"entropy": 1.0659497360885144,
"epoch": 0.9441553564722922,
"grad_norm": 0.6875,
"learning_rate": 2.923453776269558e-07,
"loss": 1.0578,
"mean_token_accuracy": 0.7447389586269856,
"num_tokens": 573423859.0,
"step": 2200
},
{
"entropy": 1.0699594897031783,
"epoch": 0.9656134327557534,
"grad_norm": 0.74609375,
"learning_rate": 1.130435028970872e-07,
"loss": 1.0617,
"mean_token_accuracy": 0.7441424219310284,
"num_tokens": 586459673.0,
"step": 2250
},
{
"entropy": 1.0601028017699718,
"epoch": 0.9870715090392146,
"grad_norm": 0.7421875,
"learning_rate": 1.7233795110367935e-08,
"loss": 1.0515,
"mean_token_accuracy": 0.7460673457384109,
"num_tokens": 599492881.0,
"step": 2300
}
],
"logging_steps": 50,
"max_steps": 2331,
"num_input_tokens_seen": 0,
"num_train_epochs": 1,
"save_steps": 50000,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": true
},
"attributes": {}
}
},
"total_flos": 5.135994653597762e+18,
"train_batch_size": 2,
"trial_name": null,
"trial_params": null
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32b9f4cae19fbe1b30c9ef4013182e6b7920bbdc6d164b3646e7059570fae502
size 6289

File diff suppressed because one or more lines are too long

60
config.json Normal file
View File

@@ -0,0 +1,60 @@
{
"architectures": [
"Qwen3ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"dtype": "bfloat16",
"eos_token_id": 151643,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 6144,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 32768,
"max_window_layers": 28,
"model_type": "qwen3",
"num_attention_heads": 16,
"num_hidden_layers": 28,
"num_key_value_heads": 8,
"pad_token_id": 151643,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 1000000,
"sliding_window": null,
"tie_word_embeddings": true,
"transformers_version": "4.57.3",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 151936
}

8
generation_config.json Normal file
View File

@@ -0,0 +1,8 @@
{
"eos_token_id": [
151643
],
"max_new_tokens": 2048,
"pad_token_id": 151643,
"transformers_version": "4.57.3"
}

151388
merges.txt Normal file

File diff suppressed because it is too large Load Diff

3
model.safetensors Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd2f588aea60fdc74dcca6e90e59c662b23861d2c0304a6c3b24dc8c41b45c4a
size 3441185608

31
special_tokens_map.json Normal file
View File

@@ -0,0 +1,31 @@
{
"additional_special_tokens": [
"<|im_start|>",
"<|im_end|>",
"<|object_ref_start|>",
"<|object_ref_end|>",
"<|box_start|>",
"<|box_end|>",
"<|quad_start|>",
"<|quad_end|>",
"<|vision_start|>",
"<|vision_end|>",
"<|vision_pad|>",
"<|image_pad|>",
"<|video_pad|>"
],
"eos_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

BIN
tokenizer.json (Stored with Git LFS) Normal file

Binary file not shown.

239
tokenizer_config.json Normal file
View File

@@ -0,0 +1,239 @@
{
"add_bos_token": false,
"add_prefix_space": false,
"added_tokens_decoder": {
"151643": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151644": {
"content": "<|im_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151645": {
"content": "<|im_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151646": {
"content": "<|object_ref_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151647": {
"content": "<|object_ref_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151648": {
"content": "<|box_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151649": {
"content": "<|box_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151650": {
"content": "<|quad_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151651": {
"content": "<|quad_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151652": {
"content": "<|vision_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151653": {
"content": "<|vision_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151654": {
"content": "<|vision_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151655": {
"content": "<|image_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151656": {
"content": "<|video_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151657": {
"content": "<tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151658": {
"content": "</tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151659": {
"content": "<|fim_prefix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151660": {
"content": "<|fim_middle|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151661": {
"content": "<|fim_suffix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151662": {
"content": "<|fim_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151663": {
"content": "<|repo_name|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151664": {
"content": "<|file_sep|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151665": {
"content": "<tool_response>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151666": {
"content": "</tool_response>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151667": {
"content": "<think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151668": {
"content": "</think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
}
},
"additional_special_tokens": [
"<|im_start|>",
"<|im_end|>",
"<|object_ref_start|>",
"<|object_ref_end|>",
"<|box_start|>",
"<|box_end|>",
"<|quad_start|>",
"<|quad_end|>",
"<|vision_start|>",
"<|vision_end|>",
"<|vision_pad|>",
"<|image_pad|>",
"<|video_pad|>"
],
"bos_token": null,
"clean_up_tokenization_spaces": false,
"eos_token": "<|endoftext|>",
"errors": "replace",
"extra_special_tokens": {},
"model_max_length": 131072,
"pad_token": "<|endoftext|>",
"split_special_tokens": false,
"tokenizer_class": "Qwen2Tokenizer",
"unk_token": null
}

3
training_args.bin Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32b9f4cae19fbe1b30c9ef4013182e6b7920bbdc6d164b3646e7059570fae502
size 6289

1
vocab.json Normal file

File diff suppressed because one or more lines are too long