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

Model: Nirbhayhero07/deepsentinel-overseer-small
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-06 18:29:15 +08:00
commit 42a8f75134
45 changed files with 2445 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
{%- if tools %}
{{- '<|im_start|>system\n' }}
{%- if messages[0]['role'] == 'system' %}
{{- messages[0]['content'] }}
{%- else %}
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
{%- endif %}
{{- "\n\n# 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' }}
{%- else %}
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
{%- endif %}
{%- endif %}
{%- for message in messages %}
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
{%- elif message.role == "assistant" %}
{{- '<|im_start|>' + message.role }}
{%- if message.content %}
{{- '\n' + message.content }}
{%- endif %}
{%- for tool_call in message.tool_calls %}
{%- if tool_call.function is defined %}
{%- set tool_call = tool_call.function %}
{%- endif %}
{{- '\n<tool_call>\n{"name": "' }}
{{- tool_call.name }}
{{- '", "arguments": ' }}
{{- tool_call.arguments | tojson }}
{{- '}\n</tool_call>' }}
{%- endfor %}
{{- '<|im_end|>\n' }}
{%- elif message.role == "tool" %}
{%- if (loop.index0 == 0) 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' }}
{%- endif %}

View File

@@ -0,0 +1,57 @@
{
"architectures": [
"Qwen2ForCausalLM"
],
"attention_dropout": 0.0,
"bos_token_id": null,
"dtype": "bfloat16",
"eos_token_id": 151645,
"hidden_act": "silu",
"hidden_size": 896,
"initializer_range": 0.02,
"intermediate_size": 4864,
"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"
],
"max_position_embeddings": 32768,
"max_window_layers": 21,
"model_type": "qwen2",
"num_attention_heads": 14,
"num_hidden_layers": 24,
"num_key_value_heads": 2,
"pad_token_id": 151643,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 1000000.0,
"rope_type": "default"
},
"sliding_window": null,
"tie_word_embeddings": true,
"transformers_version": "5.0.0",
"use_cache": false,
"use_sliding_window": false,
"vocab_size": 151936
}

View File

@@ -0,0 +1,13 @@
{
"do_sample": true,
"eos_token_id": [
151645,
151643
],
"pad_token_id": 151643,
"repetition_penalty": 1.1,
"temperature": 0.7,
"top_k": 20,
"top_p": 0.8,
"transformers_version": "5.0.0"
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,29 @@
{
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": null,
"clean_up_tokenization_spaces": false,
"eos_token": "<|im_end|>",
"errors": "replace",
"extra_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|>"
],
"is_local": false,
"model_max_length": 131072,
"pad_token": "<|endoftext|>",
"split_special_tokens": false,
"tokenizer_class": "Qwen2Tokenizer",
"unk_token": null
}

View File

@@ -0,0 +1,304 @@
{
"best_global_step": null,
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 3.3333333333333335,
"eval_steps": 500,
"global_step": 100,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"clip_ratio/high_max": 0.0,
"clip_ratio/high_mean": 0.0,
"clip_ratio/low_mean": 0.0,
"clip_ratio/low_min": 0.0,
"clip_ratio/region_mean": 0.0,
"completions/clipped_ratio": 0.8625,
"completions/max_length": 379.3,
"completions/max_terminated_length": 57.8,
"completions/mean_length": 362.7625,
"completions/mean_terminated_length": 46.4125,
"completions/min_length": 318.1,
"completions/min_terminated_length": 38.1,
"entropy": 0.5937434114515782,
"epoch": 0.3333333333333333,
"frac_reward_zero_std": 0.8,
"grad_norm": 0.0,
"learning_rate": 1.9280000000000002e-05,
"loss": -0.017474760115146638,
"num_tokens": 61847.0,
"reward": -0.0987912505865097,
"reward_std": 0.9303328216075897,
"rewards/reward_fn/mean": -0.0987912505865097,
"rewards/reward_fn/std": 0.9303328156471252,
"step": 10,
"step_time": 31.724731107300066
},
{
"clip_ratio/high_max": 0.0,
"clip_ratio/high_mean": 0.0,
"clip_ratio/low_mean": 0.0,
"clip_ratio/low_min": 0.0,
"clip_ratio/region_mean": 0.0,
"completions/clipped_ratio": 1.0,
"completions/max_length": 400.0,
"completions/max_terminated_length": 0.0,
"completions/mean_length": 400.0,
"completions/mean_terminated_length": 0.0,
"completions/min_length": 400.0,
"completions/min_terminated_length": 0.0,
"entropy": 0.6593769532628357,
"epoch": 0.6666666666666666,
"frac_reward_zero_std": 1.0,
"grad_norm": 0.0,
"learning_rate": 1.8480000000000003e-05,
"loss": 0.0,
"num_tokens": 126843.0,
"reward": 0.048249998688697816,
"reward_std": 0.8191121600568294,
"rewards/reward_fn/mean": 0.048249998688697816,
"rewards/reward_fn/std": 0.8191121838986873,
"step": 20,
"step_time": 33.554111711299946
},
{
"clip_ratio/high_max": 0.0,
"clip_ratio/high_mean": 0.0,
"clip_ratio/low_mean": 0.0,
"clip_ratio/low_min": 0.0,
"clip_ratio/region_mean": 0.0,
"completions/clipped_ratio": 0.975,
"completions/max_length": 400.0,
"completions/max_terminated_length": 49.7,
"completions/mean_length": 396.2125,
"completions/mean_terminated_length": 49.7,
"completions/min_length": 369.7,
"completions/min_terminated_length": 49.7,
"entropy": 0.5578590292367153,
"epoch": 1.0,
"frac_reward_zero_std": 0.9,
"grad_norm": 1.8046875,
"learning_rate": 1.768e-05,
"loss": -0.005067326501011849,
"num_tokens": 191538.0,
"reward": 0.11049998998641967,
"reward_std": 0.711869715154171,
"rewards/reward_fn/mean": 0.11049998998641967,
"rewards/reward_fn/std": 0.7118697345256806,
"step": 30,
"step_time": 33.49379607419994
},
{
"clip_ratio/high_max": 0.0,
"clip_ratio/high_mean": 0.0,
"clip_ratio/low_mean": 0.0,
"clip_ratio/low_min": 0.0,
"clip_ratio/region_mean": 0.0,
"completions/clipped_ratio": 1.0,
"completions/max_length": 400.0,
"completions/max_terminated_length": 0.0,
"completions/mean_length": 400.0,
"completions/mean_terminated_length": 0.0,
"completions/min_length": 400.0,
"completions/min_terminated_length": 0.0,
"entropy": 0.004339599603554234,
"epoch": 1.3333333333333333,
"frac_reward_zero_std": 0.95,
"grad_norm": 0.0,
"learning_rate": 1.688e-05,
"loss": 0.0,
"num_tokens": 256536.0,
"reward": 0.07887499779462814,
"reward_std": 0.8938172444701195,
"rewards/reward_fn/mean": 0.07887499779462814,
"rewards/reward_fn/std": 0.8938172534108162,
"step": 40,
"step_time": 33.4393088197
},
{
"clip_ratio/high_max": 0.0,
"clip_ratio/high_mean": 0.0,
"clip_ratio/low_mean": 0.0,
"clip_ratio/low_min": 0.0,
"clip_ratio/region_mean": 0.0,
"completions/clipped_ratio": 0.9875,
"completions/max_length": 400.0,
"completions/max_terminated_length": 0.9,
"completions/mean_length": 395.1125,
"completions/mean_terminated_length": 0.9,
"completions/min_length": 360.9,
"completions/min_terminated_length": 0.9,
"entropy": 0.004430754791246727,
"epoch": 1.6666666666666665,
"frac_reward_zero_std": 0.975,
"grad_norm": 0.384765625,
"learning_rate": 1.6080000000000002e-05,
"loss": 0.0,
"num_tokens": 321071.0,
"reward": -0.16437500417232515,
"reward_std": 1.063568216562271,
"rewards/reward_fn/mean": -0.16437500417232515,
"rewards/reward_fn/std": 1.0635682106018067,
"step": 50,
"step_time": 33.5646041849001
},
{
"clip_ratio/high_max": 0.0,
"clip_ratio/high_mean": 0.0,
"clip_ratio/low_mean": 0.0,
"clip_ratio/low_min": 0.0,
"clip_ratio/region_mean": 0.0,
"completions/clipped_ratio": 0.9625,
"completions/max_length": 400.0,
"completions/max_terminated_length": 3.7,
"completions/mean_length": 385.4625,
"completions/mean_terminated_length": 3.7,
"completions/min_length": 283.7,
"completions/min_terminated_length": 3.7,
"entropy": 0.09348616125644185,
"epoch": 2.0,
"frac_reward_zero_std": 0.925,
"grad_norm": 0.0,
"learning_rate": 1.5280000000000003e-05,
"loss": 0.009755914658308029,
"num_tokens": 384804.0,
"reward": -0.16562500596046448,
"reward_std": 0.9360396310687065,
"rewards/reward_fn/mean": -0.16562500596046448,
"rewards/reward_fn/std": 0.9360396608710289,
"step": 60,
"step_time": 33.48749011520003
},
{
"clip_ratio/high_max": 0.0,
"clip_ratio/high_mean": 0.0,
"clip_ratio/low_mean": 0.0,
"clip_ratio/low_min": 0.0,
"clip_ratio/region_mean": 0.0,
"completions/clipped_ratio": 0.8625,
"completions/max_length": 400.0,
"completions/max_terminated_length": 44.3,
"completions/mean_length": 351.7625,
"completions/mean_terminated_length": 42.26666679382324,
"completions/min_length": 159.8,
"completions/min_terminated_length": 39.8,
"entropy": 0.6013902719132602,
"epoch": 2.3333333333333335,
"frac_reward_zero_std": 0.925,
"grad_norm": 2.40625,
"learning_rate": 1.448e-05,
"loss": -0.011668374389410019,
"num_tokens": 445825.0,
"reward": 0.08912500143051147,
"reward_std": 0.9901719689369202,
"rewards/reward_fn/mean": 0.08912500143051147,
"rewards/reward_fn/std": 0.9901719927787781,
"step": 70,
"step_time": 33.48351585430014
},
{
"clip_ratio/high_max": 0.0,
"clip_ratio/high_mean": 0.0,
"clip_ratio/low_mean": 0.0,
"clip_ratio/low_min": 0.0,
"clip_ratio/region_mean": 0.0,
"completions/clipped_ratio": 0.9,
"completions/max_length": 400.0,
"completions/max_terminated_length": 36.8,
"completions/mean_length": 365.4875,
"completions/mean_terminated_length": 34.75,
"completions/min_length": 192.7,
"completions/min_terminated_length": 32.7,
"entropy": 0.7647990029305219,
"epoch": 2.6666666666666665,
"frac_reward_zero_std": 0.975,
"grad_norm": 0.0,
"learning_rate": 1.3680000000000003e-05,
"loss": 0.0,
"num_tokens": 507944.0,
"reward": -0.14375001043081284,
"reward_std": 0.6796593680977822,
"rewards/reward_fn/mean": -0.14375001043081284,
"rewards/reward_fn/std": 0.6796593815088272,
"step": 80,
"step_time": 33.443731949500034
},
{
"clip_ratio/high_max": 0.0,
"clip_ratio/high_mean": 0.0,
"clip_ratio/low_mean": 0.0,
"clip_ratio/low_min": 0.0,
"clip_ratio/region_mean": 0.0,
"completions/clipped_ratio": 0.95,
"completions/max_length": 400.0,
"completions/max_terminated_length": 38.7,
"completions/mean_length": 386.45,
"completions/mean_terminated_length": 35.4,
"completions/min_length": 312.1,
"completions/min_terminated_length": 32.1,
"entropy": 0.817728553712368,
"epoch": 3.0,
"frac_reward_zero_std": 1.0,
"grad_norm": 0.0,
"learning_rate": 1.2880000000000002e-05,
"loss": 0.0,
"num_tokens": 571920.0,
"reward": -0.09100000560283661,
"reward_std": 0.7491292104125022,
"rewards/reward_fn/mean": -0.09100000560283661,
"rewards/reward_fn/std": 0.7491292074322701,
"step": 90,
"step_time": 33.4239154713001
},
{
"clip_ratio/high_max": 0.0,
"clip_ratio/high_mean": 0.0,
"clip_ratio/low_mean": 0.0,
"clip_ratio/low_min": 0.0,
"clip_ratio/region_mean": 0.0,
"completions/clipped_ratio": 0.95,
"completions/max_length": 400.0,
"completions/max_terminated_length": 52.1,
"completions/mean_length": 386.5125,
"completions/mean_terminated_length": 52.1,
"completions/min_length": 292.1,
"completions/min_terminated_length": 52.1,
"entropy": 0.7871452756226063,
"epoch": 3.3333333333333335,
"frac_reward_zero_std": 1.0,
"grad_norm": 0.0,
"learning_rate": 1.2080000000000001e-05,
"loss": 0.0,
"num_tokens": 635831.0,
"reward": -0.11849999725818634,
"reward_std": 0.9780218183994294,
"rewards/reward_fn/mean": -0.11849999725818634,
"rewards/reward_fn/std": 0.9780218482017518,
"step": 100,
"step_time": 33.44708331829988
}
],
"logging_steps": 10,
"max_steps": 250,
"num_input_tokens_seen": 635831,
"num_train_epochs": 9,
"save_steps": 100,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": false
},
"attributes": {}
}
},
"total_flos": 0.0,
"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:0f0dd240a760a35edcf19bfedd721f31bea53099058c16d322d918d5f830b64a
size 7057