Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- __pycache__/configuration_rize.cpython-311.pyc +0 -0
- added_tokens.json +28 -0
- chat_template.jinja +89 -0
- config.json +123 -0
- configuration_rize.py +344 -0
- generation_config.json +9 -0
- merges.txt +0 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +0 -0
- modeling_rize.py +0 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +239 -0
- trainer_state.json +883 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
__pycache__/configuration_rize.cpython-311.pyc
ADDED
|
Binary file (16.3 kB). View file
|
|
|
added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if message.content is string %}
|
| 27 |
+
{%- set content = message.content %}
|
| 28 |
+
{%- else %}
|
| 29 |
+
{%- set content = '' %}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 32 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 33 |
+
{%- elif message.role == "assistant" %}
|
| 34 |
+
{%- set reasoning_content = '' %}
|
| 35 |
+
{%- if message.reasoning_content is string %}
|
| 36 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 37 |
+
{%- else %}
|
| 38 |
+
{%- if '</think>' in content %}
|
| 39 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 40 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 44 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 45 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- else %}
|
| 50 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if message.tool_calls %}
|
| 53 |
+
{%- for tool_call in message.tool_calls %}
|
| 54 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 55 |
+
{{- '\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tool_call.function %}
|
| 58 |
+
{%- set tool_call = tool_call.function %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 61 |
+
{{- tool_call.name }}
|
| 62 |
+
{{- '", "arguments": ' }}
|
| 63 |
+
{%- if tool_call.arguments is string %}
|
| 64 |
+
{{- tool_call.arguments }}
|
| 65 |
+
{%- else %}
|
| 66 |
+
{{- tool_call.arguments | tojson }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{{- '}\n</tool_call>' }}
|
| 69 |
+
{%- endfor %}
|
| 70 |
+
{%- endif %}
|
| 71 |
+
{{- '<|im_end|>\n' }}
|
| 72 |
+
{%- elif message.role == "tool" %}
|
| 73 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 74 |
+
{{- '<|im_start|>user' }}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{{- '\n<tool_response>\n' }}
|
| 77 |
+
{{- content }}
|
| 78 |
+
{{- '\n</tool_response>' }}
|
| 79 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 80 |
+
{{- '<|im_end|>\n' }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endif %}
|
| 83 |
+
{%- endfor %}
|
| 84 |
+
{%- if add_generation_prompt %}
|
| 85 |
+
{{- '<|im_start|>assistant\n' }}
|
| 86 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 87 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"RizeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_arch": "kimi_linear",
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"auto_map": {
|
| 9 |
+
"AutoConfig": "configuration_rize.RizeConfig",
|
| 10 |
+
"AutoModel": "modeling_rize.RizeModel",
|
| 11 |
+
"AutoModelForCausalLM": "modeling_rize.RizeForCausalLM"
|
| 12 |
+
},
|
| 13 |
+
"aux_loss_alpha": 0.0,
|
| 14 |
+
"auxfree_bias_clip": 5.0,
|
| 15 |
+
"auxfree_bias_lr": 0.0,
|
| 16 |
+
"auxfree_update_interval": 8,
|
| 17 |
+
"block_diag_causal_mask": true,
|
| 18 |
+
"bos_token_id": null,
|
| 19 |
+
"collect_moe_stats": true,
|
| 20 |
+
"doc_sep_token": null,
|
| 21 |
+
"doc_sep_token_id": null,
|
| 22 |
+
"dtype": "bfloat16",
|
| 23 |
+
"eos_token_id": 151645,
|
| 24 |
+
"ep_size": 1,
|
| 25 |
+
"first_k_dense_replace": 1,
|
| 26 |
+
"force_chunk_attention": true,
|
| 27 |
+
"force_chunk_mode": true,
|
| 28 |
+
"force_training_chunk_mode": true,
|
| 29 |
+
"freeze_router_on_sft": true,
|
| 30 |
+
"global_lbl_buffer_across_ga": true,
|
| 31 |
+
"global_lbl_enabled": true,
|
| 32 |
+
"global_lbl_sync_across_ranks": true,
|
| 33 |
+
"hidden_act": "silu",
|
| 34 |
+
"hidden_size": 1536,
|
| 35 |
+
"initializer_range": 0.02,
|
| 36 |
+
"intermediate_size": 8192,
|
| 37 |
+
"kv_lora_rank": 512,
|
| 38 |
+
"linear_attn_config": {
|
| 39 |
+
"full_attn_layers": [
|
| 40 |
+
4,
|
| 41 |
+
8,
|
| 42 |
+
12,
|
| 43 |
+
16,
|
| 44 |
+
19
|
| 45 |
+
],
|
| 46 |
+
"head_dim": 128,
|
| 47 |
+
"kda_layers": [
|
| 48 |
+
1,
|
| 49 |
+
2,
|
| 50 |
+
3,
|
| 51 |
+
5,
|
| 52 |
+
6,
|
| 53 |
+
7,
|
| 54 |
+
9,
|
| 55 |
+
10,
|
| 56 |
+
11,
|
| 57 |
+
13,
|
| 58 |
+
14,
|
| 59 |
+
15,
|
| 60 |
+
17,
|
| 61 |
+
18
|
| 62 |
+
],
|
| 63 |
+
"num_heads": 12,
|
| 64 |
+
"short_conv_kernel_size": 4
|
| 65 |
+
},
|
| 66 |
+
"linear_ce_impl": "cce_exact",
|
| 67 |
+
"max_position_embeddings": 32768,
|
| 68 |
+
"model_type": "rize",
|
| 69 |
+
"moe_intermediate_size": 704,
|
| 70 |
+
"moe_layer_freq": 1,
|
| 71 |
+
"moe_router_active_only": true,
|
| 72 |
+
"n_group": 1,
|
| 73 |
+
"n_routed_experts": 64,
|
| 74 |
+
"n_shared_experts": 1,
|
| 75 |
+
"norm_topk_prob": true,
|
| 76 |
+
"num_attention_heads": 12,
|
| 77 |
+
"num_experts_per_tok": 4,
|
| 78 |
+
"num_hidden_layers": 19,
|
| 79 |
+
"num_key_value_heads": 12,
|
| 80 |
+
"num_nextn_predict_layers": 0,
|
| 81 |
+
"pad_token_id": 151643,
|
| 82 |
+
"pretraining_tp": 1,
|
| 83 |
+
"prompt_loss_weight": 0.1,
|
| 84 |
+
"q_lora_rank": null,
|
| 85 |
+
"qk_nope_head_dim": 128,
|
| 86 |
+
"qk_rope_head_dim": 64,
|
| 87 |
+
"reset_position_ids_per_sample": true,
|
| 88 |
+
"return_logits_in_train": false,
|
| 89 |
+
"rms_norm_eps": 1e-05,
|
| 90 |
+
"rope_beta_fast": 32.0,
|
| 91 |
+
"rope_beta_slow": 1.0,
|
| 92 |
+
"rope_mscale": 1.0,
|
| 93 |
+
"rope_mscale_all_dim": 1.0,
|
| 94 |
+
"rope_original_max_position_embeddings": 8192,
|
| 95 |
+
"rope_scaling": {
|
| 96 |
+
"beta_fast": 32.0,
|
| 97 |
+
"beta_slow": 1.0,
|
| 98 |
+
"factor": 4.0,
|
| 99 |
+
"mscale": 1.0,
|
| 100 |
+
"mscale_all_dim": 1.0,
|
| 101 |
+
"original_max_position_embeddings": 8192,
|
| 102 |
+
"rope_type": "yarn",
|
| 103 |
+
"type": "yarn"
|
| 104 |
+
},
|
| 105 |
+
"rope_scaling_factor": 4.0,
|
| 106 |
+
"rope_scaling_type": "yarn",
|
| 107 |
+
"rope_theta": 50000.0,
|
| 108 |
+
"routed_scaling_factor": 1.9984212625219382,
|
| 109 |
+
"sample_sep_is_eos": true,
|
| 110 |
+
"sample_sep_token": "<|im_end|>",
|
| 111 |
+
"sample_sep_token_id": 151645,
|
| 112 |
+
"scoring_func": "sigmoid",
|
| 113 |
+
"seq_aux": false,
|
| 114 |
+
"tie_word_embeddings": false,
|
| 115 |
+
"topk_group": 1,
|
| 116 |
+
"topk_method": "noaux_tc",
|
| 117 |
+
"transformers_version": "4.57.3",
|
| 118 |
+
"use_cache": false,
|
| 119 |
+
"use_doc_sep": false,
|
| 120 |
+
"use_linear_ce": true,
|
| 121 |
+
"v_head_dim": 128,
|
| 122 |
+
"vocab_size": 151669
|
| 123 |
+
}
|
configuration_rize.py
ADDED
|
@@ -0,0 +1,344 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 4 |
+
from transformers.utils import logging
|
| 5 |
+
|
| 6 |
+
logger = logging.get_logger(__name__)
|
| 7 |
+
|
| 8 |
+
RIZE_PRETRAINED_CONFIG_ARCHIVE_MAP = {}
|
| 9 |
+
class RizeConfig(PretrainedConfig):
|
| 10 |
+
r"""
|
| 11 |
+
This is the configuration class to store the configuration of a [`RizeModel`]. It is used to instantiate an Rize
|
| 12 |
+
model according to the specified arguments, defining the model architecture. Instantiating a configuration with the
|
| 13 |
+
defaults will yield a similar configuration to that of the Rize-V3.
|
| 14 |
+
|
| 15 |
+
Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
|
| 16 |
+
documentation from [`PretrainedConfig`] for more information.
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
Args:
|
| 20 |
+
vocab_size (`int`, *optional*, defaults to 129280):
|
| 21 |
+
Vocabulary size of the Rize model. Defines the number of different tokens that can be represented by the
|
| 22 |
+
`inputs_ids` passed when calling [`RizeModel`]
|
| 23 |
+
hidden_size (`int`, *optional*, defaults to 4096):
|
| 24 |
+
Dimension of the hidden representations.
|
| 25 |
+
intermediate_size (`int`, *optional*, defaults to 11008):
|
| 26 |
+
Dimension of the MLP representations.
|
| 27 |
+
moe_intermediate_size (`int`, *optional*, defaults to 1407):
|
| 28 |
+
Dimension of the MoE representations.
|
| 29 |
+
num_hidden_layers (`int`, *optional*, defaults to 32):
|
| 30 |
+
Number of hidden layers in the Transformer decoder.
|
| 31 |
+
num_nextn_predict_layers (`int`, *optional*, defaults to 1):
|
| 32 |
+
Number of nextn predict layers in the RizeV3 Model.
|
| 33 |
+
num_attention_heads (`int`, *optional*, defaults to 32):
|
| 34 |
+
Number of attention heads for each attention layer in the Transformer decoder.
|
| 35 |
+
n_shared_experts (`int`, *optional*, defaults to None):
|
| 36 |
+
Number of shared experts, None means dense model.
|
| 37 |
+
n_routed_experts (`int`, *optional*, defaults to None):
|
| 38 |
+
Number of routed experts, None means dense model.
|
| 39 |
+
routed_scaling_factor (`float`, *optional*, defaults to 1.0):
|
| 40 |
+
Scaling factor or routed experts.
|
| 41 |
+
topk_method (`str`, *optional*, defaults to `gready`):
|
| 42 |
+
Topk method used in routed gate.
|
| 43 |
+
n_group (`int`, *optional*, defaults to None):
|
| 44 |
+
Number of groups for routed experts.
|
| 45 |
+
topk_group (`int`, *optional*, defaults to None):
|
| 46 |
+
Number of selected groups for each token(for each token, ensuring the selected experts is only within `topk_group` groups).
|
| 47 |
+
num_experts_per_tok (`int`, *optional*, defaults to None):
|
| 48 |
+
Number of selected experts, None means dense model.
|
| 49 |
+
moe_layer_freq (`int`, *optional*, defaults to 1):
|
| 50 |
+
The frequency of the MoE layer: one expert layer for every `moe_layer_freq - 1` dense layers.
|
| 51 |
+
first_k_dense_replace (`int`, *optional*, defaults to 0):
|
| 52 |
+
Number of dense layers in shallow layers(embed->dense->dense->...->dense->moe->moe...->lm_head).
|
| 53 |
+
\--k dense layers--/
|
| 54 |
+
norm_topk_prob (`bool`, *optional*, defaults to False):
|
| 55 |
+
Whether to normalize the weights of the routed experts.
|
| 56 |
+
scoring_func (`str`, *optional*, defaults to 'softmax'):
|
| 57 |
+
Method of computing expert weights.
|
| 58 |
+
aux_loss_alpha (`float`, *optional*, defaults to 0.001):
|
| 59 |
+
Auxiliary loss weight coefficient.
|
| 60 |
+
seq_aux = (`bool`, *optional*, defaults to True):
|
| 61 |
+
Whether to compute the auxiliary loss for each individual sample.
|
| 62 |
+
num_key_value_heads (`int`, *optional*):
|
| 63 |
+
This is the number of key_value heads that should be used to implement Grouped Query Attention. If
|
| 64 |
+
`num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
|
| 65 |
+
`num_key_value_heads=1 the model will use Multi Query Attention (MQA) otherwise GQA is used. When
|
| 66 |
+
converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
|
| 67 |
+
by meanpooling all the original heads within that group. For more details checkout [this
|
| 68 |
+
paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specified, will default to
|
| 69 |
+
`num_attention_heads`.
|
| 70 |
+
hidden_act (`str` or `function`, *optional*, defaults to `"silu"`):
|
| 71 |
+
The non-linear activation function (function or string) in the decoder.
|
| 72 |
+
max_position_embeddings (`int`, *optional*, defaults to 2048):
|
| 73 |
+
The maximum sequence length that this model might ever be used with.
|
| 74 |
+
initializer_range (`float`, *optional*, defaults to 0.02):
|
| 75 |
+
The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
|
| 76 |
+
rms_norm_eps (`float`, *optional*, defaults to 1e-06):
|
| 77 |
+
The epsilon used by the rms normalization layers.
|
| 78 |
+
use_cache (`bool`, *optional*, defaults to `True`):
|
| 79 |
+
Whether or not the model should return the last key/values attentions (not used by all models). Only
|
| 80 |
+
relevant if `config.is_decoder=True`.
|
| 81 |
+
pad_token_id (`int`, *optional*):
|
| 82 |
+
Padding token id.
|
| 83 |
+
bos_token_id (`int`, *optional*, defaults to 1):
|
| 84 |
+
Beginning of stream token id.
|
| 85 |
+
eos_token_id (`int`, *optional*, defaults to 2):
|
| 86 |
+
End of stream token id.
|
| 87 |
+
pretraining_tp (`int`, *optional*, defaults to 1):
|
| 88 |
+
Experimental feature. Tensor parallelism rank used during pretraining. Please refer to [this
|
| 89 |
+
document](https://huggingface.co/docs/transformers/parallelism) to understand more about it. This value is
|
| 90 |
+
necessary to ensure exact reproducibility of the pretraining results. Please refer to [this
|
| 91 |
+
issue](https://github.com/pytorch/pytorch/issues/76232).
|
| 92 |
+
tie_word_embeddings (`bool`, *optional*, defaults to `False`):
|
| 93 |
+
Whether to tie weight embeddings
|
| 94 |
+
rope_theta (`float`, *optional*, defaults to 10000.0):
|
| 95 |
+
The base period of the RoPE embeddings.
|
| 96 |
+
rope_scaling (`Dict`, *optional*):
|
| 97 |
+
Dictionary containing the scaling configuration for the RoPE embeddings. Currently supports two scaling
|
| 98 |
+
strategies: linear and dynamic. Their scaling factor must be a float greater than 1. The expected format is
|
| 99 |
+
`{"type": strategy name, "factor": scaling factor}`. When using this flag, don't update
|
| 100 |
+
`max_position_embeddings` to the expected new maximum.
|
| 101 |
+
attention_bias (`bool`, defaults to `False`, *optional*, defaults to `False`):
|
| 102 |
+
Whether to use a bias in the query, key, value and output projection layers during self-attention.
|
| 103 |
+
attention_dropout (`float`, *optional*, defaults to 0.0):
|
| 104 |
+
The dropout ratio for the attention probabilities.
|
| 105 |
+
use_linear_ce (`bool`, *optional*, defaults to `True`):
|
| 106 |
+
Whether to use cut-cross-entropy (linear CE) for causal LM loss computation when labels are provided.
|
| 107 |
+
linear_ce_impl (`str`, *optional*, defaults to `"cce_exact"`):
|
| 108 |
+
Implementation name passed to cut-cross-entropy when `use_linear_ce=True`.
|
| 109 |
+
|
| 110 |
+
```python
|
| 111 |
+
>>> from transformers import RizeModel, RizeConfig
|
| 112 |
+
|
| 113 |
+
>>> # Initializing a Rize-V3 style configuration
|
| 114 |
+
>>> configuration = RizeConfig()
|
| 115 |
+
|
| 116 |
+
>>> # Accessing the model configuration
|
| 117 |
+
>>> configuration = model.config
|
| 118 |
+
```"""
|
| 119 |
+
|
| 120 |
+
model_type = "rize"
|
| 121 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
| 122 |
+
|
| 123 |
+
def __init__(
|
| 124 |
+
self,
|
| 125 |
+
vocab_size=129280,
|
| 126 |
+
hidden_size=7168,
|
| 127 |
+
intermediate_size=18432,
|
| 128 |
+
moe_intermediate_size = 2048,
|
| 129 |
+
num_hidden_layers=61,
|
| 130 |
+
num_nextn_predict_layers=1,
|
| 131 |
+
num_attention_heads=128,
|
| 132 |
+
num_key_value_heads=128,
|
| 133 |
+
n_shared_experts = 1,
|
| 134 |
+
n_routed_experts = 256,
|
| 135 |
+
ep_size = 1,
|
| 136 |
+
routed_scaling_factor = 2.5,
|
| 137 |
+
kv_lora_rank = 512,
|
| 138 |
+
q_lora_rank = 1536,
|
| 139 |
+
qk_rope_head_dim = 64,
|
| 140 |
+
v_head_dim = 128,
|
| 141 |
+
qk_nope_head_dim = 128,
|
| 142 |
+
topk_method = 'noaux_tc',
|
| 143 |
+
n_group = 8,
|
| 144 |
+
topk_group = 4,
|
| 145 |
+
num_experts_per_tok = 8,
|
| 146 |
+
moe_layer_freq = 1,
|
| 147 |
+
first_k_dense_replace = 3,
|
| 148 |
+
norm_topk_prob = True,
|
| 149 |
+
scoring_func = 'sigmoid',
|
| 150 |
+
aux_loss_alpha = 0.001,
|
| 151 |
+
seq_aux = True,
|
| 152 |
+
auxfree_bias_lr = 0.0,
|
| 153 |
+
hidden_act="silu",
|
| 154 |
+
max_position_embeddings=4096,
|
| 155 |
+
initializer_range=0.02,
|
| 156 |
+
rms_norm_eps=1e-6,
|
| 157 |
+
use_cache=True,
|
| 158 |
+
pad_token_id=None,
|
| 159 |
+
bos_token_id=0,
|
| 160 |
+
eos_token_id=1,
|
| 161 |
+
pretraining_tp=1,
|
| 162 |
+
tie_word_embeddings=False,
|
| 163 |
+
rope_theta=10000.0,
|
| 164 |
+
rope_scaling=None,
|
| 165 |
+
attention_bias=False,
|
| 166 |
+
attention_dropout=0.0,
|
| 167 |
+
use_linear_ce=True,
|
| 168 |
+
linear_ce_impl="cce_exact",
|
| 169 |
+
attention_arch="auto",
|
| 170 |
+
linear_attn_config=None,
|
| 171 |
+
block_diag_causal_mask=False,
|
| 172 |
+
reset_position_ids_per_sample=False,
|
| 173 |
+
moe_router_active_only=True,
|
| 174 |
+
prompt_loss_weight=0.0,
|
| 175 |
+
freeze_router_on_sft=False,
|
| 176 |
+
global_lbl_enabled=False,
|
| 177 |
+
global_lbl_sync_across_ranks=False,
|
| 178 |
+
global_lbl_buffer_across_ga=False,
|
| 179 |
+
**kwargs,
|
| 180 |
+
):
|
| 181 |
+
self.vocab_size = vocab_size
|
| 182 |
+
self.max_position_embeddings = max_position_embeddings
|
| 183 |
+
self.hidden_size = hidden_size
|
| 184 |
+
self.intermediate_size = intermediate_size
|
| 185 |
+
self.moe_intermediate_size = moe_intermediate_size
|
| 186 |
+
self.num_hidden_layers = num_hidden_layers
|
| 187 |
+
self.num_nextn_predict_layers = num_nextn_predict_layers
|
| 188 |
+
self.num_attention_heads = num_attention_heads
|
| 189 |
+
self.n_shared_experts = n_shared_experts
|
| 190 |
+
self.n_routed_experts = n_routed_experts
|
| 191 |
+
self.ep_size = ep_size
|
| 192 |
+
self.routed_scaling_factor = routed_scaling_factor
|
| 193 |
+
self.kv_lora_rank = kv_lora_rank
|
| 194 |
+
self.q_lora_rank = q_lora_rank
|
| 195 |
+
self.qk_rope_head_dim = qk_rope_head_dim
|
| 196 |
+
self.v_head_dim = v_head_dim
|
| 197 |
+
self.qk_nope_head_dim = qk_nope_head_dim
|
| 198 |
+
self.topk_method = topk_method
|
| 199 |
+
self.n_group = n_group
|
| 200 |
+
self.topk_group = topk_group
|
| 201 |
+
self.num_experts_per_tok = num_experts_per_tok
|
| 202 |
+
self.moe_layer_freq = moe_layer_freq
|
| 203 |
+
self.first_k_dense_replace = first_k_dense_replace
|
| 204 |
+
self.norm_topk_prob = norm_topk_prob
|
| 205 |
+
self.scoring_func = scoring_func
|
| 206 |
+
self.aux_loss_alpha = aux_loss_alpha
|
| 207 |
+
self.seq_aux = seq_aux
|
| 208 |
+
self.auxfree_bias_lr = auxfree_bias_lr
|
| 209 |
+
# for backward compatibility
|
| 210 |
+
if num_key_value_heads is None:
|
| 211 |
+
num_key_value_heads = num_attention_heads
|
| 212 |
+
|
| 213 |
+
self.num_key_value_heads = num_key_value_heads
|
| 214 |
+
self.hidden_act = hidden_act
|
| 215 |
+
self.initializer_range = initializer_range
|
| 216 |
+
self.rms_norm_eps = rms_norm_eps
|
| 217 |
+
self.pretraining_tp = pretraining_tp
|
| 218 |
+
self.use_cache = use_cache
|
| 219 |
+
self.rope_theta = rope_theta
|
| 220 |
+
self.rope_scaling = rope_scaling
|
| 221 |
+
self.attention_bias = attention_bias
|
| 222 |
+
self.attention_dropout = attention_dropout
|
| 223 |
+
self.use_linear_ce = use_linear_ce
|
| 224 |
+
self.linear_ce_impl = linear_ce_impl
|
| 225 |
+
self.block_diag_causal_mask = bool(block_diag_causal_mask)
|
| 226 |
+
self.reset_position_ids_per_sample = bool(reset_position_ids_per_sample)
|
| 227 |
+
self.moe_router_active_only = bool(moe_router_active_only)
|
| 228 |
+
self.prompt_loss_weight = float(prompt_loss_weight)
|
| 229 |
+
self.freeze_router_on_sft = bool(freeze_router_on_sft)
|
| 230 |
+
self.global_lbl_enabled = bool(global_lbl_enabled)
|
| 231 |
+
self.global_lbl_sync_across_ranks = bool(global_lbl_sync_across_ranks)
|
| 232 |
+
self.global_lbl_buffer_across_ga = bool(global_lbl_buffer_across_ga)
|
| 233 |
+
|
| 234 |
+
# ---- Kimi-Linear / hybrid attention knobs (optional) ----
|
| 235 |
+
# attention_arch: 'auto' (default; infer from linear_attn_config), 'standard', or 'kimi_linear'
|
| 236 |
+
self.attention_arch = attention_arch
|
| 237 |
+
# linear_attn_config: dict or None
|
| 238 |
+
self.linear_attn_config = linear_attn_config
|
| 239 |
+
|
| 240 |
+
super().__init__(
|
| 241 |
+
pad_token_id=pad_token_id,
|
| 242 |
+
bos_token_id=bos_token_id,
|
| 243 |
+
eos_token_id=eos_token_id,
|
| 244 |
+
tie_word_embeddings=tie_word_embeddings,
|
| 245 |
+
**kwargs,
|
| 246 |
+
)
|
| 247 |
+
|
| 248 |
+
@property
|
| 249 |
+
def is_linear_attn(self) -> bool:
|
| 250 |
+
"""Whether this config enables the Kimi-Linear style hybrid attention.
|
| 251 |
+
|
| 252 |
+
Notes:
|
| 253 |
+
- This is intentionally a *property* (not a stored boolean) so that it works
|
| 254 |
+
for both new configs (attention_arch) and older checkpoints that might only
|
| 255 |
+
carry linear_attn_config.
|
| 256 |
+
"""
|
| 257 |
+
arch = getattr(self, "attention_arch", None)
|
| 258 |
+
la_cfg = getattr(self, "linear_attn_config", None)
|
| 259 |
+
if arch is None:
|
| 260 |
+
return la_cfg is not None
|
| 261 |
+
# allow direct boolean override (e.g. programmatic configs)
|
| 262 |
+
if isinstance(arch, bool):
|
| 263 |
+
return bool(arch) and la_cfg is not None
|
| 264 |
+
|
| 265 |
+
arch_s = str(arch).lower().strip()
|
| 266 |
+
if arch_s in ("auto", "infer"):
|
| 267 |
+
return la_cfg is not None
|
| 268 |
+
if arch_s in ("standard", "full", "mla", "default", "none", ""):
|
| 269 |
+
return False
|
| 270 |
+
if arch_s in ("kimi_linear", "kda", "linear_attn", "linear", "hybrid"):
|
| 271 |
+
return la_cfg is not None
|
| 272 |
+
|
| 273 |
+
# Unknown value: be conservative (disable)
|
| 274 |
+
return False
|
| 275 |
+
|
| 276 |
+
@is_linear_attn.setter
|
| 277 |
+
def is_linear_attn(self, value: bool) -> None:
|
| 278 |
+
"""Back-compat setter. Allows `config.is_linear_attn = True/False`."""
|
| 279 |
+
if bool(value):
|
| 280 |
+
# Only flip attention_arch if it is currently unset or standard-ish.
|
| 281 |
+
cur = getattr(self, "attention_arch", "standard")
|
| 282 |
+
if cur is None or str(cur).lower().strip() in ("standard", "full", "default", "none", ""):
|
| 283 |
+
self.attention_arch = "kimi_linear"
|
| 284 |
+
else:
|
| 285 |
+
self.attention_arch = "standard"
|
| 286 |
+
|
| 287 |
+
def is_kda_layer(self, layer_idx: int) -> bool:
|
| 288 |
+
"""Return True if `layer_idx` (0-indexed) should use KDA (linear attention).
|
| 289 |
+
|
| 290 |
+
Layer index convention:
|
| 291 |
+
- Internally we expect `layer_idx` to be 0-indexed (as used by `range(num_hidden_layers)`).
|
| 292 |
+
- In config.linear_attn_config, `kda_layers` / `full_attn_layers` may be either:
|
| 293 |
+
* 0-indexed (0..num_hidden_layers-1), OR
|
| 294 |
+
* 1-indexed (1..num_hidden_layers) like the official Kimi-Linear configs.
|
| 295 |
+
We auto-detect the convention.
|
| 296 |
+
"""
|
| 297 |
+
if not self.is_linear_attn:
|
| 298 |
+
return False
|
| 299 |
+
|
| 300 |
+
cfg = getattr(self, "linear_attn_config", None)
|
| 301 |
+
if not isinstance(cfg, dict):
|
| 302 |
+
return False
|
| 303 |
+
|
| 304 |
+
if layer_idx is None:
|
| 305 |
+
return False
|
| 306 |
+
try:
|
| 307 |
+
layer_idx = int(layer_idx)
|
| 308 |
+
except Exception:
|
| 309 |
+
return False
|
| 310 |
+
if layer_idx < 0 or layer_idx >= int(getattr(self, "num_hidden_layers", 0) or 0):
|
| 311 |
+
return False
|
| 312 |
+
|
| 313 |
+
kda_layers = cfg.get("kda_layers", None)
|
| 314 |
+
full_layers = cfg.get("full_attn_layers", None)
|
| 315 |
+
|
| 316 |
+
# Normalize lists (best-effort)
|
| 317 |
+
kda = [int(x) for x in (kda_layers or [])] if isinstance(kda_layers, (list, tuple)) else []
|
| 318 |
+
full = [int(x) for x in (full_layers or [])] if isinstance(full_layers, (list, tuple)) else []
|
| 319 |
+
|
| 320 |
+
# Auto-detect index base for the config lists
|
| 321 |
+
all_idx = kda + full
|
| 322 |
+
one_indexed = False
|
| 323 |
+
if all_idx:
|
| 324 |
+
n = int(getattr(self, "num_hidden_layers", 0) or 0)
|
| 325 |
+
# Strong signals:
|
| 326 |
+
if 0 in all_idx:
|
| 327 |
+
one_indexed = False
|
| 328 |
+
elif n in all_idx:
|
| 329 |
+
one_indexed = True
|
| 330 |
+
else:
|
| 331 |
+
# Heuristic: if everything is within [1, n], treat as 1-indexed
|
| 332 |
+
mn, mx = min(all_idx), max(all_idx)
|
| 333 |
+
if mn >= 1 and mx <= n:
|
| 334 |
+
one_indexed = True
|
| 335 |
+
|
| 336 |
+
query_idx = layer_idx + (1 if one_indexed else 0)
|
| 337 |
+
|
| 338 |
+
if kda:
|
| 339 |
+
return query_idx in set(kda)
|
| 340 |
+
if full:
|
| 341 |
+
return query_idx not in set(full)
|
| 342 |
+
|
| 343 |
+
# If neither list is provided, default to "no KDA"
|
| 344 |
+
return False
|
generation_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"eos_token_id": [
|
| 4 |
+
151645,
|
| 5 |
+
163585
|
| 6 |
+
],
|
| 7 |
+
"pad_token_id": 151643,
|
| 8 |
+
"transformers_version": "4.57.3"
|
| 9 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80982e117b7681afea7bc763935b39916e9e8fa5ac9f74f615ec94016c2fdc1a
|
| 3 |
+
size 5000146488
|
model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fcd5c4e76e857e82faf5c744a6353bd938ceadd0a692c58941a11a2a34e3c480
|
| 3 |
+
size 3973275080
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
modeling_rize.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
|
| 3 |
+
size 11422654
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"clean_up_tokenization_spaces": false,
|
| 231 |
+
"eos_token": "<|im_end|>",
|
| 232 |
+
"errors": "replace",
|
| 233 |
+
"extra_special_tokens": {},
|
| 234 |
+
"model_max_length": 131072,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"split_special_tokens": false,
|
| 237 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 238 |
+
"unk_token": null
|
| 239 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,883 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 300,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.03333333333333333,
|
| 14 |
+
"grad_norm": 10.375,
|
| 15 |
+
"learning_rate": 1.8e-07,
|
| 16 |
+
"loss": 2.1128,
|
| 17 |
+
"slime/anchor_loss": 0.5652838359801535,
|
| 18 |
+
"slime/chosen_len": 1131.75390625,
|
| 19 |
+
"slime/chosen_logp": -1.2561863364077,
|
| 20 |
+
"slime/chosen_sft_loss": 1.2561863364077,
|
| 21 |
+
"slime/chosen_sft_weighted_loss": 0.025123726156539305,
|
| 22 |
+
"slime/dist_loss": 0.018970487654221914,
|
| 23 |
+
"slime/hard_satisfied": 0.33203125,
|
| 24 |
+
"slime/loss": 2.1128057595517022,
|
| 25 |
+
"slime/margin": 0.19336955933831632,
|
| 26 |
+
"slime/rejected_len": 2604.171875,
|
| 27 |
+
"slime/rejected_logp": -1.449555895573576,
|
| 28 |
+
"slime/rejected_stabilizer": 7.517138462670846,
|
| 29 |
+
"slime/soft_gate": 0.4965854723122902,
|
| 30 |
+
"slime/stabilize_loss": 1.5034277173785084,
|
| 31 |
+
"source_mix/carefully": 0.1796875,
|
| 32 |
+
"source_mix/dolci-inst": 0.13046875,
|
| 33 |
+
"source_mix/dolci-think": 0.128125,
|
| 34 |
+
"source_mix/japanese": 0.134375,
|
| 35 |
+
"source_mix/math": 0.140625,
|
| 36 |
+
"source_mix/nvidia-cascade": 0.25078125,
|
| 37 |
+
"source_mix/self-intro": 0.0359375,
|
| 38 |
+
"step": 10
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.06666666666666667,
|
| 42 |
+
"grad_norm": 270.0,
|
| 43 |
+
"learning_rate": 3.7999999999999996e-07,
|
| 44 |
+
"loss": 2.0585,
|
| 45 |
+
"slime/anchor_loss": 0.5715644719993861,
|
| 46 |
+
"slime/chosen_len": 1118.2375,
|
| 47 |
+
"slime/chosen_logp": -1.2701433055754705,
|
| 48 |
+
"slime/chosen_sft_loss": 1.2701433055754705,
|
| 49 |
+
"slime/chosen_sft_weighted_loss": 0.025402865548713117,
|
| 50 |
+
"slime/dist_loss": 0.018322167105907283,
|
| 51 |
+
"slime/hard_satisfied": 0.3109375,
|
| 52 |
+
"slime/loss": 2.0585288689151637,
|
| 53 |
+
"slime/margin": 0.1740653719578404,
|
| 54 |
+
"slime/rejected_len": 2716.92578125,
|
| 55 |
+
"slime/rejected_logp": -1.4442086774139853,
|
| 56 |
+
"slime/rejected_stabilizer": 7.2161967355583325,
|
| 57 |
+
"slime/soft_gate": 0.4972848696401343,
|
| 58 |
+
"slime/stabilize_loss": 1.4432393665541894,
|
| 59 |
+
"source_mix/carefully": 0.171875,
|
| 60 |
+
"source_mix/dolci-inst": 0.1328125,
|
| 61 |
+
"source_mix/dolci-think": 0.11875,
|
| 62 |
+
"source_mix/japanese": 0.12421875,
|
| 63 |
+
"source_mix/math": 0.13515625,
|
| 64 |
+
"source_mix/nvidia-cascade": 0.275,
|
| 65 |
+
"source_mix/self-intro": 0.0421875,
|
| 66 |
+
"step": 20
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.1,
|
| 70 |
+
"grad_norm": 64.5,
|
| 71 |
+
"learning_rate": 5.8e-07,
|
| 72 |
+
"loss": 2.0348,
|
| 73 |
+
"slime/anchor_loss": 0.5777066876407844,
|
| 74 |
+
"slime/chosen_len": 1126.65390625,
|
| 75 |
+
"slime/chosen_logp": -1.283792673991411,
|
| 76 |
+
"slime/chosen_sft_loss": 1.283792673991411,
|
| 77 |
+
"slime/chosen_sft_weighted_loss": 0.025675852919619047,
|
| 78 |
+
"slime/dist_loss": 0.01966060851878524,
|
| 79 |
+
"slime/hard_satisfied": 0.30078125,
|
| 80 |
+
"slime/loss": 2.0347598268243017,
|
| 81 |
+
"slime/margin": 0.16343559486558662,
|
| 82 |
+
"slime/rejected_len": 2952.1328125,
|
| 83 |
+
"slime/rejected_logp": -1.4472282689312124,
|
| 84 |
+
"slime/rejected_stabilizer": 7.05858330585761,
|
| 85 |
+
"slime/soft_gate": 0.49771429020911456,
|
| 86 |
+
"slime/stabilize_loss": 1.4117166813746735,
|
| 87 |
+
"source_mix/carefully": 0.17421875,
|
| 88 |
+
"source_mix/dolci-inst": 0.13203125,
|
| 89 |
+
"source_mix/dolci-think": 0.12421875,
|
| 90 |
+
"source_mix/japanese": 0.12734375,
|
| 91 |
+
"source_mix/math": 0.14453125,
|
| 92 |
+
"source_mix/nvidia-cascade": 0.24921875,
|
| 93 |
+
"source_mix/self-intro": 0.0484375,
|
| 94 |
+
"step": 30
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.13333333333333333,
|
| 98 |
+
"grad_norm": 13.5,
|
| 99 |
+
"learning_rate": 7.799999999999999e-07,
|
| 100 |
+
"loss": 2.1862,
|
| 101 |
+
"slime/anchor_loss": 0.5970213656022679,
|
| 102 |
+
"slime/chosen_len": 1085.8375,
|
| 103 |
+
"slime/chosen_logp": -1.3267141812248155,
|
| 104 |
+
"slime/chosen_sft_loss": 1.3267141812248155,
|
| 105 |
+
"slime/chosen_sft_weighted_loss": 0.026534283025539195,
|
| 106 |
+
"slime/dist_loss": 0.019207629275163285,
|
| 107 |
+
"slime/hard_satisfied": 0.29609375,
|
| 108 |
+
"slime/loss": 2.1861922092386523,
|
| 109 |
+
"slime/margin": 0.17782343912986107,
|
| 110 |
+
"slime/rejected_len": 2872.32890625,
|
| 111 |
+
"slime/rejected_logp": -1.5045376207468508,
|
| 112 |
+
"slime/rejected_stabilizer": 7.717144486965845,
|
| 113 |
+
"slime/soft_gate": 0.49718887559138236,
|
| 114 |
+
"slime/stabilize_loss": 1.5434289268159773,
|
| 115 |
+
"source_mix/carefully": 0.18203125,
|
| 116 |
+
"source_mix/dolci-inst": 0.115625,
|
| 117 |
+
"source_mix/dolci-think": 0.12734375,
|
| 118 |
+
"source_mix/japanese": 0.13203125,
|
| 119 |
+
"source_mix/math": 0.1328125,
|
| 120 |
+
"source_mix/nvidia-cascade": 0.26328125,
|
| 121 |
+
"source_mix/self-intro": 0.046875,
|
| 122 |
+
"step": 40
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.16666666666666666,
|
| 126 |
+
"grad_norm": 34.5,
|
| 127 |
+
"learning_rate": 9.8e-07,
|
| 128 |
+
"loss": 1.9821,
|
| 129 |
+
"slime/anchor_loss": 0.5981764935819228,
|
| 130 |
+
"slime/chosen_len": 1107.9546875,
|
| 131 |
+
"slime/chosen_logp": -1.3292811316568987,
|
| 132 |
+
"slime/chosen_sft_loss": 1.3292811316568987,
|
| 133 |
+
"slime/chosen_sft_weighted_loss": 0.026585622042512115,
|
| 134 |
+
"slime/dist_loss": 0.02136569871681928,
|
| 135 |
+
"slime/hard_satisfied": 0.25234375,
|
| 136 |
+
"slime/loss": 1.9820999772753567,
|
| 137 |
+
"slime/margin": 0.07440594642976066,
|
| 138 |
+
"slime/rejected_len": 2603.40625,
|
| 139 |
+
"slime/rejected_logp": -1.4036870779033053,
|
| 140 |
+
"slime/rejected_stabilizer": 6.679860710317735,
|
| 141 |
+
"slime/soft_gate": 0.5009892466012389,
|
| 142 |
+
"slime/stabilize_loss": 1.3359721658394847,
|
| 143 |
+
"source_mix/carefully": 0.178125,
|
| 144 |
+
"source_mix/dolci-inst": 0.11875,
|
| 145 |
+
"source_mix/dolci-think": 0.13359375,
|
| 146 |
+
"source_mix/japanese": 0.12578125,
|
| 147 |
+
"source_mix/math": 0.1265625,
|
| 148 |
+
"source_mix/nvidia-cascade": 0.275,
|
| 149 |
+
"source_mix/self-intro": 0.0421875,
|
| 150 |
+
"step": 50
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 0.2,
|
| 154 |
+
"grad_norm": 20.875,
|
| 155 |
+
"learning_rate": 1.18e-06,
|
| 156 |
+
"loss": 2.0138,
|
| 157 |
+
"slime/anchor_loss": 0.5834041117399466,
|
| 158 |
+
"slime/chosen_len": 1091.12109375,
|
| 159 |
+
"slime/chosen_logp": -1.2964536144820158,
|
| 160 |
+
"slime/chosen_sft_loss": 1.2964536144820158,
|
| 161 |
+
"slime/chosen_sft_weighted_loss": 0.025929071675750492,
|
| 162 |
+
"slime/dist_loss": 0.02069701280749996,
|
| 163 |
+
"slime/hard_satisfied": 0.28046875,
|
| 164 |
+
"slime/loss": 2.0138427876867353,
|
| 165 |
+
"slime/margin": 0.12427767315530218,
|
| 166 |
+
"slime/rejected_len": 2604.715625,
|
| 167 |
+
"slime/rejected_logp": -1.4207312876413198,
|
| 168 |
+
"slime/rejected_stabilizer": 6.91906284771976,
|
| 169 |
+
"slime/soft_gate": 0.4991721922764555,
|
| 170 |
+
"slime/stabilize_loss": 1.3838125903435867,
|
| 171 |
+
"source_mix/carefully": 0.1578125,
|
| 172 |
+
"source_mix/dolci-inst": 0.14609375,
|
| 173 |
+
"source_mix/dolci-think": 0.11171875,
|
| 174 |
+
"source_mix/japanese": 0.115625,
|
| 175 |
+
"source_mix/math": 0.13125,
|
| 176 |
+
"source_mix/nvidia-cascade": 0.28984375,
|
| 177 |
+
"source_mix/self-intro": 0.04765625,
|
| 178 |
+
"step": 60
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.23333333333333334,
|
| 182 |
+
"grad_norm": 6.09375,
|
| 183 |
+
"learning_rate": 1.38e-06,
|
| 184 |
+
"loss": 2.093,
|
| 185 |
+
"slime/anchor_loss": 0.5975191399382311,
|
| 186 |
+
"slime/chosen_len": 1169.30859375,
|
| 187 |
+
"slime/chosen_logp": -1.3278203454508912,
|
| 188 |
+
"slime/chosen_sft_loss": 1.3278203454508912,
|
| 189 |
+
"slime/chosen_sft_weighted_loss": 0.02655640635189229,
|
| 190 |
+
"slime/dist_loss": 0.02211085479052599,
|
| 191 |
+
"slime/hard_satisfied": 0.28359375,
|
| 192 |
+
"slime/loss": 2.0930444569152313,
|
| 193 |
+
"slime/margin": 0.11257743685273454,
|
| 194 |
+
"slime/rejected_len": 2785.41328125,
|
| 195 |
+
"slime/rejected_logp": -1.4403977824331378,
|
| 196 |
+
"slime/rejected_stabilizer": 7.234290163306286,
|
| 197 |
+
"slime/soft_gate": 0.49962827693670986,
|
| 198 |
+
"slime/stabilize_loss": 1.4468580567918252,
|
| 199 |
+
"source_mix/carefully": 0.17890625,
|
| 200 |
+
"source_mix/dolci-inst": 0.1203125,
|
| 201 |
+
"source_mix/dolci-think": 0.11875,
|
| 202 |
+
"source_mix/japanese": 0.140625,
|
| 203 |
+
"source_mix/math": 0.134375,
|
| 204 |
+
"source_mix/nvidia-cascade": 0.2640625,
|
| 205 |
+
"source_mix/self-intro": 0.04296875,
|
| 206 |
+
"step": 70
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 0.26666666666666666,
|
| 210 |
+
"grad_norm": 84.5,
|
| 211 |
+
"learning_rate": 1.58e-06,
|
| 212 |
+
"loss": 1.938,
|
| 213 |
+
"slime/anchor_loss": 0.5820682898134691,
|
| 214 |
+
"slime/chosen_len": 1132.0359375,
|
| 215 |
+
"slime/chosen_logp": -1.2934851201134734,
|
| 216 |
+
"slime/chosen_sft_loss": 1.2934851201134734,
|
| 217 |
+
"slime/chosen_sft_weighted_loss": 0.02586970183710946,
|
| 218 |
+
"slime/dist_loss": 0.02047131769329553,
|
| 219 |
+
"slime/hard_satisfied": 0.28671875,
|
| 220 |
+
"slime/loss": 1.9379910714080324,
|
| 221 |
+
"slime/margin": 0.10804048473073635,
|
| 222 |
+
"slime/rejected_len": 2687.40234375,
|
| 223 |
+
"slime/rejected_logp": -1.4015256044144109,
|
| 224 |
+
"slime/rejected_stabilizer": 6.547908684506547,
|
| 225 |
+
"slime/soft_gate": 0.499736803304404,
|
| 226 |
+
"slime/stabilize_loss": 1.3095817611982057,
|
| 227 |
+
"source_mix/carefully": 0.17734375,
|
| 228 |
+
"source_mix/dolci-inst": 0.13125,
|
| 229 |
+
"source_mix/dolci-think": 0.121875,
|
| 230 |
+
"source_mix/japanese": 0.12890625,
|
| 231 |
+
"source_mix/math": 0.13203125,
|
| 232 |
+
"source_mix/nvidia-cascade": 0.26015625,
|
| 233 |
+
"source_mix/self-intro": 0.0484375,
|
| 234 |
+
"step": 80
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 0.3,
|
| 238 |
+
"grad_norm": 32.5,
|
| 239 |
+
"learning_rate": 1.78e-06,
|
| 240 |
+
"loss": 1.9334,
|
| 241 |
+
"slime/anchor_loss": 0.585230390515062,
|
| 242 |
+
"slime/chosen_len": 1031.903125,
|
| 243 |
+
"slime/chosen_logp": -1.300512012524996,
|
| 244 |
+
"slime/chosen_sft_loss": 1.300512012524996,
|
| 245 |
+
"slime/chosen_sft_weighted_loss": 0.026010239717879812,
|
| 246 |
+
"slime/dist_loss": 0.020852691849732707,
|
| 247 |
+
"slime/hard_satisfied": 0.28203125,
|
| 248 |
+
"slime/loss": 1.9333723544841632,
|
| 249 |
+
"slime/margin": 0.10233128607505933,
|
| 250 |
+
"slime/rejected_len": 2716.9671875,
|
| 251 |
+
"slime/rejected_logp": -1.4028432980827348,
|
| 252 |
+
"slime/rejected_stabilizer": 6.5063950447482055,
|
| 253 |
+
"slime/soft_gate": 0.499991340667475,
|
| 254 |
+
"slime/stabilize_loss": 1.301279031730519,
|
| 255 |
+
"source_mix/carefully": 0.165625,
|
| 256 |
+
"source_mix/dolci-inst": 0.128125,
|
| 257 |
+
"source_mix/dolci-think": 0.12578125,
|
| 258 |
+
"source_mix/japanese": 0.13203125,
|
| 259 |
+
"source_mix/math": 0.12734375,
|
| 260 |
+
"source_mix/nvidia-cascade": 0.27265625,
|
| 261 |
+
"source_mix/self-intro": 0.0484375,
|
| 262 |
+
"step": 90
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 0.3333333333333333,
|
| 266 |
+
"grad_norm": 17.125,
|
| 267 |
+
"learning_rate": 1.98e-06,
|
| 268 |
+
"loss": 2.0311,
|
| 269 |
+
"slime/anchor_loss": 0.5909910393456812,
|
| 270 |
+
"slime/chosen_len": 1149.38828125,
|
| 271 |
+
"slime/chosen_logp": -1.3133134559844621,
|
| 272 |
+
"slime/chosen_sft_loss": 1.3133134559844621,
|
| 273 |
+
"slime/chosen_sft_weighted_loss": 0.026266268511881206,
|
| 274 |
+
"slime/dist_loss": 0.020266785123857288,
|
| 275 |
+
"slime/hard_satisfied": 0.28125,
|
| 276 |
+
"slime/loss": 2.0310499653685836,
|
| 277 |
+
"slime/margin": 0.12902917331666686,
|
| 278 |
+
"slime/rejected_len": 2606.6953125,
|
| 279 |
+
"slime/rejected_logp": -1.4423426295616082,
|
| 280 |
+
"slime/rejected_stabilizer": 6.967629258579109,
|
| 281 |
+
"slime/soft_gate": 0.4989678652025759,
|
| 282 |
+
"slime/stabilize_loss": 1.393525873884937,
|
| 283 |
+
"source_mix/carefully": 0.17109375,
|
| 284 |
+
"source_mix/dolci-inst": 0.12265625,
|
| 285 |
+
"source_mix/dolci-think": 0.13046875,
|
| 286 |
+
"source_mix/japanese": 0.12421875,
|
| 287 |
+
"source_mix/math": 0.13515625,
|
| 288 |
+
"source_mix/nvidia-cascade": 0.26484375,
|
| 289 |
+
"source_mix/self-intro": 0.0515625,
|
| 290 |
+
"step": 100
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 0.36666666666666664,
|
| 294 |
+
"grad_norm": 14.1875,
|
| 295 |
+
"learning_rate": 2e-06,
|
| 296 |
+
"loss": 1.8712,
|
| 297 |
+
"slime/anchor_loss": 0.5815936719751335,
|
| 298 |
+
"slime/chosen_len": 1120.3484375,
|
| 299 |
+
"slime/chosen_logp": -1.2924304147367365,
|
| 300 |
+
"slime/chosen_sft_loss": 1.2924304147367365,
|
| 301 |
+
"slime/chosen_sft_weighted_loss": 0.02584860770148225,
|
| 302 |
+
"slime/dist_loss": 0.0211684020853113,
|
| 303 |
+
"slime/hard_satisfied": 0.26875,
|
| 304 |
+
"slime/loss": 1.8711517222691327,
|
| 305 |
+
"slime/margin": 0.08797086402191781,
|
| 306 |
+
"slime/rejected_len": 2819.31171875,
|
| 307 |
+
"slime/rejected_logp": -1.3804012785600208,
|
| 308 |
+
"slime/rejected_stabilizer": 6.21270509515889,
|
| 309 |
+
"slime/soft_gate": 0.5005081544164568,
|
| 310 |
+
"slime/stabilize_loss": 1.2425410391850165,
|
| 311 |
+
"source_mix/carefully": 0.16875,
|
| 312 |
+
"source_mix/dolci-inst": 0.12734375,
|
| 313 |
+
"source_mix/dolci-think": 0.12421875,
|
| 314 |
+
"source_mix/japanese": 0.13515625,
|
| 315 |
+
"source_mix/math": 0.13125,
|
| 316 |
+
"source_mix/nvidia-cascade": 0.25625,
|
| 317 |
+
"source_mix/self-intro": 0.05703125,
|
| 318 |
+
"step": 110
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 0.4,
|
| 322 |
+
"grad_norm": 512.0,
|
| 323 |
+
"learning_rate": 2e-06,
|
| 324 |
+
"loss": 1.8067,
|
| 325 |
+
"slime/anchor_loss": 0.5661823063972407,
|
| 326 |
+
"slime/chosen_len": 1122.00234375,
|
| 327 |
+
"slime/chosen_logp": -1.2581829352478962,
|
| 328 |
+
"slime/chosen_sft_loss": 1.2581829352478962,
|
| 329 |
+
"slime/chosen_sft_weighted_loss": 0.02516365816418329,
|
| 330 |
+
"slime/dist_loss": 0.01988503187535571,
|
| 331 |
+
"slime/hard_satisfied": 0.27734375,
|
| 332 |
+
"slime/loss": 1.8066898226796184,
|
| 333 |
+
"slime/margin": 0.10299149260972626,
|
| 334 |
+
"slime/rejected_len": 2811.6,
|
| 335 |
+
"slime/rejected_logp": -1.361174427827791,
|
| 336 |
+
"slime/rejected_stabilizer": 5.977294027025346,
|
| 337 |
+
"slime/soft_gate": 0.4999435399658978,
|
| 338 |
+
"slime/stabilize_loss": 1.1954588271291868,
|
| 339 |
+
"source_mix/carefully": 0.1640625,
|
| 340 |
+
"source_mix/dolci-inst": 0.13125,
|
| 341 |
+
"source_mix/dolci-think": 0.1375,
|
| 342 |
+
"source_mix/japanese": 0.13515625,
|
| 343 |
+
"source_mix/math": 0.12734375,
|
| 344 |
+
"source_mix/nvidia-cascade": 0.259375,
|
| 345 |
+
"source_mix/self-intro": 0.0453125,
|
| 346 |
+
"step": 120
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 0.43333333333333335,
|
| 350 |
+
"grad_norm": 64.0,
|
| 351 |
+
"learning_rate": 2e-06,
|
| 352 |
+
"loss": 1.8196,
|
| 353 |
+
"slime/anchor_loss": 0.5704214560333639,
|
| 354 |
+
"slime/chosen_len": 1151.52578125,
|
| 355 |
+
"slime/chosen_logp": -1.2676032666116952,
|
| 356 |
+
"slime/chosen_sft_loss": 1.2676032666116952,
|
| 357 |
+
"slime/chosen_sft_weighted_loss": 0.02535206476932217,
|
| 358 |
+
"slime/dist_loss": 0.02142226323093155,
|
| 359 |
+
"slime/hard_satisfied": 0.24765625,
|
| 360 |
+
"slime/loss": 1.8195731153886299,
|
| 361 |
+
"slime/margin": 0.07547286066692323,
|
| 362 |
+
"slime/rejected_len": 2794.225,
|
| 363 |
+
"slime/rejected_logp": -1.3430761275914846,
|
| 364 |
+
"slime/rejected_stabilizer": 6.011886543076253,
|
| 365 |
+
"slime/soft_gate": 0.5010092506767251,
|
| 366 |
+
"slime/stabilize_loss": 1.2023773317247106,
|
| 367 |
+
"source_mix/carefully": 0.16015625,
|
| 368 |
+
"source_mix/dolci-inst": 0.13671875,
|
| 369 |
+
"source_mix/dolci-think": 0.125,
|
| 370 |
+
"source_mix/japanese": 0.14296875,
|
| 371 |
+
"source_mix/math": 0.11484375,
|
| 372 |
+
"source_mix/nvidia-cascade": 0.26640625,
|
| 373 |
+
"source_mix/self-intro": 0.05390625,
|
| 374 |
+
"step": 130
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"epoch": 0.4666666666666667,
|
| 378 |
+
"grad_norm": 18.625,
|
| 379 |
+
"learning_rate": 2e-06,
|
| 380 |
+
"loss": 1.7939,
|
| 381 |
+
"slime/anchor_loss": 0.5643214548053948,
|
| 382 |
+
"slime/chosen_len": 1126.16015625,
|
| 383 |
+
"slime/chosen_logp": -1.2540477099530107,
|
| 384 |
+
"slime/chosen_sft_loss": 1.2540477099530107,
|
| 385 |
+
"slime/chosen_sft_weighted_loss": 0.02508095362707081,
|
| 386 |
+
"slime/dist_loss": 0.020207823722915918,
|
| 387 |
+
"slime/hard_satisfied": 0.284375,
|
| 388 |
+
"slime/loss": 1.793889444656088,
|
| 389 |
+
"slime/margin": 0.11795559519378003,
|
| 390 |
+
"slime/rejected_len": 2949.6734375,
|
| 391 |
+
"slime/rejected_logp": -1.3720033054185479,
|
| 392 |
+
"slime/rejected_stabilizer": 5.92139595746994,
|
| 393 |
+
"slime/soft_gate": 0.49938542693853377,
|
| 394 |
+
"slime/stabilize_loss": 1.1842792140545497,
|
| 395 |
+
"source_mix/carefully": 0.19140625,
|
| 396 |
+
"source_mix/dolci-inst": 0.14140625,
|
| 397 |
+
"source_mix/dolci-think": 0.1125,
|
| 398 |
+
"source_mix/japanese": 0.14140625,
|
| 399 |
+
"source_mix/math": 0.1359375,
|
| 400 |
+
"source_mix/nvidia-cascade": 0.240625,
|
| 401 |
+
"source_mix/self-intro": 0.03671875,
|
| 402 |
+
"step": 140
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"epoch": 0.5,
|
| 406 |
+
"grad_norm": 50.75,
|
| 407 |
+
"learning_rate": 2e-06,
|
| 408 |
+
"loss": 1.742,
|
| 409 |
+
"slime/anchor_loss": 0.5520623270414944,
|
| 410 |
+
"slime/chosen_len": 1227.03125,
|
| 411 |
+
"slime/chosen_logp": -1.2268052033527055,
|
| 412 |
+
"slime/chosen_sft_loss": 1.2268052033527055,
|
| 413 |
+
"slime/chosen_sft_weighted_loss": 0.02453610350275994,
|
| 414 |
+
"slime/dist_loss": 0.01930630389658745,
|
| 415 |
+
"slime/hard_satisfied": 0.28203125,
|
| 416 |
+
"slime/loss": 1.742006646405207,
|
| 417 |
+
"slime/margin": 0.12888034964853431,
|
| 418 |
+
"slime/rejected_len": 2967.546875,
|
| 419 |
+
"slime/rejected_logp": -1.3556855528629967,
|
| 420 |
+
"slime/rejected_stabilizer": 5.7305094635114076,
|
| 421 |
+
"slime/soft_gate": 0.4989769039209932,
|
| 422 |
+
"slime/stabilize_loss": 1.1461019126836618,
|
| 423 |
+
"source_mix/carefully": 0.16796875,
|
| 424 |
+
"source_mix/dolci-inst": 0.12578125,
|
| 425 |
+
"source_mix/dolci-think": 0.14140625,
|
| 426 |
+
"source_mix/japanese": 0.13125,
|
| 427 |
+
"source_mix/math": 0.12890625,
|
| 428 |
+
"source_mix/nvidia-cascade": 0.2578125,
|
| 429 |
+
"source_mix/self-intro": 0.046875,
|
| 430 |
+
"step": 150
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"epoch": 0.5333333333333333,
|
| 434 |
+
"grad_norm": 43.0,
|
| 435 |
+
"learning_rate": 2e-06,
|
| 436 |
+
"loss": 1.7376,
|
| 437 |
+
"slime/anchor_loss": 0.5569766616019478,
|
| 438 |
+
"slime/chosen_len": 1184.3328125,
|
| 439 |
+
"slime/chosen_logp": -1.2377259450149722,
|
| 440 |
+
"slime/chosen_sft_loss": 1.2377259450149722,
|
| 441 |
+
"slime/chosen_sft_weighted_loss": 0.02475451834600335,
|
| 442 |
+
"slime/dist_loss": 0.020114551604763165,
|
| 443 |
+
"slime/hard_satisfied": 0.28203125,
|
| 444 |
+
"slime/loss": 1.7375932445982472,
|
| 445 |
+
"slime/margin": 0.11652939966297708,
|
| 446 |
+
"slime/rejected_len": 2700.2,
|
| 447 |
+
"slime/rejected_logp": -1.354255344721969,
|
| 448 |
+
"slime/rejected_stabilizer": 5.678737456933595,
|
| 449 |
+
"slime/soft_gate": 0.49942631730809806,
|
| 450 |
+
"slime/stabilize_loss": 1.1357475130011152,
|
| 451 |
+
"source_mix/carefully": 0.178125,
|
| 452 |
+
"source_mix/dolci-inst": 0.1234375,
|
| 453 |
+
"source_mix/dolci-think": 0.13125,
|
| 454 |
+
"source_mix/japanese": 0.134375,
|
| 455 |
+
"source_mix/math": 0.1234375,
|
| 456 |
+
"source_mix/nvidia-cascade": 0.2640625,
|
| 457 |
+
"source_mix/self-intro": 0.0453125,
|
| 458 |
+
"step": 160
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"epoch": 0.5666666666666667,
|
| 462 |
+
"grad_norm": 19.75,
|
| 463 |
+
"learning_rate": 2e-06,
|
| 464 |
+
"loss": 1.5782,
|
| 465 |
+
"slime/anchor_loss": 0.532384615248884,
|
| 466 |
+
"slime/chosen_len": 1129.96015625,
|
| 467 |
+
"slime/chosen_logp": -1.183076953816635,
|
| 468 |
+
"slime/chosen_sft_loss": 1.183076953816635,
|
| 469 |
+
"slime/chosen_sft_weighted_loss": 0.02366153856519304,
|
| 470 |
+
"slime/dist_loss": 0.019202208291005718,
|
| 471 |
+
"slime/hard_satisfied": 0.28671875,
|
| 472 |
+
"slime/loss": 1.5782210501580267,
|
| 473 |
+
"slime/margin": 0.11024855870637111,
|
| 474 |
+
"slime/rejected_len": 3042.89375,
|
| 475 |
+
"slime/rejected_logp": -1.2933255127398298,
|
| 476 |
+
"slime/rejected_stabilizer": 5.014863350742962,
|
| 477 |
+
"slime/soft_gate": 0.4996744911884889,
|
| 478 |
+
"slime/stabilize_loss": 1.0029726890483288,
|
| 479 |
+
"source_mix/carefully": 0.159375,
|
| 480 |
+
"source_mix/dolci-inst": 0.12421875,
|
| 481 |
+
"source_mix/dolci-think": 0.13359375,
|
| 482 |
+
"source_mix/japanese": 0.13671875,
|
| 483 |
+
"source_mix/math": 0.1546875,
|
| 484 |
+
"source_mix/nvidia-cascade": 0.26171875,
|
| 485 |
+
"source_mix/self-intro": 0.0296875,
|
| 486 |
+
"step": 170
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"epoch": 0.6,
|
| 490 |
+
"grad_norm": 6.15625,
|
| 491 |
+
"learning_rate": 2e-06,
|
| 492 |
+
"loss": 1.4583,
|
| 493 |
+
"slime/anchor_loss": 0.5199616495083319,
|
| 494 |
+
"slime/chosen_len": 1213.884375,
|
| 495 |
+
"slime/chosen_logp": -1.155470362820779,
|
| 496 |
+
"slime/chosen_sft_loss": 1.155470362820779,
|
| 497 |
+
"slime/chosen_sft_weighted_loss": 0.023109406742059947,
|
| 498 |
+
"slime/dist_loss": 0.01785762085306395,
|
| 499 |
+
"slime/hard_satisfied": 0.2859375,
|
| 500 |
+
"slime/loss": 1.4582647689734585,
|
| 501 |
+
"slime/margin": 0.10910382422734984,
|
| 502 |
+
"slime/rejected_len": 2908.109375,
|
| 503 |
+
"slime/rejected_logp": -1.2645741872747749,
|
| 504 |
+
"slime/rejected_stabilizer": 4.486680382909253,
|
| 505 |
+
"slime/soft_gate": 0.4996923903701827,
|
| 506 |
+
"slime/stabilize_loss": 0.8973360939584382,
|
| 507 |
+
"source_mix/carefully": 0.16484375,
|
| 508 |
+
"source_mix/dolci-inst": 0.1328125,
|
| 509 |
+
"source_mix/dolci-think": 0.14296875,
|
| 510 |
+
"source_mix/japanese": 0.128125,
|
| 511 |
+
"source_mix/math": 0.14765625,
|
| 512 |
+
"source_mix/nvidia-cascade": 0.23828125,
|
| 513 |
+
"source_mix/self-intro": 0.0453125,
|
| 514 |
+
"step": 180
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"epoch": 0.6333333333333333,
|
| 518 |
+
"grad_norm": 7.0625,
|
| 519 |
+
"learning_rate": 2e-06,
|
| 520 |
+
"loss": 1.5619,
|
| 521 |
+
"slime/anchor_loss": 0.5451826707037981,
|
| 522 |
+
"slime/chosen_len": 1196.08359375,
|
| 523 |
+
"slime/chosen_logp": -1.2115170773729915,
|
| 524 |
+
"slime/chosen_sft_loss": 1.2115170773729915,
|
| 525 |
+
"slime/chosen_sft_weighted_loss": 0.02423034098987955,
|
| 526 |
+
"slime/dist_loss": 0.018773801988095327,
|
| 527 |
+
"slime/hard_satisfied": 0.2953125,
|
| 528 |
+
"slime/loss": 1.5619090026302729,
|
| 529 |
+
"slime/margin": 0.12265400608303026,
|
| 530 |
+
"slime/rejected_len": 2788.084375,
|
| 531 |
+
"slime/rejected_logp": -1.3341710836619314,
|
| 532 |
+
"slime/rejected_stabilizer": 4.868610856326995,
|
| 533 |
+
"slime/soft_gate": 0.4991808100603521,
|
| 534 |
+
"slime/stabilize_loss": 0.9737221888412023,
|
| 535 |
+
"source_mix/carefully": 0.2046875,
|
| 536 |
+
"source_mix/dolci-inst": 0.11875,
|
| 537 |
+
"source_mix/dolci-think": 0.1140625,
|
| 538 |
+
"source_mix/japanese": 0.13046875,
|
| 539 |
+
"source_mix/math": 0.1359375,
|
| 540 |
+
"source_mix/nvidia-cascade": 0.24765625,
|
| 541 |
+
"source_mix/self-intro": 0.0484375,
|
| 542 |
+
"step": 190
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"epoch": 0.6666666666666666,
|
| 546 |
+
"grad_norm": 6.625,
|
| 547 |
+
"learning_rate": 2e-06,
|
| 548 |
+
"loss": 1.5499,
|
| 549 |
+
"slime/anchor_loss": 0.5411809546541917,
|
| 550 |
+
"slime/chosen_len": 1106.7875,
|
| 551 |
+
"slime/chosen_logp": -1.2026243753440213,
|
| 552 |
+
"slime/chosen_sft_loss": 1.2026243753440213,
|
| 553 |
+
"slime/chosen_sft_weighted_loss": 0.02405248696841227,
|
| 554 |
+
"slime/dist_loss": 0.01921966159346198,
|
| 555 |
+
"slime/hard_satisfied": 0.2859375,
|
| 556 |
+
"slime/loss": 1.5498943640850484,
|
| 557 |
+
"slime/margin": 0.11554879848263226,
|
| 558 |
+
"slime/rejected_len": 2395.91640625,
|
| 559 |
+
"slime/rejected_logp": -1.3181731744156422,
|
| 560 |
+
"slime/rejected_stabilizer": 4.827206226118141,
|
| 561 |
+
"slime/soft_gate": 0.49945375400129705,
|
| 562 |
+
"slime/stabilize_loss": 0.9654412612908345,
|
| 563 |
+
"source_mix/carefully": 0.19765625,
|
| 564 |
+
"source_mix/dolci-inst": 0.12578125,
|
| 565 |
+
"source_mix/dolci-think": 0.12734375,
|
| 566 |
+
"source_mix/japanese": 0.11953125,
|
| 567 |
+
"source_mix/math": 0.1203125,
|
| 568 |
+
"source_mix/nvidia-cascade": 0.27109375,
|
| 569 |
+
"source_mix/self-intro": 0.03828125,
|
| 570 |
+
"step": 200
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"epoch": 0.7,
|
| 574 |
+
"grad_norm": 44.75,
|
| 575 |
+
"learning_rate": 2e-06,
|
| 576 |
+
"loss": 1.4603,
|
| 577 |
+
"slime/anchor_loss": 0.529536109342007,
|
| 578 |
+
"slime/chosen_len": 1068.109375,
|
| 579 |
+
"slime/chosen_logp": -1.176746938750148,
|
| 580 |
+
"slime/chosen_sft_loss": 1.176746938750148,
|
| 581 |
+
"slime/chosen_sft_weighted_loss": 0.02353493825548867,
|
| 582 |
+
"slime/dist_loss": 0.01862544146329128,
|
| 583 |
+
"slime/hard_satisfied": 0.290625,
|
| 584 |
+
"slime/loss": 1.4602733735518996,
|
| 585 |
+
"slime/margin": 0.11214757621055468,
|
| 586 |
+
"slime/rejected_len": 2600.8359375,
|
| 587 |
+
"slime/rejected_logp": -1.288894514884305,
|
| 588 |
+
"slime/rejected_stabilizer": 4.442884352814872,
|
| 589 |
+
"slime/soft_gate": 0.49956530551426115,
|
| 590 |
+
"slime/stabilize_loss": 0.8885768864871352,
|
| 591 |
+
"source_mix/carefully": 0.1984375,
|
| 592 |
+
"source_mix/dolci-inst": 0.125,
|
| 593 |
+
"source_mix/dolci-think": 0.11328125,
|
| 594 |
+
"source_mix/japanese": 0.1203125,
|
| 595 |
+
"source_mix/math": 0.1328125,
|
| 596 |
+
"source_mix/nvidia-cascade": 0.259375,
|
| 597 |
+
"source_mix/self-intro": 0.05078125,
|
| 598 |
+
"step": 210
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"epoch": 0.7333333333333333,
|
| 602 |
+
"grad_norm": 13.8125,
|
| 603 |
+
"learning_rate": 2e-06,
|
| 604 |
+
"loss": 1.3529,
|
| 605 |
+
"slime/anchor_loss": 0.5180962575308513,
|
| 606 |
+
"slime/chosen_len": 1267.4875,
|
| 607 |
+
"slime/chosen_logp": -1.1513250483461888,
|
| 608 |
+
"slime/chosen_sft_loss": 1.1513250483461888,
|
| 609 |
+
"slime/chosen_sft_weighted_loss": 0.023026500427795325,
|
| 610 |
+
"slime/dist_loss": 0.018737165465664417,
|
| 611 |
+
"slime/hard_satisfied": 0.271875,
|
| 612 |
+
"slime/loss": 1.3529100731015204,
|
| 613 |
+
"slime/margin": 0.10039320702198892,
|
| 614 |
+
"slime/rejected_len": 2910.2328125,
|
| 615 |
+
"slime/rejected_logp": -1.2517182552608574,
|
| 616 |
+
"slime/rejected_stabilizer": 3.965250689495588,
|
| 617 |
+
"slime/soft_gate": 0.5000133744208142,
|
| 618 |
+
"slime/stabilize_loss": 0.7930501511385956,
|
| 619 |
+
"source_mix/carefully": 0.18984375,
|
| 620 |
+
"source_mix/dolci-inst": 0.11015625,
|
| 621 |
+
"source_mix/dolci-think": 0.15390625,
|
| 622 |
+
"source_mix/japanese": 0.1375,
|
| 623 |
+
"source_mix/math": 0.13203125,
|
| 624 |
+
"source_mix/nvidia-cascade": 0.234375,
|
| 625 |
+
"source_mix/self-intro": 0.0421875,
|
| 626 |
+
"step": 220
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"epoch": 0.7666666666666667,
|
| 630 |
+
"grad_norm": 15.375,
|
| 631 |
+
"learning_rate": 2e-06,
|
| 632 |
+
"loss": 1.3448,
|
| 633 |
+
"slime/anchor_loss": 0.5111413402909193,
|
| 634 |
+
"slime/chosen_len": 1182.5296875,
|
| 635 |
+
"slime/chosen_logp": -1.1358696755909476,
|
| 636 |
+
"slime/chosen_sft_loss": 1.1358696755909476,
|
| 637 |
+
"slime/chosen_sft_weighted_loss": 0.022717393007877007,
|
| 638 |
+
"slime/dist_loss": 0.017774005938222714,
|
| 639 |
+
"slime/hard_satisfied": 0.2984375,
|
| 640 |
+
"slime/loss": 1.344768432615092,
|
| 641 |
+
"slime/margin": 0.13050566065649036,
|
| 642 |
+
"slime/rejected_len": 2824.88515625,
|
| 643 |
+
"slime/rejected_logp": -1.2663753359134717,
|
| 644 |
+
"slime/rejected_stabilizer": 3.9656784189050085,
|
| 645 |
+
"slime/soft_gate": 0.49888017314951866,
|
| 646 |
+
"slime/stabilize_loss": 0.7931356976223469,
|
| 647 |
+
"source_mix/carefully": 0.175,
|
| 648 |
+
"source_mix/dolci-inst": 0.13203125,
|
| 649 |
+
"source_mix/dolci-think": 0.128125,
|
| 650 |
+
"source_mix/japanese": 0.11640625,
|
| 651 |
+
"source_mix/math": 0.134375,
|
| 652 |
+
"source_mix/nvidia-cascade": 0.26484375,
|
| 653 |
+
"source_mix/self-intro": 0.04921875,
|
| 654 |
+
"step": 230
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"epoch": 0.8,
|
| 658 |
+
"grad_norm": 5.6875,
|
| 659 |
+
"learning_rate": 2e-06,
|
| 660 |
+
"loss": 1.3167,
|
| 661 |
+
"slime/anchor_loss": 0.513396046102207,
|
| 662 |
+
"slime/chosen_len": 1151.9859375,
|
| 663 |
+
"slime/chosen_logp": -1.140880131906306,
|
| 664 |
+
"slime/chosen_sft_loss": 1.140880131906306,
|
| 665 |
+
"slime/chosen_sft_weighted_loss": 0.02281760216501425,
|
| 666 |
+
"slime/dist_loss": 0.01858289779211191,
|
| 667 |
+
"slime/hard_satisfied": 0.27578125,
|
| 668 |
+
"slime/loss": 1.316708378191106,
|
| 669 |
+
"slime/margin": 0.10129224676784361,
|
| 670 |
+
"slime/rejected_len": 2875.41640625,
|
| 671 |
+
"slime/rejected_logp": -1.242172378001851,
|
| 672 |
+
"slime/rejected_stabilizer": 3.8095590993121733,
|
| 673 |
+
"slime/soft_gate": 0.499989597639069,
|
| 674 |
+
"slime/stabilize_loss": 0.7619118337344843,
|
| 675 |
+
"source_mix/carefully": 0.1625,
|
| 676 |
+
"source_mix/dolci-inst": 0.11640625,
|
| 677 |
+
"source_mix/dolci-think": 0.13984375,
|
| 678 |
+
"source_mix/japanese": 0.14609375,
|
| 679 |
+
"source_mix/math": 0.125,
|
| 680 |
+
"source_mix/nvidia-cascade": 0.2625,
|
| 681 |
+
"source_mix/self-intro": 0.04765625,
|
| 682 |
+
"step": 240
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"epoch": 0.8333333333333334,
|
| 686 |
+
"grad_norm": 17.125,
|
| 687 |
+
"learning_rate": 2e-06,
|
| 688 |
+
"loss": 1.2944,
|
| 689 |
+
"slime/anchor_loss": 0.5040076806962361,
|
| 690 |
+
"slime/chosen_len": 1084.5609375,
|
| 691 |
+
"slime/chosen_logp": -1.1200170961950788,
|
| 692 |
+
"slime/chosen_sft_loss": 1.1200170961950788,
|
| 693 |
+
"slime/chosen_sft_weighted_loss": 0.022400341415534087,
|
| 694 |
+
"slime/dist_loss": 0.017458863519634348,
|
| 695 |
+
"slime/hard_satisfied": 0.3078125,
|
| 696 |
+
"slime/loss": 1.2944442071835511,
|
| 697 |
+
"slime/margin": 0.12628607385559007,
|
| 698 |
+
"slime/rejected_len": 2848.92421875,
|
| 699 |
+
"slime/rejected_logp": -1.2463031702776788,
|
| 700 |
+
"slime/rejected_stabilizer": 3.752886550995754,
|
| 701 |
+
"slime/soft_gate": 0.4990315197966993,
|
| 702 |
+
"slime/stabilize_loss": 0.7505773224926088,
|
| 703 |
+
"source_mix/carefully": 0.171875,
|
| 704 |
+
"source_mix/dolci-inst": 0.1296875,
|
| 705 |
+
"source_mix/dolci-think": 0.13203125,
|
| 706 |
+
"source_mix/japanese": 0.1234375,
|
| 707 |
+
"source_mix/math": 0.13984375,
|
| 708 |
+
"source_mix/nvidia-cascade": 0.2546875,
|
| 709 |
+
"source_mix/self-intro": 0.0484375,
|
| 710 |
+
"step": 250
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"epoch": 0.8666666666666667,
|
| 714 |
+
"grad_norm": 5.59375,
|
| 715 |
+
"learning_rate": 2e-06,
|
| 716 |
+
"loss": 1.286,
|
| 717 |
+
"slime/anchor_loss": 0.4994887421526073,
|
| 718 |
+
"slime/chosen_len": 1101.80625,
|
| 719 |
+
"slime/chosen_logp": -1.109975012994255,
|
| 720 |
+
"slime/chosen_sft_loss": 1.109975012994255,
|
| 721 |
+
"slime/chosen_sft_weighted_loss": 0.02219949978898512,
|
| 722 |
+
"slime/dist_loss": 0.017372727428653433,
|
| 723 |
+
"slime/hard_satisfied": 0.3171875,
|
| 724 |
+
"slime/loss": 1.2859536529314937,
|
| 725 |
+
"slime/margin": 0.1506339466868667,
|
| 726 |
+
"slime/rejected_len": 2640.659375,
|
| 727 |
+
"slime/rejected_logp": -1.2606089603868895,
|
| 728 |
+
"slime/rejected_stabilizer": 3.7344633417378645,
|
| 729 |
+
"slime/soft_gate": 0.4981274274876341,
|
| 730 |
+
"slime/stabilize_loss": 0.7468926805006049,
|
| 731 |
+
"source_mix/carefully": 0.16953125,
|
| 732 |
+
"source_mix/dolci-inst": 0.13359375,
|
| 733 |
+
"source_mix/dolci-think": 0.1171875,
|
| 734 |
+
"source_mix/japanese": 0.13828125,
|
| 735 |
+
"source_mix/math": 0.1375,
|
| 736 |
+
"source_mix/nvidia-cascade": 0.25625,
|
| 737 |
+
"source_mix/self-intro": 0.04765625,
|
| 738 |
+
"step": 260
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"epoch": 0.9,
|
| 742 |
+
"grad_norm": 13.375,
|
| 743 |
+
"learning_rate": 2e-06,
|
| 744 |
+
"loss": 1.272,
|
| 745 |
+
"slime/anchor_loss": 0.507745109476673,
|
| 746 |
+
"slime/chosen_len": 1099.45078125,
|
| 747 |
+
"slime/chosen_logp": -1.128322493477026,
|
| 748 |
+
"slime/chosen_sft_loss": 1.128322493477026,
|
| 749 |
+
"slime/chosen_sft_weighted_loss": 0.022566449361943342,
|
| 750 |
+
"slime/dist_loss": 0.018198056882033596,
|
| 751 |
+
"slime/hard_satisfied": 0.29921875,
|
| 752 |
+
"slime/loss": 1.271971960720839,
|
| 753 |
+
"slime/margin": 0.119626733957557,
|
| 754 |
+
"slime/rejected_len": 2296.753125,
|
| 755 |
+
"slime/rejected_logp": -1.2479492274433142,
|
| 756 |
+
"slime/rejected_stabilizer": 3.6173116623831447,
|
| 757 |
+
"slime/soft_gate": 0.49930259892717005,
|
| 758 |
+
"slime/stabilize_loss": 0.7234623459728027,
|
| 759 |
+
"source_mix/carefully": 0.1953125,
|
| 760 |
+
"source_mix/dolci-inst": 0.11796875,
|
| 761 |
+
"source_mix/dolci-think": 0.140625,
|
| 762 |
+
"source_mix/japanese": 0.11484375,
|
| 763 |
+
"source_mix/math": 0.11484375,
|
| 764 |
+
"source_mix/nvidia-cascade": 0.27109375,
|
| 765 |
+
"source_mix/self-intro": 0.0453125,
|
| 766 |
+
"step": 270
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"epoch": 0.9333333333333333,
|
| 770 |
+
"grad_norm": 5.28125,
|
| 771 |
+
"learning_rate": 1.4e-06,
|
| 772 |
+
"loss": 1.171,
|
| 773 |
+
"slime/anchor_loss": 0.49193251332762883,
|
| 774 |
+
"slime/chosen_len": 1126.953125,
|
| 775 |
+
"slime/chosen_logp": -1.0931833913637092,
|
| 776 |
+
"slime/chosen_sft_loss": 1.0931833913637092,
|
| 777 |
+
"slime/chosen_sft_weighted_loss": 0.021863667332263505,
|
| 778 |
+
"slime/dist_loss": 0.01778693534189415,
|
| 779 |
+
"slime/hard_satisfied": 0.2859375,
|
| 780 |
+
"slime/loss": 1.1709950015967479,
|
| 781 |
+
"slime/margin": 0.10439605545252562,
|
| 782 |
+
"slime/rejected_len": 2512.12578125,
|
| 783 |
+
"slime/rejected_logp": -1.1975794465448417,
|
| 784 |
+
"slime/rejected_stabilizer": 3.197059365507448,
|
| 785 |
+
"slime/soft_gate": 0.4998471271479502,
|
| 786 |
+
"slime/stabilize_loss": 0.6394118847383652,
|
| 787 |
+
"source_mix/carefully": 0.1828125,
|
| 788 |
+
"source_mix/dolci-inst": 0.1234375,
|
| 789 |
+
"source_mix/dolci-think": 0.13671875,
|
| 790 |
+
"source_mix/japanese": 0.12890625,
|
| 791 |
+
"source_mix/math": 0.1078125,
|
| 792 |
+
"source_mix/nvidia-cascade": 0.28359375,
|
| 793 |
+
"source_mix/self-intro": 0.03671875,
|
| 794 |
+
"step": 280
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"epoch": 0.9666666666666667,
|
| 798 |
+
"grad_norm": 5.5,
|
| 799 |
+
"learning_rate": 7.333333333333333e-07,
|
| 800 |
+
"loss": 1.2025,
|
| 801 |
+
"slime/anchor_loss": 0.4982497556033195,
|
| 802 |
+
"slime/chosen_len": 1129.396875,
|
| 803 |
+
"slime/chosen_logp": -1.107221708864381,
|
| 804 |
+
"slime/chosen_sft_loss": 1.107221708864381,
|
| 805 |
+
"slime/chosen_sft_weighted_loss": 0.02214443369007881,
|
| 806 |
+
"slime/dist_loss": 0.018779849886993816,
|
| 807 |
+
"slime/hard_satisfied": 0.27734375,
|
| 808 |
+
"slime/loss": 1.2024542617844418,
|
| 809 |
+
"slime/margin": 0.09719119273649994,
|
| 810 |
+
"slime/rejected_len": 2334.88671875,
|
| 811 |
+
"slime/rejected_logp": -1.2044129011283076,
|
| 812 |
+
"slime/rejected_stabilizer": 3.3164010618638713,
|
| 813 |
+
"slime/soft_gate": 0.5001242151716724,
|
| 814 |
+
"slime/stabilize_loss": 0.6632802235864801,
|
| 815 |
+
"source_mix/carefully": 0.190625,
|
| 816 |
+
"source_mix/dolci-inst": 0.121875,
|
| 817 |
+
"source_mix/dolci-think": 0.146875,
|
| 818 |
+
"source_mix/japanese": 0.13203125,
|
| 819 |
+
"source_mix/math": 0.10859375,
|
| 820 |
+
"source_mix/nvidia-cascade": 0.25625,
|
| 821 |
+
"source_mix/self-intro": 0.04375,
|
| 822 |
+
"step": 290
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"epoch": 1.0,
|
| 826 |
+
"grad_norm": 8.5,
|
| 827 |
+
"learning_rate": 6.666666666666665e-08,
|
| 828 |
+
"loss": 1.1436,
|
| 829 |
+
"slime/anchor_loss": 0.47786887729016597,
|
| 830 |
+
"slime/chosen_len": 1195.4171875,
|
| 831 |
+
"slime/chosen_logp": -1.0619308661553077,
|
| 832 |
+
"slime/chosen_sft_loss": 1.0619308661553077,
|
| 833 |
+
"slime/chosen_sft_weighted_loss": 0.02123861684704025,
|
| 834 |
+
"slime/dist_loss": 0.017122648745903746,
|
| 835 |
+
"slime/hard_satisfied": 0.2875,
|
| 836 |
+
"slime/loss": 1.1436487480183133,
|
| 837 |
+
"slime/margin": 0.12898020184657072,
|
| 838 |
+
"slime/rejected_len": 2849.75625,
|
| 839 |
+
"slime/rejected_logp": -1.19091106805281,
|
| 840 |
+
"slime/rejected_stabilizer": 3.1370929749740752,
|
| 841 |
+
"slime/soft_gate": 0.49892478859983386,
|
| 842 |
+
"slime/stabilize_loss": 0.6274186062939406,
|
| 843 |
+
"source_mix/carefully": 0.1734375,
|
| 844 |
+
"source_mix/dolci-inst": 0.1234375,
|
| 845 |
+
"source_mix/dolci-think": 0.140625,
|
| 846 |
+
"source_mix/japanese": 0.13203125,
|
| 847 |
+
"source_mix/math": 0.1359375,
|
| 848 |
+
"source_mix/nvidia-cascade": 0.2484375,
|
| 849 |
+
"source_mix/self-intro": 0.04609375,
|
| 850 |
+
"step": 300
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"epoch": 1.0,
|
| 854 |
+
"step": 300,
|
| 855 |
+
"total_flos": 0.0,
|
| 856 |
+
"train_loss": 1.6715669790903727,
|
| 857 |
+
"train_runtime": 5088.5246,
|
| 858 |
+
"train_samples_per_second": 7.546,
|
| 859 |
+
"train_steps_per_second": 0.059
|
| 860 |
+
}
|
| 861 |
+
],
|
| 862 |
+
"logging_steps": 10,
|
| 863 |
+
"max_steps": 300,
|
| 864 |
+
"num_input_tokens_seen": 0,
|
| 865 |
+
"num_train_epochs": 9223372036854775807,
|
| 866 |
+
"save_steps": 500,
|
| 867 |
+
"stateful_callbacks": {
|
| 868 |
+
"TrainerControl": {
|
| 869 |
+
"args": {
|
| 870 |
+
"should_epoch_stop": false,
|
| 871 |
+
"should_evaluate": false,
|
| 872 |
+
"should_log": false,
|
| 873 |
+
"should_save": true,
|
| 874 |
+
"should_training_stop": true
|
| 875 |
+
},
|
| 876 |
+
"attributes": {}
|
| 877 |
+
}
|
| 878 |
+
},
|
| 879 |
+
"total_flos": 0.0,
|
| 880 |
+
"train_batch_size": 1,
|
| 881 |
+
"trial_name": null,
|
| 882 |
+
"trial_params": null
|
| 883 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfe37cc67b662ffee297b85bb7a30be0c4b498bb82bc9381e6a0dde81d5b4b84
|
| 3 |
+
size 5969
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|