Upload folder using huggingface_hub
Browse files- checkpoint-2000/added_tokens.json +11 -0
- checkpoint-2000/chat_template.jinja +4 -0
- checkpoint-2000/config.json +188 -0
- checkpoint-2000/global_step2000/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
- checkpoint-2000/global_step2000/mp_rank_00_model_states.pt +3 -0
- checkpoint-2000/latest +1 -0
- checkpoint-2000/model-00001-of-00002.safetensors +3 -0
- checkpoint-2000/model-00002-of-00002.safetensors +3 -0
- checkpoint-2000/model.safetensors.index.json +815 -0
- checkpoint-2000/rng_state.pth +3 -0
- checkpoint-2000/special_tokens_map.json +47 -0
- checkpoint-2000/tokenization_internlm2.py +235 -0
- checkpoint-2000/tokenizer.model +3 -0
- checkpoint-2000/tokenizer_config.json +179 -0
- checkpoint-2000/trainer_state.json +1434 -0
- checkpoint-2000/training_args.bin +3 -0
- checkpoint-2000/zero_to_fp32.py +760 -0
- dataset_stats.json +1 -0
- go1_air_sft_libero.py +107 -0
- log/training_log_nodeIdx000_20251206_1618.txt +0 -0
- runs/Dec06_16-18-34_user-SYS-821GE-TNHR/events.out.tfevents.1765009124.user-SYS-821GE-TNHR.2163381.0 +3 -0
checkpoint-2000/added_tokens.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</box>": 92552,
|
| 3 |
+
"</img>": 92545,
|
| 4 |
+
"</quad>": 92548,
|
| 5 |
+
"</ref>": 92550,
|
| 6 |
+
"<IMG_CONTEXT>": 92546,
|
| 7 |
+
"<box>": 92551,
|
| 8 |
+
"<img>": 92544,
|
| 9 |
+
"<quad>": 92547,
|
| 10 |
+
"<ref>": 92549
|
| 11 |
+
}
|
checkpoint-2000/chat_template.jinja
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}{% for message in messages %}{{'<|im_start|>' + message['role'] + '
|
| 2 |
+
' + message['content'] + '<|im_end|>' + '
|
| 3 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 4 |
+
' }}{% endif %}
|
checkpoint-2000/config.json
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"action_chunk_size": 60,
|
| 3 |
+
"action_config": {
|
| 4 |
+
"_attn_implementation_autoset": true,
|
| 5 |
+
"action_chunk_size": 60,
|
| 6 |
+
"action_dim": 26,
|
| 7 |
+
"architectures": [
|
| 8 |
+
"ActionExpertModel"
|
| 9 |
+
],
|
| 10 |
+
"attn_implementation": "eager",
|
| 11 |
+
"auto_map": {
|
| 12 |
+
"AutoConfig": "configuration_action_expert.ActionExpertConfig",
|
| 13 |
+
"AutoModel": "modeling_action_expert.ActionExpertModel"
|
| 14 |
+
},
|
| 15 |
+
"bias": false,
|
| 16 |
+
"dtype": "bfloat16",
|
| 17 |
+
"head_dim": 64,
|
| 18 |
+
"hidden_act": "silu",
|
| 19 |
+
"hidden_size": 1024,
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"input_hidden_size": 2048,
|
| 22 |
+
"intermediate_size": 4096,
|
| 23 |
+
"max_position_embeddings": 32768,
|
| 24 |
+
"model_type": "action_expert",
|
| 25 |
+
"num_attention_heads": 16,
|
| 26 |
+
"num_hidden_layers": 24,
|
| 27 |
+
"num_key_value_heads": 8,
|
| 28 |
+
"pad_token_id": 2,
|
| 29 |
+
"rms_norm_eps": 1e-05,
|
| 30 |
+
"rope_scaling": {
|
| 31 |
+
"factor": 2.0,
|
| 32 |
+
"type": "dynamic"
|
| 33 |
+
},
|
| 34 |
+
"rope_theta": 1000000,
|
| 35 |
+
"state_dim": 26,
|
| 36 |
+
"state_token_num": 3,
|
| 37 |
+
"use_bfloat16": true,
|
| 38 |
+
"use_cache": true,
|
| 39 |
+
"use_flash_attn": false
|
| 40 |
+
},
|
| 41 |
+
"architectures": [
|
| 42 |
+
"GO1Model"
|
| 43 |
+
],
|
| 44 |
+
"auto_map": {
|
| 45 |
+
"AutoConfig": "configuration_go1.GO1ModelConfig",
|
| 46 |
+
"AutoModel": "modeling_go1.GO1Model",
|
| 47 |
+
"AutoModelForCausalLM": "modeling_internlm2_go1.py.InternLM2ForCausalLMGO1"
|
| 48 |
+
},
|
| 49 |
+
"bos_token_id": 1,
|
| 50 |
+
"downsample_ratio": 0.5,
|
| 51 |
+
"dtype": "bfloat16",
|
| 52 |
+
"dynamic_image_size": false,
|
| 53 |
+
"eos_token_id": 2,
|
| 54 |
+
"flow_matching": {
|
| 55 |
+
"flow_matching_final_weight": 10.0,
|
| 56 |
+
"flow_matching_weight": 1.0,
|
| 57 |
+
"num_steps": 10,
|
| 58 |
+
"rng": 42
|
| 59 |
+
},
|
| 60 |
+
"force_image_size": 448,
|
| 61 |
+
"img_context_token_id": 92546,
|
| 62 |
+
"information_fusion_config": {
|
| 63 |
+
"action_chunk_size": 60,
|
| 64 |
+
"action_dim": 26,
|
| 65 |
+
"attn_implementation": "eager",
|
| 66 |
+
"bias": true,
|
| 67 |
+
"hidden_act": "silu",
|
| 68 |
+
"hidden_size": 2048,
|
| 69 |
+
"initializer_range": 0.02,
|
| 70 |
+
"input_hidden_size": 2048,
|
| 71 |
+
"intermediate_size": 11008,
|
| 72 |
+
"max_position_embeddings": 2048,
|
| 73 |
+
"model_type": "information_fusion",
|
| 74 |
+
"num_attention_heads": 16,
|
| 75 |
+
"num_hidden_layers": 12,
|
| 76 |
+
"num_key_value_heads": 16,
|
| 77 |
+
"rms_norm_eps": 1e-06,
|
| 78 |
+
"rope_scaling": null,
|
| 79 |
+
"rope_theta": 10000,
|
| 80 |
+
"state_dim": 26,
|
| 81 |
+
"use_cache": false
|
| 82 |
+
},
|
| 83 |
+
"initializer_range": 0.02,
|
| 84 |
+
"latent_planner_config": {
|
| 85 |
+
"action_dim": 1,
|
| 86 |
+
"attn_implementation": "eager",
|
| 87 |
+
"bias": false,
|
| 88 |
+
"head_dim": 64,
|
| 89 |
+
"hidden_act": "silu",
|
| 90 |
+
"hidden_size": 1024,
|
| 91 |
+
"initializer_range": 0.02,
|
| 92 |
+
"input_hidden_size": 2048,
|
| 93 |
+
"intermediate_size": 2048,
|
| 94 |
+
"max_position_embeddings": 2048,
|
| 95 |
+
"model_type": "intermidiate_action_expert",
|
| 96 |
+
"num_attention_heads": 16,
|
| 97 |
+
"num_hidden_layers": 24,
|
| 98 |
+
"num_key_value_heads": 8,
|
| 99 |
+
"rms_norm_eps": 1e-06,
|
| 100 |
+
"rope_scaling": null,
|
| 101 |
+
"rope_theta": 10000,
|
| 102 |
+
"state_token_num": 0,
|
| 103 |
+
"use_cache": true,
|
| 104 |
+
"vocab_size": 32
|
| 105 |
+
},
|
| 106 |
+
"latent_planning": false,
|
| 107 |
+
"llm_config": {
|
| 108 |
+
"_attn_implementation_autoset": true,
|
| 109 |
+
"architectures": [
|
| 110 |
+
"InternLM2ForCausalLMGO1"
|
| 111 |
+
],
|
| 112 |
+
"attn_implementation": "flash_attention_2",
|
| 113 |
+
"auto_map": {
|
| 114 |
+
"AutoConfig": "configuration_internlm2.InternLM2Config",
|
| 115 |
+
"AutoModel": "modeling_internlm2_go1.InternLM2ForCausalLMGO1",
|
| 116 |
+
"AutoModelForCausalLM": "modeling_internlm2_go1.py.InternLM2ForCausalLMGO1"
|
| 117 |
+
},
|
| 118 |
+
"bias": false,
|
| 119 |
+
"dtype": "bfloat16",
|
| 120 |
+
"hidden_act": "silu",
|
| 121 |
+
"hidden_size": 2048,
|
| 122 |
+
"initializer_range": 0.02,
|
| 123 |
+
"intermediate_size": 8192,
|
| 124 |
+
"max_position_embeddings": 32768,
|
| 125 |
+
"model_type": "internlm2",
|
| 126 |
+
"num_attention_heads": 16,
|
| 127 |
+
"num_hidden_layers": 24,
|
| 128 |
+
"num_key_value_heads": 8,
|
| 129 |
+
"pad_token_id": 2,
|
| 130 |
+
"rms_norm_eps": 1e-05,
|
| 131 |
+
"rope_scaling": {
|
| 132 |
+
"factor": 2.0,
|
| 133 |
+
"type": "dynamic"
|
| 134 |
+
},
|
| 135 |
+
"rope_theta": 1000000,
|
| 136 |
+
"use_bfloat16": true,
|
| 137 |
+
"use_cache": true,
|
| 138 |
+
"vocab_size": 92553
|
| 139 |
+
},
|
| 140 |
+
"max_dynamic_patch": 6,
|
| 141 |
+
"min_dynamic_patch": 1,
|
| 142 |
+
"model_type": "go1",
|
| 143 |
+
"noise_scheduler_config": {
|
| 144 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 145 |
+
"clip_sample": false,
|
| 146 |
+
"num_inference_timesteps": 5,
|
| 147 |
+
"num_train_timesteps": 1000,
|
| 148 |
+
"prediction_type": "sample"
|
| 149 |
+
},
|
| 150 |
+
"norm": true,
|
| 151 |
+
"output_attentions": false,
|
| 152 |
+
"pad2square": false,
|
| 153 |
+
"pad_token_id": 2,
|
| 154 |
+
"ps_version": "v2",
|
| 155 |
+
"select_layer": -1,
|
| 156 |
+
"template": "internlm2-chat",
|
| 157 |
+
"transformers_version": null,
|
| 158 |
+
"use_backbone_lora": 0,
|
| 159 |
+
"use_llm_lora": 0,
|
| 160 |
+
"use_thumbnail": false,
|
| 161 |
+
"vision_config": {
|
| 162 |
+
"_attn_implementation_autoset": true,
|
| 163 |
+
"architectures": [
|
| 164 |
+
"InternVisionModel"
|
| 165 |
+
],
|
| 166 |
+
"attention_dropout": 0.0,
|
| 167 |
+
"drop_path_rate": 0.1,
|
| 168 |
+
"dropout": 0.0,
|
| 169 |
+
"dtype": "bfloat16",
|
| 170 |
+
"hidden_act": "gelu",
|
| 171 |
+
"hidden_size": 1024,
|
| 172 |
+
"image_size": 448,
|
| 173 |
+
"initializer_factor": 1.0,
|
| 174 |
+
"initializer_range": 0.02,
|
| 175 |
+
"intermediate_size": 4096,
|
| 176 |
+
"layer_norm_eps": 1e-06,
|
| 177 |
+
"model_type": "intern_vit_6b",
|
| 178 |
+
"norm_type": "layer_norm",
|
| 179 |
+
"num_attention_heads": 16,
|
| 180 |
+
"num_channels": 3,
|
| 181 |
+
"num_hidden_layers": 24,
|
| 182 |
+
"patch_size": 14,
|
| 183 |
+
"qk_normalization": false,
|
| 184 |
+
"qkv_bias": true,
|
| 185 |
+
"use_bfloat16": true,
|
| 186 |
+
"use_flash_attn": true
|
| 187 |
+
}
|
| 188 |
+
}
|
checkpoint-2000/global_step2000/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04cba7dfe24666c1dfea6db0de971bc1e91f404fc5f737011e96391566363245
|
| 3 |
+
size 4781852229
|
checkpoint-2000/global_step2000/mp_rank_00_model_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9de2f081ded19b8c6732e6ef3dfcb539d3cdc8eaf9840c8c948901e754a2ec5
|
| 3 |
+
size 5183594955
|
checkpoint-2000/latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step2000
|
checkpoint-2000/model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e6e983bad4b0d8331af4017c1bbffef6a5083ee189a6e8a508900476a55f418
|
| 3 |
+
size 4992571160
|
checkpoint-2000/model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://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+
"weight_map": {
|
| 7 |
+
"action_adaptor.0.bias": "model-00002-of-00002.safetensors",
|
| 8 |
+
"action_adaptor.0.weight": "model-00002-of-00002.safetensors",
|
| 9 |
+
"action_adaptor.2.bias": "model-00002-of-00002.safetensors",
|
| 10 |
+
"action_adaptor.2.weight": "model-00002-of-00002.safetensors",
|
| 11 |
+
"action_adaptor.4.bias": "model-00002-of-00002.safetensors",
|
| 12 |
+
"action_adaptor.4.weight": "model-00002-of-00002.safetensors",
|
| 13 |
+
"action_model.layers.0.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 14 |
+
"action_model.layers.0.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 15 |
+
"action_model.layers.0.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 16 |
+
"action_model.layers.0.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 17 |
+
"action_model.layers.0.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 18 |
+
"action_model.layers.0.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 19 |
+
"action_model.layers.0.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 20 |
+
"action_model.layers.1.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 21 |
+
"action_model.layers.1.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 22 |
+
"action_model.layers.1.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 23 |
+
"action_model.layers.1.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 24 |
+
"action_model.layers.1.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 25 |
+
"action_model.layers.1.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 26 |
+
"action_model.layers.1.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 27 |
+
"action_model.layers.10.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 28 |
+
"action_model.layers.10.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 29 |
+
"action_model.layers.10.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 30 |
+
"action_model.layers.10.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 31 |
+
"action_model.layers.10.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 32 |
+
"action_model.layers.10.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 33 |
+
"action_model.layers.10.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 34 |
+
"action_model.layers.11.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 35 |
+
"action_model.layers.11.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 36 |
+
"action_model.layers.11.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 37 |
+
"action_model.layers.11.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 38 |
+
"action_model.layers.11.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 39 |
+
"action_model.layers.11.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 40 |
+
"action_model.layers.11.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 41 |
+
"action_model.layers.12.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 42 |
+
"action_model.layers.12.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 43 |
+
"action_model.layers.12.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 44 |
+
"action_model.layers.12.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 45 |
+
"action_model.layers.12.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 46 |
+
"action_model.layers.12.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 47 |
+
"action_model.layers.12.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 48 |
+
"action_model.layers.13.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 49 |
+
"action_model.layers.13.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 50 |
+
"action_model.layers.13.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 51 |
+
"action_model.layers.13.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 52 |
+
"action_model.layers.13.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 53 |
+
"action_model.layers.13.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 54 |
+
"action_model.layers.13.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 55 |
+
"action_model.layers.14.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 56 |
+
"action_model.layers.14.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 57 |
+
"action_model.layers.14.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 58 |
+
"action_model.layers.14.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 59 |
+
"action_model.layers.14.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 60 |
+
"action_model.layers.14.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 61 |
+
"action_model.layers.14.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 62 |
+
"action_model.layers.15.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 63 |
+
"action_model.layers.15.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 64 |
+
"action_model.layers.15.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 65 |
+
"action_model.layers.15.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 66 |
+
"action_model.layers.15.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 67 |
+
"action_model.layers.15.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 68 |
+
"action_model.layers.15.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 69 |
+
"action_model.layers.16.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 70 |
+
"action_model.layers.16.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 71 |
+
"action_model.layers.16.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 72 |
+
"action_model.layers.16.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 73 |
+
"action_model.layers.16.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 74 |
+
"action_model.layers.16.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 75 |
+
"action_model.layers.16.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 76 |
+
"action_model.layers.17.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 77 |
+
"action_model.layers.17.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 78 |
+
"action_model.layers.17.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 79 |
+
"action_model.layers.17.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 80 |
+
"action_model.layers.17.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 81 |
+
"action_model.layers.17.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 82 |
+
"action_model.layers.17.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 83 |
+
"action_model.layers.18.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 84 |
+
"action_model.layers.18.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 85 |
+
"action_model.layers.18.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 86 |
+
"action_model.layers.18.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 87 |
+
"action_model.layers.18.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 88 |
+
"action_model.layers.18.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 89 |
+
"action_model.layers.18.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 90 |
+
"action_model.layers.19.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 91 |
+
"action_model.layers.19.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 92 |
+
"action_model.layers.19.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 93 |
+
"action_model.layers.19.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 94 |
+
"action_model.layers.19.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 95 |
+
"action_model.layers.19.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 96 |
+
"action_model.layers.19.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 97 |
+
"action_model.layers.2.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 98 |
+
"action_model.layers.2.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 99 |
+
"action_model.layers.2.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 100 |
+
"action_model.layers.2.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 101 |
+
"action_model.layers.2.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 102 |
+
"action_model.layers.2.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 103 |
+
"action_model.layers.2.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 104 |
+
"action_model.layers.20.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 105 |
+
"action_model.layers.20.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 106 |
+
"action_model.layers.20.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 107 |
+
"action_model.layers.20.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 108 |
+
"action_model.layers.20.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 109 |
+
"action_model.layers.20.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 110 |
+
"action_model.layers.20.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 111 |
+
"action_model.layers.21.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 112 |
+
"action_model.layers.21.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 113 |
+
"action_model.layers.21.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 114 |
+
"action_model.layers.21.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 115 |
+
"action_model.layers.21.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 116 |
+
"action_model.layers.21.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 117 |
+
"action_model.layers.21.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 118 |
+
"action_model.layers.22.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 119 |
+
"action_model.layers.22.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 120 |
+
"action_model.layers.22.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 121 |
+
"action_model.layers.22.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 122 |
+
"action_model.layers.22.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 123 |
+
"action_model.layers.22.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 124 |
+
"action_model.layers.22.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 125 |
+
"action_model.layers.23.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 126 |
+
"action_model.layers.23.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 127 |
+
"action_model.layers.23.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 128 |
+
"action_model.layers.23.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 129 |
+
"action_model.layers.23.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 130 |
+
"action_model.layers.23.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 131 |
+
"action_model.layers.23.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 132 |
+
"action_model.layers.3.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 133 |
+
"action_model.layers.3.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 134 |
+
"action_model.layers.3.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 135 |
+
"action_model.layers.3.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 136 |
+
"action_model.layers.3.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 137 |
+
"action_model.layers.3.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 138 |
+
"action_model.layers.3.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 139 |
+
"action_model.layers.4.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 140 |
+
"action_model.layers.4.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 141 |
+
"action_model.layers.4.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 142 |
+
"action_model.layers.4.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 143 |
+
"action_model.layers.4.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 144 |
+
"action_model.layers.4.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 145 |
+
"action_model.layers.4.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 146 |
+
"action_model.layers.5.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 147 |
+
"action_model.layers.5.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 148 |
+
"action_model.layers.5.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 149 |
+
"action_model.layers.5.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 150 |
+
"action_model.layers.5.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 151 |
+
"action_model.layers.5.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 152 |
+
"action_model.layers.5.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 153 |
+
"action_model.layers.6.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 154 |
+
"action_model.layers.6.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 155 |
+
"action_model.layers.6.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 156 |
+
"action_model.layers.6.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 157 |
+
"action_model.layers.6.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 158 |
+
"action_model.layers.6.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 159 |
+
"action_model.layers.6.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 160 |
+
"action_model.layers.7.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 161 |
+
"action_model.layers.7.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 162 |
+
"action_model.layers.7.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 163 |
+
"action_model.layers.7.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 164 |
+
"action_model.layers.7.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 165 |
+
"action_model.layers.7.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 166 |
+
"action_model.layers.7.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 167 |
+
"action_model.layers.8.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 168 |
+
"action_model.layers.8.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 169 |
+
"action_model.layers.8.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 170 |
+
"action_model.layers.8.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 171 |
+
"action_model.layers.8.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 172 |
+
"action_model.layers.8.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 173 |
+
"action_model.layers.8.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 174 |
+
"action_model.layers.9.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 175 |
+
"action_model.layers.9.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 176 |
+
"action_model.layers.9.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 177 |
+
"action_model.layers.9.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 178 |
+
"action_model.layers.9.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 179 |
+
"action_model.layers.9.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 180 |
+
"action_model.layers.9.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 181 |
+
"action_model.norm.weight": "model-00002-of-00002.safetensors",
|
| 182 |
+
"final_layer.ffn_final.fc1.bias": "model-00002-of-00002.safetensors",
|
| 183 |
+
"final_layer.ffn_final.fc1.weight": "model-00002-of-00002.safetensors",
|
| 184 |
+
"final_layer.ffn_final.fc2.bias": "model-00002-of-00002.safetensors",
|
| 185 |
+
"final_layer.ffn_final.fc2.weight": "model-00002-of-00002.safetensors",
|
| 186 |
+
"final_layer.norm_final.weight": "model-00002-of-00002.safetensors",
|
| 187 |
+
"freq_embedder.mlp.0.bias": "model-00002-of-00002.safetensors",
|
| 188 |
+
"freq_embedder.mlp.0.weight": "model-00002-of-00002.safetensors",
|
| 189 |
+
"freq_embedder.mlp.2.bias": "model-00002-of-00002.safetensors",
|
| 190 |
+
"freq_embedder.mlp.2.weight": "model-00002-of-00002.safetensors",
|
| 191 |
+
"k_proj_layers.0.bias": "model-00002-of-00002.safetensors",
|
| 192 |
+
"k_proj_layers.0.weight": "model-00002-of-00002.safetensors",
|
| 193 |
+
"k_proj_layers.1.bias": "model-00002-of-00002.safetensors",
|
| 194 |
+
"k_proj_layers.1.weight": "model-00002-of-00002.safetensors",
|
| 195 |
+
"k_proj_layers.10.bias": "model-00002-of-00002.safetensors",
|
| 196 |
+
"k_proj_layers.10.weight": "model-00002-of-00002.safetensors",
|
| 197 |
+
"k_proj_layers.11.bias": "model-00002-of-00002.safetensors",
|
| 198 |
+
"k_proj_layers.11.weight": "model-00002-of-00002.safetensors",
|
| 199 |
+
"k_proj_layers.12.bias": "model-00002-of-00002.safetensors",
|
| 200 |
+
"k_proj_layers.12.weight": "model-00002-of-00002.safetensors",
|
| 201 |
+
"k_proj_layers.13.bias": "model-00002-of-00002.safetensors",
|
| 202 |
+
"k_proj_layers.13.weight": "model-00002-of-00002.safetensors",
|
| 203 |
+
"k_proj_layers.14.bias": "model-00002-of-00002.safetensors",
|
| 204 |
+
"k_proj_layers.14.weight": "model-00002-of-00002.safetensors",
|
| 205 |
+
"k_proj_layers.15.bias": "model-00002-of-00002.safetensors",
|
| 206 |
+
"k_proj_layers.15.weight": "model-00002-of-00002.safetensors",
|
| 207 |
+
"k_proj_layers.16.bias": "model-00002-of-00002.safetensors",
|
| 208 |
+
"k_proj_layers.16.weight": "model-00002-of-00002.safetensors",
|
| 209 |
+
"k_proj_layers.17.bias": "model-00002-of-00002.safetensors",
|
| 210 |
+
"k_proj_layers.17.weight": "model-00002-of-00002.safetensors",
|
| 211 |
+
"k_proj_layers.18.bias": "model-00002-of-00002.safetensors",
|
| 212 |
+
"k_proj_layers.18.weight": "model-00002-of-00002.safetensors",
|
| 213 |
+
"k_proj_layers.19.bias": "model-00002-of-00002.safetensors",
|
| 214 |
+
"k_proj_layers.19.weight": "model-00002-of-00002.safetensors",
|
| 215 |
+
"k_proj_layers.2.bias": "model-00002-of-00002.safetensors",
|
| 216 |
+
"k_proj_layers.2.weight": "model-00002-of-00002.safetensors",
|
| 217 |
+
"k_proj_layers.20.bias": "model-00002-of-00002.safetensors",
|
| 218 |
+
"k_proj_layers.20.weight": "model-00002-of-00002.safetensors",
|
| 219 |
+
"k_proj_layers.21.bias": "model-00002-of-00002.safetensors",
|
| 220 |
+
"k_proj_layers.21.weight": "model-00002-of-00002.safetensors",
|
| 221 |
+
"k_proj_layers.22.bias": "model-00002-of-00002.safetensors",
|
| 222 |
+
"k_proj_layers.22.weight": "model-00002-of-00002.safetensors",
|
| 223 |
+
"k_proj_layers.23.bias": "model-00002-of-00002.safetensors",
|
| 224 |
+
"k_proj_layers.23.weight": "model-00002-of-00002.safetensors",
|
| 225 |
+
"k_proj_layers.3.bias": "model-00002-of-00002.safetensors",
|
| 226 |
+
"k_proj_layers.3.weight": "model-00002-of-00002.safetensors",
|
| 227 |
+
"k_proj_layers.4.bias": "model-00002-of-00002.safetensors",
|
| 228 |
+
"k_proj_layers.4.weight": "model-00002-of-00002.safetensors",
|
| 229 |
+
"k_proj_layers.5.bias": "model-00002-of-00002.safetensors",
|
| 230 |
+
"k_proj_layers.5.weight": "model-00002-of-00002.safetensors",
|
| 231 |
+
"k_proj_layers.6.bias": "model-00002-of-00002.safetensors",
|
| 232 |
+
"k_proj_layers.6.weight": "model-00002-of-00002.safetensors",
|
| 233 |
+
"k_proj_layers.7.bias": "model-00002-of-00002.safetensors",
|
| 234 |
+
"k_proj_layers.7.weight": "model-00002-of-00002.safetensors",
|
| 235 |
+
"k_proj_layers.8.bias": "model-00002-of-00002.safetensors",
|
| 236 |
+
"k_proj_layers.8.weight": "model-00002-of-00002.safetensors",
|
| 237 |
+
"k_proj_layers.9.bias": "model-00002-of-00002.safetensors",
|
| 238 |
+
"k_proj_layers.9.weight": "model-00002-of-00002.safetensors",
|
| 239 |
+
"language_model.model.layers.0.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 240 |
+
"language_model.model.layers.0.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 241 |
+
"language_model.model.layers.0.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 242 |
+
"language_model.model.layers.0.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 243 |
+
"language_model.model.layers.0.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 244 |
+
"language_model.model.layers.0.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 245 |
+
"language_model.model.layers.0.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 246 |
+
"language_model.model.layers.1.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 247 |
+
"language_model.model.layers.1.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 248 |
+
"language_model.model.layers.1.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 249 |
+
"language_model.model.layers.1.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 250 |
+
"language_model.model.layers.1.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 251 |
+
"language_model.model.layers.1.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 252 |
+
"language_model.model.layers.1.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 253 |
+
"language_model.model.layers.10.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 254 |
+
"language_model.model.layers.10.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 255 |
+
"language_model.model.layers.10.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 256 |
+
"language_model.model.layers.10.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 257 |
+
"language_model.model.layers.10.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 258 |
+
"language_model.model.layers.10.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 259 |
+
"language_model.model.layers.10.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 260 |
+
"language_model.model.layers.11.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 261 |
+
"language_model.model.layers.11.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 262 |
+
"language_model.model.layers.11.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 263 |
+
"language_model.model.layers.11.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 264 |
+
"language_model.model.layers.11.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 265 |
+
"language_model.model.layers.11.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 266 |
+
"language_model.model.layers.11.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 267 |
+
"language_model.model.layers.12.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 268 |
+
"language_model.model.layers.12.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 269 |
+
"language_model.model.layers.12.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 270 |
+
"language_model.model.layers.12.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 271 |
+
"language_model.model.layers.12.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 272 |
+
"language_model.model.layers.12.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 273 |
+
"language_model.model.layers.12.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 274 |
+
"language_model.model.layers.13.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 275 |
+
"language_model.model.layers.13.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 276 |
+
"language_model.model.layers.13.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 277 |
+
"language_model.model.layers.13.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 278 |
+
"language_model.model.layers.13.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 279 |
+
"language_model.model.layers.13.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 280 |
+
"language_model.model.layers.13.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 281 |
+
"language_model.model.layers.14.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 282 |
+
"language_model.model.layers.14.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 283 |
+
"language_model.model.layers.14.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 284 |
+
"language_model.model.layers.14.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 285 |
+
"language_model.model.layers.14.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 286 |
+
"language_model.model.layers.14.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 287 |
+
"language_model.model.layers.14.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 288 |
+
"language_model.model.layers.15.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 289 |
+
"language_model.model.layers.15.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 290 |
+
"language_model.model.layers.15.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 291 |
+
"language_model.model.layers.15.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 292 |
+
"language_model.model.layers.15.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 293 |
+
"language_model.model.layers.15.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 294 |
+
"language_model.model.layers.15.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 295 |
+
"language_model.model.layers.16.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 296 |
+
"language_model.model.layers.16.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 297 |
+
"language_model.model.layers.16.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 298 |
+
"language_model.model.layers.16.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 299 |
+
"language_model.model.layers.16.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 300 |
+
"language_model.model.layers.16.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 301 |
+
"language_model.model.layers.16.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 302 |
+
"language_model.model.layers.17.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 303 |
+
"language_model.model.layers.17.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 304 |
+
"language_model.model.layers.17.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 305 |
+
"language_model.model.layers.17.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 306 |
+
"language_model.model.layers.17.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 307 |
+
"language_model.model.layers.17.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 308 |
+
"language_model.model.layers.17.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 309 |
+
"language_model.model.layers.18.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 310 |
+
"language_model.model.layers.18.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 311 |
+
"language_model.model.layers.18.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 312 |
+
"language_model.model.layers.18.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 313 |
+
"language_model.model.layers.18.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 314 |
+
"language_model.model.layers.18.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 315 |
+
"language_model.model.layers.18.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 316 |
+
"language_model.model.layers.19.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 317 |
+
"language_model.model.layers.19.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 318 |
+
"language_model.model.layers.19.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 319 |
+
"language_model.model.layers.19.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 320 |
+
"language_model.model.layers.19.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 321 |
+
"language_model.model.layers.19.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 322 |
+
"language_model.model.layers.19.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 323 |
+
"language_model.model.layers.2.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 324 |
+
"language_model.model.layers.2.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 325 |
+
"language_model.model.layers.2.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 326 |
+
"language_model.model.layers.2.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 327 |
+
"language_model.model.layers.2.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 328 |
+
"language_model.model.layers.2.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 329 |
+
"language_model.model.layers.2.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 330 |
+
"language_model.model.layers.20.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 331 |
+
"language_model.model.layers.20.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 332 |
+
"language_model.model.layers.20.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 333 |
+
"language_model.model.layers.20.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 334 |
+
"language_model.model.layers.20.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 335 |
+
"language_model.model.layers.20.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 336 |
+
"language_model.model.layers.20.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 337 |
+
"language_model.model.layers.21.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 338 |
+
"language_model.model.layers.21.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 339 |
+
"language_model.model.layers.21.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 340 |
+
"language_model.model.layers.21.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 341 |
+
"language_model.model.layers.21.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 342 |
+
"language_model.model.layers.21.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 343 |
+
"language_model.model.layers.21.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 344 |
+
"language_model.model.layers.22.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 345 |
+
"language_model.model.layers.22.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 346 |
+
"language_model.model.layers.22.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 347 |
+
"language_model.model.layers.22.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 348 |
+
"language_model.model.layers.22.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 349 |
+
"language_model.model.layers.22.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 350 |
+
"language_model.model.layers.22.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 351 |
+
"language_model.model.layers.23.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 352 |
+
"language_model.model.layers.23.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 353 |
+
"language_model.model.layers.23.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 354 |
+
"language_model.model.layers.23.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 355 |
+
"language_model.model.layers.23.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 356 |
+
"language_model.model.layers.23.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 357 |
+
"language_model.model.layers.23.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 358 |
+
"language_model.model.layers.3.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 359 |
+
"language_model.model.layers.3.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 360 |
+
"language_model.model.layers.3.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 361 |
+
"language_model.model.layers.3.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 362 |
+
"language_model.model.layers.3.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 363 |
+
"language_model.model.layers.3.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 364 |
+
"language_model.model.layers.3.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 365 |
+
"language_model.model.layers.4.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 366 |
+
"language_model.model.layers.4.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 367 |
+
"language_model.model.layers.4.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 368 |
+
"language_model.model.layers.4.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 369 |
+
"language_model.model.layers.4.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 370 |
+
"language_model.model.layers.4.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 371 |
+
"language_model.model.layers.4.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 372 |
+
"language_model.model.layers.5.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 373 |
+
"language_model.model.layers.5.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 374 |
+
"language_model.model.layers.5.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 375 |
+
"language_model.model.layers.5.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 376 |
+
"language_model.model.layers.5.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 377 |
+
"language_model.model.layers.5.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 378 |
+
"language_model.model.layers.5.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 379 |
+
"language_model.model.layers.6.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 380 |
+
"language_model.model.layers.6.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 381 |
+
"language_model.model.layers.6.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 382 |
+
"language_model.model.layers.6.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 383 |
+
"language_model.model.layers.6.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 384 |
+
"language_model.model.layers.6.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 385 |
+
"language_model.model.layers.6.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 386 |
+
"language_model.model.layers.7.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 387 |
+
"language_model.model.layers.7.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 388 |
+
"language_model.model.layers.7.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 389 |
+
"language_model.model.layers.7.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 390 |
+
"language_model.model.layers.7.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 391 |
+
"language_model.model.layers.7.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 392 |
+
"language_model.model.layers.7.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 393 |
+
"language_model.model.layers.8.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 394 |
+
"language_model.model.layers.8.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 395 |
+
"language_model.model.layers.8.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 396 |
+
"language_model.model.layers.8.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 397 |
+
"language_model.model.layers.8.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 398 |
+
"language_model.model.layers.8.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 399 |
+
"language_model.model.layers.8.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 400 |
+
"language_model.model.layers.9.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 401 |
+
"language_model.model.layers.9.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 402 |
+
"language_model.model.layers.9.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 403 |
+
"language_model.model.layers.9.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 404 |
+
"language_model.model.layers.9.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 405 |
+
"language_model.model.layers.9.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 406 |
+
"language_model.model.layers.9.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 407 |
+
"language_model.model.norm.weight": "model-00001-of-00002.safetensors",
|
| 408 |
+
"language_model.model.tok_embeddings.weight": "model-00001-of-00002.safetensors",
|
| 409 |
+
"language_model.output.weight": "model-00001-of-00002.safetensors",
|
| 410 |
+
"mlp1.0.bias": "model-00001-of-00002.safetensors",
|
| 411 |
+
"mlp1.0.weight": "model-00001-of-00002.safetensors",
|
| 412 |
+
"mlp1.1.bias": "model-00001-of-00002.safetensors",
|
| 413 |
+
"mlp1.1.weight": "model-00001-of-00002.safetensors",
|
| 414 |
+
"mlp1.3.bias": "model-00001-of-00002.safetensors",
|
| 415 |
+
"mlp1.3.weight": "model-00001-of-00002.safetensors",
|
| 416 |
+
"state_adaptor.0.bias": "model-00002-of-00002.safetensors",
|
| 417 |
+
"state_adaptor.0.weight": "model-00002-of-00002.safetensors",
|
| 418 |
+
"state_adaptor.2.bias": "model-00002-of-00002.safetensors",
|
| 419 |
+
"state_adaptor.2.weight": "model-00002-of-00002.safetensors",
|
| 420 |
+
"state_adaptor.4.bias": "model-00002-of-00002.safetensors",
|
| 421 |
+
"state_adaptor.4.weight": "model-00002-of-00002.safetensors",
|
| 422 |
+
"time_embedder.mlp.0.bias": "model-00002-of-00002.safetensors",
|
| 423 |
+
"time_embedder.mlp.0.weight": "model-00002-of-00002.safetensors",
|
| 424 |
+
"time_embedder.mlp.2.bias": "model-00002-of-00002.safetensors",
|
| 425 |
+
"time_embedder.mlp.2.weight": "model-00002-of-00002.safetensors",
|
| 426 |
+
"v_proj_layers.0.bias": "model-00002-of-00002.safetensors",
|
| 427 |
+
"v_proj_layers.0.weight": "model-00002-of-00002.safetensors",
|
| 428 |
+
"v_proj_layers.1.bias": "model-00002-of-00002.safetensors",
|
| 429 |
+
"v_proj_layers.1.weight": "model-00002-of-00002.safetensors",
|
| 430 |
+
"v_proj_layers.10.bias": "model-00002-of-00002.safetensors",
|
| 431 |
+
"v_proj_layers.10.weight": "model-00002-of-00002.safetensors",
|
| 432 |
+
"v_proj_layers.11.bias": "model-00002-of-00002.safetensors",
|
| 433 |
+
"v_proj_layers.11.weight": "model-00002-of-00002.safetensors",
|
| 434 |
+
"v_proj_layers.12.bias": "model-00002-of-00002.safetensors",
|
| 435 |
+
"v_proj_layers.12.weight": "model-00002-of-00002.safetensors",
|
| 436 |
+
"v_proj_layers.13.bias": "model-00002-of-00002.safetensors",
|
| 437 |
+
"v_proj_layers.13.weight": "model-00002-of-00002.safetensors",
|
| 438 |
+
"v_proj_layers.14.bias": "model-00002-of-00002.safetensors",
|
| 439 |
+
"v_proj_layers.14.weight": "model-00002-of-00002.safetensors",
|
| 440 |
+
"v_proj_layers.15.bias": "model-00002-of-00002.safetensors",
|
| 441 |
+
"v_proj_layers.15.weight": "model-00002-of-00002.safetensors",
|
| 442 |
+
"v_proj_layers.16.bias": "model-00002-of-00002.safetensors",
|
| 443 |
+
"v_proj_layers.16.weight": "model-00002-of-00002.safetensors",
|
| 444 |
+
"v_proj_layers.17.bias": "model-00002-of-00002.safetensors",
|
| 445 |
+
"v_proj_layers.17.weight": "model-00002-of-00002.safetensors",
|
| 446 |
+
"v_proj_layers.18.bias": "model-00002-of-00002.safetensors",
|
| 447 |
+
"v_proj_layers.18.weight": "model-00002-of-00002.safetensors",
|
| 448 |
+
"v_proj_layers.19.bias": "model-00002-of-00002.safetensors",
|
| 449 |
+
"v_proj_layers.19.weight": "model-00002-of-00002.safetensors",
|
| 450 |
+
"v_proj_layers.2.bias": "model-00002-of-00002.safetensors",
|
| 451 |
+
"v_proj_layers.2.weight": "model-00002-of-00002.safetensors",
|
| 452 |
+
"v_proj_layers.20.bias": "model-00002-of-00002.safetensors",
|
| 453 |
+
"v_proj_layers.20.weight": "model-00002-of-00002.safetensors",
|
| 454 |
+
"v_proj_layers.21.bias": "model-00002-of-00002.safetensors",
|
| 455 |
+
"v_proj_layers.21.weight": "model-00002-of-00002.safetensors",
|
| 456 |
+
"v_proj_layers.22.bias": "model-00002-of-00002.safetensors",
|
| 457 |
+
"v_proj_layers.22.weight": "model-00002-of-00002.safetensors",
|
| 458 |
+
"v_proj_layers.23.bias": "model-00002-of-00002.safetensors",
|
| 459 |
+
"v_proj_layers.23.weight": "model-00002-of-00002.safetensors",
|
| 460 |
+
"v_proj_layers.3.bias": "model-00002-of-00002.safetensors",
|
| 461 |
+
"v_proj_layers.3.weight": "model-00002-of-00002.safetensors",
|
| 462 |
+
"v_proj_layers.4.bias": "model-00002-of-00002.safetensors",
|
| 463 |
+
"v_proj_layers.4.weight": "model-00002-of-00002.safetensors",
|
| 464 |
+
"v_proj_layers.5.bias": "model-00002-of-00002.safetensors",
|
| 465 |
+
"v_proj_layers.5.weight": "model-00002-of-00002.safetensors",
|
| 466 |
+
"v_proj_layers.6.bias": "model-00002-of-00002.safetensors",
|
| 467 |
+
"v_proj_layers.6.weight": "model-00002-of-00002.safetensors",
|
| 468 |
+
"v_proj_layers.7.bias": "model-00002-of-00002.safetensors",
|
| 469 |
+
"v_proj_layers.7.weight": "model-00002-of-00002.safetensors",
|
| 470 |
+
"v_proj_layers.8.bias": "model-00002-of-00002.safetensors",
|
| 471 |
+
"v_proj_layers.8.weight": "model-00002-of-00002.safetensors",
|
| 472 |
+
"v_proj_layers.9.bias": "model-00002-of-00002.safetensors",
|
| 473 |
+
"v_proj_layers.9.weight": "model-00002-of-00002.safetensors",
|
| 474 |
+
"vision_model.embeddings.class_embedding": "model-00001-of-00002.safetensors",
|
| 475 |
+
"vision_model.embeddings.patch_embedding.bias": "model-00001-of-00002.safetensors",
|
| 476 |
+
"vision_model.embeddings.patch_embedding.weight": "model-00001-of-00002.safetensors",
|
| 477 |
+
"vision_model.embeddings.position_embedding": "model-00001-of-00002.safetensors",
|
| 478 |
+
"vision_model.encoder.layers.0.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 479 |
+
"vision_model.encoder.layers.0.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 480 |
+
"vision_model.encoder.layers.0.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 481 |
+
"vision_model.encoder.layers.0.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 482 |
+
"vision_model.encoder.layers.0.ls1": "model-00001-of-00002.safetensors",
|
| 483 |
+
"vision_model.encoder.layers.0.ls2": "model-00001-of-00002.safetensors",
|
| 484 |
+
"vision_model.encoder.layers.0.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 485 |
+
"vision_model.encoder.layers.0.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 486 |
+
"vision_model.encoder.layers.0.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 487 |
+
"vision_model.encoder.layers.0.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 488 |
+
"vision_model.encoder.layers.0.norm1.bias": "model-00001-of-00002.safetensors",
|
| 489 |
+
"vision_model.encoder.layers.0.norm1.weight": "model-00001-of-00002.safetensors",
|
| 490 |
+
"vision_model.encoder.layers.0.norm2.bias": "model-00001-of-00002.safetensors",
|
| 491 |
+
"vision_model.encoder.layers.0.norm2.weight": "model-00001-of-00002.safetensors",
|
| 492 |
+
"vision_model.encoder.layers.1.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 493 |
+
"vision_model.encoder.layers.1.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 494 |
+
"vision_model.encoder.layers.1.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 495 |
+
"vision_model.encoder.layers.1.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 496 |
+
"vision_model.encoder.layers.1.ls1": "model-00001-of-00002.safetensors",
|
| 497 |
+
"vision_model.encoder.layers.1.ls2": "model-00001-of-00002.safetensors",
|
| 498 |
+
"vision_model.encoder.layers.1.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 499 |
+
"vision_model.encoder.layers.1.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 500 |
+
"vision_model.encoder.layers.1.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 501 |
+
"vision_model.encoder.layers.1.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 502 |
+
"vision_model.encoder.layers.1.norm1.bias": "model-00001-of-00002.safetensors",
|
| 503 |
+
"vision_model.encoder.layers.1.norm1.weight": "model-00001-of-00002.safetensors",
|
| 504 |
+
"vision_model.encoder.layers.1.norm2.bias": "model-00001-of-00002.safetensors",
|
| 505 |
+
"vision_model.encoder.layers.1.norm2.weight": "model-00001-of-00002.safetensors",
|
| 506 |
+
"vision_model.encoder.layers.10.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 507 |
+
"vision_model.encoder.layers.10.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 508 |
+
"vision_model.encoder.layers.10.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 509 |
+
"vision_model.encoder.layers.10.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 510 |
+
"vision_model.encoder.layers.10.ls1": "model-00001-of-00002.safetensors",
|
| 511 |
+
"vision_model.encoder.layers.10.ls2": "model-00001-of-00002.safetensors",
|
| 512 |
+
"vision_model.encoder.layers.10.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 513 |
+
"vision_model.encoder.layers.10.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 514 |
+
"vision_model.encoder.layers.10.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 515 |
+
"vision_model.encoder.layers.10.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 516 |
+
"vision_model.encoder.layers.10.norm1.bias": "model-00001-of-00002.safetensors",
|
| 517 |
+
"vision_model.encoder.layers.10.norm1.weight": "model-00001-of-00002.safetensors",
|
| 518 |
+
"vision_model.encoder.layers.10.norm2.bias": "model-00001-of-00002.safetensors",
|
| 519 |
+
"vision_model.encoder.layers.10.norm2.weight": "model-00001-of-00002.safetensors",
|
| 520 |
+
"vision_model.encoder.layers.11.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 521 |
+
"vision_model.encoder.layers.11.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 522 |
+
"vision_model.encoder.layers.11.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 523 |
+
"vision_model.encoder.layers.11.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 524 |
+
"vision_model.encoder.layers.11.ls1": "model-00001-of-00002.safetensors",
|
| 525 |
+
"vision_model.encoder.layers.11.ls2": "model-00001-of-00002.safetensors",
|
| 526 |
+
"vision_model.encoder.layers.11.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 527 |
+
"vision_model.encoder.layers.11.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 528 |
+
"vision_model.encoder.layers.11.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 529 |
+
"vision_model.encoder.layers.11.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 530 |
+
"vision_model.encoder.layers.11.norm1.bias": "model-00001-of-00002.safetensors",
|
| 531 |
+
"vision_model.encoder.layers.11.norm1.weight": "model-00001-of-00002.safetensors",
|
| 532 |
+
"vision_model.encoder.layers.11.norm2.bias": "model-00001-of-00002.safetensors",
|
| 533 |
+
"vision_model.encoder.layers.11.norm2.weight": "model-00001-of-00002.safetensors",
|
| 534 |
+
"vision_model.encoder.layers.12.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 535 |
+
"vision_model.encoder.layers.12.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 536 |
+
"vision_model.encoder.layers.12.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 537 |
+
"vision_model.encoder.layers.12.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 538 |
+
"vision_model.encoder.layers.12.ls1": "model-00001-of-00002.safetensors",
|
| 539 |
+
"vision_model.encoder.layers.12.ls2": "model-00001-of-00002.safetensors",
|
| 540 |
+
"vision_model.encoder.layers.12.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 541 |
+
"vision_model.encoder.layers.12.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 542 |
+
"vision_model.encoder.layers.12.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 543 |
+
"vision_model.encoder.layers.12.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 544 |
+
"vision_model.encoder.layers.12.norm1.bias": "model-00001-of-00002.safetensors",
|
| 545 |
+
"vision_model.encoder.layers.12.norm1.weight": "model-00001-of-00002.safetensors",
|
| 546 |
+
"vision_model.encoder.layers.12.norm2.bias": "model-00001-of-00002.safetensors",
|
| 547 |
+
"vision_model.encoder.layers.12.norm2.weight": "model-00001-of-00002.safetensors",
|
| 548 |
+
"vision_model.encoder.layers.13.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 549 |
+
"vision_model.encoder.layers.13.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 550 |
+
"vision_model.encoder.layers.13.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 551 |
+
"vision_model.encoder.layers.13.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 552 |
+
"vision_model.encoder.layers.13.ls1": "model-00001-of-00002.safetensors",
|
| 553 |
+
"vision_model.encoder.layers.13.ls2": "model-00001-of-00002.safetensors",
|
| 554 |
+
"vision_model.encoder.layers.13.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 555 |
+
"vision_model.encoder.layers.13.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 556 |
+
"vision_model.encoder.layers.13.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 557 |
+
"vision_model.encoder.layers.13.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 558 |
+
"vision_model.encoder.layers.13.norm1.bias": "model-00001-of-00002.safetensors",
|
| 559 |
+
"vision_model.encoder.layers.13.norm1.weight": "model-00001-of-00002.safetensors",
|
| 560 |
+
"vision_model.encoder.layers.13.norm2.bias": "model-00001-of-00002.safetensors",
|
| 561 |
+
"vision_model.encoder.layers.13.norm2.weight": "model-00001-of-00002.safetensors",
|
| 562 |
+
"vision_model.encoder.layers.14.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 563 |
+
"vision_model.encoder.layers.14.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 564 |
+
"vision_model.encoder.layers.14.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 565 |
+
"vision_model.encoder.layers.14.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 566 |
+
"vision_model.encoder.layers.14.ls1": "model-00001-of-00002.safetensors",
|
| 567 |
+
"vision_model.encoder.layers.14.ls2": "model-00001-of-00002.safetensors",
|
| 568 |
+
"vision_model.encoder.layers.14.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 569 |
+
"vision_model.encoder.layers.14.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 570 |
+
"vision_model.encoder.layers.14.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 571 |
+
"vision_model.encoder.layers.14.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 572 |
+
"vision_model.encoder.layers.14.norm1.bias": "model-00001-of-00002.safetensors",
|
| 573 |
+
"vision_model.encoder.layers.14.norm1.weight": "model-00001-of-00002.safetensors",
|
| 574 |
+
"vision_model.encoder.layers.14.norm2.bias": "model-00001-of-00002.safetensors",
|
| 575 |
+
"vision_model.encoder.layers.14.norm2.weight": "model-00001-of-00002.safetensors",
|
| 576 |
+
"vision_model.encoder.layers.15.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 577 |
+
"vision_model.encoder.layers.15.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 578 |
+
"vision_model.encoder.layers.15.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 579 |
+
"vision_model.encoder.layers.15.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 580 |
+
"vision_model.encoder.layers.15.ls1": "model-00001-of-00002.safetensors",
|
| 581 |
+
"vision_model.encoder.layers.15.ls2": "model-00001-of-00002.safetensors",
|
| 582 |
+
"vision_model.encoder.layers.15.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 583 |
+
"vision_model.encoder.layers.15.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 584 |
+
"vision_model.encoder.layers.15.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 585 |
+
"vision_model.encoder.layers.15.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 586 |
+
"vision_model.encoder.layers.15.norm1.bias": "model-00001-of-00002.safetensors",
|
| 587 |
+
"vision_model.encoder.layers.15.norm1.weight": "model-00001-of-00002.safetensors",
|
| 588 |
+
"vision_model.encoder.layers.15.norm2.bias": "model-00001-of-00002.safetensors",
|
| 589 |
+
"vision_model.encoder.layers.15.norm2.weight": "model-00001-of-00002.safetensors",
|
| 590 |
+
"vision_model.encoder.layers.16.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 591 |
+
"vision_model.encoder.layers.16.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 592 |
+
"vision_model.encoder.layers.16.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 593 |
+
"vision_model.encoder.layers.16.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 594 |
+
"vision_model.encoder.layers.16.ls1": "model-00001-of-00002.safetensors",
|
| 595 |
+
"vision_model.encoder.layers.16.ls2": "model-00001-of-00002.safetensors",
|
| 596 |
+
"vision_model.encoder.layers.16.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 597 |
+
"vision_model.encoder.layers.16.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 598 |
+
"vision_model.encoder.layers.16.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 599 |
+
"vision_model.encoder.layers.16.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 600 |
+
"vision_model.encoder.layers.16.norm1.bias": "model-00001-of-00002.safetensors",
|
| 601 |
+
"vision_model.encoder.layers.16.norm1.weight": "model-00001-of-00002.safetensors",
|
| 602 |
+
"vision_model.encoder.layers.16.norm2.bias": "model-00001-of-00002.safetensors",
|
| 603 |
+
"vision_model.encoder.layers.16.norm2.weight": "model-00001-of-00002.safetensors",
|
| 604 |
+
"vision_model.encoder.layers.17.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 605 |
+
"vision_model.encoder.layers.17.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 606 |
+
"vision_model.encoder.layers.17.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 607 |
+
"vision_model.encoder.layers.17.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 608 |
+
"vision_model.encoder.layers.17.ls1": "model-00001-of-00002.safetensors",
|
| 609 |
+
"vision_model.encoder.layers.17.ls2": "model-00001-of-00002.safetensors",
|
| 610 |
+
"vision_model.encoder.layers.17.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 611 |
+
"vision_model.encoder.layers.17.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 612 |
+
"vision_model.encoder.layers.17.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 613 |
+
"vision_model.encoder.layers.17.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 614 |
+
"vision_model.encoder.layers.17.norm1.bias": "model-00001-of-00002.safetensors",
|
| 615 |
+
"vision_model.encoder.layers.17.norm1.weight": "model-00001-of-00002.safetensors",
|
| 616 |
+
"vision_model.encoder.layers.17.norm2.bias": "model-00001-of-00002.safetensors",
|
| 617 |
+
"vision_model.encoder.layers.17.norm2.weight": "model-00001-of-00002.safetensors",
|
| 618 |
+
"vision_model.encoder.layers.18.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 619 |
+
"vision_model.encoder.layers.18.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 620 |
+
"vision_model.encoder.layers.18.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 621 |
+
"vision_model.encoder.layers.18.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 622 |
+
"vision_model.encoder.layers.18.ls1": "model-00001-of-00002.safetensors",
|
| 623 |
+
"vision_model.encoder.layers.18.ls2": "model-00001-of-00002.safetensors",
|
| 624 |
+
"vision_model.encoder.layers.18.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 625 |
+
"vision_model.encoder.layers.18.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 626 |
+
"vision_model.encoder.layers.18.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 627 |
+
"vision_model.encoder.layers.18.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 628 |
+
"vision_model.encoder.layers.18.norm1.bias": "model-00001-of-00002.safetensors",
|
| 629 |
+
"vision_model.encoder.layers.18.norm1.weight": "model-00001-of-00002.safetensors",
|
| 630 |
+
"vision_model.encoder.layers.18.norm2.bias": "model-00001-of-00002.safetensors",
|
| 631 |
+
"vision_model.encoder.layers.18.norm2.weight": "model-00001-of-00002.safetensors",
|
| 632 |
+
"vision_model.encoder.layers.19.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 633 |
+
"vision_model.encoder.layers.19.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 634 |
+
"vision_model.encoder.layers.19.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 635 |
+
"vision_model.encoder.layers.19.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 636 |
+
"vision_model.encoder.layers.19.ls1": "model-00001-of-00002.safetensors",
|
| 637 |
+
"vision_model.encoder.layers.19.ls2": "model-00001-of-00002.safetensors",
|
| 638 |
+
"vision_model.encoder.layers.19.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 639 |
+
"vision_model.encoder.layers.19.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 640 |
+
"vision_model.encoder.layers.19.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 641 |
+
"vision_model.encoder.layers.19.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 642 |
+
"vision_model.encoder.layers.19.norm1.bias": "model-00001-of-00002.safetensors",
|
| 643 |
+
"vision_model.encoder.layers.19.norm1.weight": "model-00001-of-00002.safetensors",
|
| 644 |
+
"vision_model.encoder.layers.19.norm2.bias": "model-00001-of-00002.safetensors",
|
| 645 |
+
"vision_model.encoder.layers.19.norm2.weight": "model-00001-of-00002.safetensors",
|
| 646 |
+
"vision_model.encoder.layers.2.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 647 |
+
"vision_model.encoder.layers.2.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 648 |
+
"vision_model.encoder.layers.2.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 649 |
+
"vision_model.encoder.layers.2.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 650 |
+
"vision_model.encoder.layers.2.ls1": "model-00001-of-00002.safetensors",
|
| 651 |
+
"vision_model.encoder.layers.2.ls2": "model-00001-of-00002.safetensors",
|
| 652 |
+
"vision_model.encoder.layers.2.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 653 |
+
"vision_model.encoder.layers.2.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 654 |
+
"vision_model.encoder.layers.2.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 655 |
+
"vision_model.encoder.layers.2.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 656 |
+
"vision_model.encoder.layers.2.norm1.bias": "model-00001-of-00002.safetensors",
|
| 657 |
+
"vision_model.encoder.layers.2.norm1.weight": "model-00001-of-00002.safetensors",
|
| 658 |
+
"vision_model.encoder.layers.2.norm2.bias": "model-00001-of-00002.safetensors",
|
| 659 |
+
"vision_model.encoder.layers.2.norm2.weight": "model-00001-of-00002.safetensors",
|
| 660 |
+
"vision_model.encoder.layers.20.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 661 |
+
"vision_model.encoder.layers.20.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 662 |
+
"vision_model.encoder.layers.20.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 663 |
+
"vision_model.encoder.layers.20.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 664 |
+
"vision_model.encoder.layers.20.ls1": "model-00001-of-00002.safetensors",
|
| 665 |
+
"vision_model.encoder.layers.20.ls2": "model-00001-of-00002.safetensors",
|
| 666 |
+
"vision_model.encoder.layers.20.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 667 |
+
"vision_model.encoder.layers.20.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 668 |
+
"vision_model.encoder.layers.20.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 669 |
+
"vision_model.encoder.layers.20.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 670 |
+
"vision_model.encoder.layers.20.norm1.bias": "model-00001-of-00002.safetensors",
|
| 671 |
+
"vision_model.encoder.layers.20.norm1.weight": "model-00001-of-00002.safetensors",
|
| 672 |
+
"vision_model.encoder.layers.20.norm2.bias": "model-00001-of-00002.safetensors",
|
| 673 |
+
"vision_model.encoder.layers.20.norm2.weight": "model-00001-of-00002.safetensors",
|
| 674 |
+
"vision_model.encoder.layers.21.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 675 |
+
"vision_model.encoder.layers.21.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 676 |
+
"vision_model.encoder.layers.21.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 677 |
+
"vision_model.encoder.layers.21.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 678 |
+
"vision_model.encoder.layers.21.ls1": "model-00001-of-00002.safetensors",
|
| 679 |
+
"vision_model.encoder.layers.21.ls2": "model-00001-of-00002.safetensors",
|
| 680 |
+
"vision_model.encoder.layers.21.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 681 |
+
"vision_model.encoder.layers.21.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 682 |
+
"vision_model.encoder.layers.21.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 683 |
+
"vision_model.encoder.layers.21.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 684 |
+
"vision_model.encoder.layers.21.norm1.bias": "model-00001-of-00002.safetensors",
|
| 685 |
+
"vision_model.encoder.layers.21.norm1.weight": "model-00001-of-00002.safetensors",
|
| 686 |
+
"vision_model.encoder.layers.21.norm2.bias": "model-00001-of-00002.safetensors",
|
| 687 |
+
"vision_model.encoder.layers.21.norm2.weight": "model-00001-of-00002.safetensors",
|
| 688 |
+
"vision_model.encoder.layers.22.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 689 |
+
"vision_model.encoder.layers.22.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 690 |
+
"vision_model.encoder.layers.22.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 691 |
+
"vision_model.encoder.layers.22.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 692 |
+
"vision_model.encoder.layers.22.ls1": "model-00001-of-00002.safetensors",
|
| 693 |
+
"vision_model.encoder.layers.22.ls2": "model-00001-of-00002.safetensors",
|
| 694 |
+
"vision_model.encoder.layers.22.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 695 |
+
"vision_model.encoder.layers.22.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 696 |
+
"vision_model.encoder.layers.22.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 697 |
+
"vision_model.encoder.layers.22.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 698 |
+
"vision_model.encoder.layers.22.norm1.bias": "model-00001-of-00002.safetensors",
|
| 699 |
+
"vision_model.encoder.layers.22.norm1.weight": "model-00001-of-00002.safetensors",
|
| 700 |
+
"vision_model.encoder.layers.22.norm2.bias": "model-00001-of-00002.safetensors",
|
| 701 |
+
"vision_model.encoder.layers.22.norm2.weight": "model-00001-of-00002.safetensors",
|
| 702 |
+
"vision_model.encoder.layers.23.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 703 |
+
"vision_model.encoder.layers.23.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 704 |
+
"vision_model.encoder.layers.23.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 705 |
+
"vision_model.encoder.layers.23.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 706 |
+
"vision_model.encoder.layers.23.ls1": "model-00001-of-00002.safetensors",
|
| 707 |
+
"vision_model.encoder.layers.23.ls2": "model-00001-of-00002.safetensors",
|
| 708 |
+
"vision_model.encoder.layers.23.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 709 |
+
"vision_model.encoder.layers.23.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 710 |
+
"vision_model.encoder.layers.23.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 711 |
+
"vision_model.encoder.layers.23.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 712 |
+
"vision_model.encoder.layers.23.norm1.bias": "model-00001-of-00002.safetensors",
|
| 713 |
+
"vision_model.encoder.layers.23.norm1.weight": "model-00001-of-00002.safetensors",
|
| 714 |
+
"vision_model.encoder.layers.23.norm2.bias": "model-00001-of-00002.safetensors",
|
| 715 |
+
"vision_model.encoder.layers.23.norm2.weight": "model-00001-of-00002.safetensors",
|
| 716 |
+
"vision_model.encoder.layers.3.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 717 |
+
"vision_model.encoder.layers.3.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 718 |
+
"vision_model.encoder.layers.3.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 719 |
+
"vision_model.encoder.layers.3.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 720 |
+
"vision_model.encoder.layers.3.ls1": "model-00001-of-00002.safetensors",
|
| 721 |
+
"vision_model.encoder.layers.3.ls2": "model-00001-of-00002.safetensors",
|
| 722 |
+
"vision_model.encoder.layers.3.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 723 |
+
"vision_model.encoder.layers.3.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 724 |
+
"vision_model.encoder.layers.3.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 725 |
+
"vision_model.encoder.layers.3.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 726 |
+
"vision_model.encoder.layers.3.norm1.bias": "model-00001-of-00002.safetensors",
|
| 727 |
+
"vision_model.encoder.layers.3.norm1.weight": "model-00001-of-00002.safetensors",
|
| 728 |
+
"vision_model.encoder.layers.3.norm2.bias": "model-00001-of-00002.safetensors",
|
| 729 |
+
"vision_model.encoder.layers.3.norm2.weight": "model-00001-of-00002.safetensors",
|
| 730 |
+
"vision_model.encoder.layers.4.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 731 |
+
"vision_model.encoder.layers.4.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 732 |
+
"vision_model.encoder.layers.4.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 733 |
+
"vision_model.encoder.layers.4.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 734 |
+
"vision_model.encoder.layers.4.ls1": "model-00001-of-00002.safetensors",
|
| 735 |
+
"vision_model.encoder.layers.4.ls2": "model-00001-of-00002.safetensors",
|
| 736 |
+
"vision_model.encoder.layers.4.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 737 |
+
"vision_model.encoder.layers.4.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 738 |
+
"vision_model.encoder.layers.4.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 739 |
+
"vision_model.encoder.layers.4.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 740 |
+
"vision_model.encoder.layers.4.norm1.bias": "model-00001-of-00002.safetensors",
|
| 741 |
+
"vision_model.encoder.layers.4.norm1.weight": "model-00001-of-00002.safetensors",
|
| 742 |
+
"vision_model.encoder.layers.4.norm2.bias": "model-00001-of-00002.safetensors",
|
| 743 |
+
"vision_model.encoder.layers.4.norm2.weight": "model-00001-of-00002.safetensors",
|
| 744 |
+
"vision_model.encoder.layers.5.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 745 |
+
"vision_model.encoder.layers.5.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 746 |
+
"vision_model.encoder.layers.5.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 747 |
+
"vision_model.encoder.layers.5.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 748 |
+
"vision_model.encoder.layers.5.ls1": "model-00001-of-00002.safetensors",
|
| 749 |
+
"vision_model.encoder.layers.5.ls2": "model-00001-of-00002.safetensors",
|
| 750 |
+
"vision_model.encoder.layers.5.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 751 |
+
"vision_model.encoder.layers.5.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 752 |
+
"vision_model.encoder.layers.5.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 753 |
+
"vision_model.encoder.layers.5.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 754 |
+
"vision_model.encoder.layers.5.norm1.bias": "model-00001-of-00002.safetensors",
|
| 755 |
+
"vision_model.encoder.layers.5.norm1.weight": "model-00001-of-00002.safetensors",
|
| 756 |
+
"vision_model.encoder.layers.5.norm2.bias": "model-00001-of-00002.safetensors",
|
| 757 |
+
"vision_model.encoder.layers.5.norm2.weight": "model-00001-of-00002.safetensors",
|
| 758 |
+
"vision_model.encoder.layers.6.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 759 |
+
"vision_model.encoder.layers.6.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 760 |
+
"vision_model.encoder.layers.6.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 761 |
+
"vision_model.encoder.layers.6.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 762 |
+
"vision_model.encoder.layers.6.ls1": "model-00001-of-00002.safetensors",
|
| 763 |
+
"vision_model.encoder.layers.6.ls2": "model-00001-of-00002.safetensors",
|
| 764 |
+
"vision_model.encoder.layers.6.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 765 |
+
"vision_model.encoder.layers.6.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 766 |
+
"vision_model.encoder.layers.6.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 767 |
+
"vision_model.encoder.layers.6.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 768 |
+
"vision_model.encoder.layers.6.norm1.bias": "model-00001-of-00002.safetensors",
|
| 769 |
+
"vision_model.encoder.layers.6.norm1.weight": "model-00001-of-00002.safetensors",
|
| 770 |
+
"vision_model.encoder.layers.6.norm2.bias": "model-00001-of-00002.safetensors",
|
| 771 |
+
"vision_model.encoder.layers.6.norm2.weight": "model-00001-of-00002.safetensors",
|
| 772 |
+
"vision_model.encoder.layers.7.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 773 |
+
"vision_model.encoder.layers.7.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 774 |
+
"vision_model.encoder.layers.7.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 775 |
+
"vision_model.encoder.layers.7.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 776 |
+
"vision_model.encoder.layers.7.ls1": "model-00001-of-00002.safetensors",
|
| 777 |
+
"vision_model.encoder.layers.7.ls2": "model-00001-of-00002.safetensors",
|
| 778 |
+
"vision_model.encoder.layers.7.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 779 |
+
"vision_model.encoder.layers.7.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 780 |
+
"vision_model.encoder.layers.7.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 781 |
+
"vision_model.encoder.layers.7.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 782 |
+
"vision_model.encoder.layers.7.norm1.bias": "model-00001-of-00002.safetensors",
|
| 783 |
+
"vision_model.encoder.layers.7.norm1.weight": "model-00001-of-00002.safetensors",
|
| 784 |
+
"vision_model.encoder.layers.7.norm2.bias": "model-00001-of-00002.safetensors",
|
| 785 |
+
"vision_model.encoder.layers.7.norm2.weight": "model-00001-of-00002.safetensors",
|
| 786 |
+
"vision_model.encoder.layers.8.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 787 |
+
"vision_model.encoder.layers.8.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 788 |
+
"vision_model.encoder.layers.8.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 789 |
+
"vision_model.encoder.layers.8.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 790 |
+
"vision_model.encoder.layers.8.ls1": "model-00001-of-00002.safetensors",
|
| 791 |
+
"vision_model.encoder.layers.8.ls2": "model-00001-of-00002.safetensors",
|
| 792 |
+
"vision_model.encoder.layers.8.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 793 |
+
"vision_model.encoder.layers.8.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 794 |
+
"vision_model.encoder.layers.8.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 795 |
+
"vision_model.encoder.layers.8.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 796 |
+
"vision_model.encoder.layers.8.norm1.bias": "model-00001-of-00002.safetensors",
|
| 797 |
+
"vision_model.encoder.layers.8.norm1.weight": "model-00001-of-00002.safetensors",
|
| 798 |
+
"vision_model.encoder.layers.8.norm2.bias": "model-00001-of-00002.safetensors",
|
| 799 |
+
"vision_model.encoder.layers.8.norm2.weight": "model-00001-of-00002.safetensors",
|
| 800 |
+
"vision_model.encoder.layers.9.attn.proj.bias": "model-00001-of-00002.safetensors",
|
| 801 |
+
"vision_model.encoder.layers.9.attn.proj.weight": "model-00001-of-00002.safetensors",
|
| 802 |
+
"vision_model.encoder.layers.9.attn.qkv.bias": "model-00001-of-00002.safetensors",
|
| 803 |
+
"vision_model.encoder.layers.9.attn.qkv.weight": "model-00001-of-00002.safetensors",
|
| 804 |
+
"vision_model.encoder.layers.9.ls1": "model-00001-of-00002.safetensors",
|
| 805 |
+
"vision_model.encoder.layers.9.ls2": "model-00001-of-00002.safetensors",
|
| 806 |
+
"vision_model.encoder.layers.9.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
| 807 |
+
"vision_model.encoder.layers.9.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
| 808 |
+
"vision_model.encoder.layers.9.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
| 809 |
+
"vision_model.encoder.layers.9.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
| 810 |
+
"vision_model.encoder.layers.9.norm1.bias": "model-00001-of-00002.safetensors",
|
| 811 |
+
"vision_model.encoder.layers.9.norm1.weight": "model-00001-of-00002.safetensors",
|
| 812 |
+
"vision_model.encoder.layers.9.norm2.bias": "model-00001-of-00002.safetensors",
|
| 813 |
+
"vision_model.encoder.layers.9.norm2.weight": "model-00001-of-00002.safetensors"
|
| 814 |
+
}
|
| 815 |
+
}
|
checkpoint-2000/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1983040aa323b2e316bc1aa08c8d0853c7b2b41c4a56eb93bb08a0098944d72
|
| 3 |
+
size 14709
|
checkpoint-2000/special_tokens_map.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|action_start|>",
|
| 6 |
+
"<|action_end|>",
|
| 7 |
+
"<|interpreter|>",
|
| 8 |
+
"<|plugin|>",
|
| 9 |
+
"<img>",
|
| 10 |
+
"</img>",
|
| 11 |
+
"<IMG_CONTEXT>",
|
| 12 |
+
"<quad>",
|
| 13 |
+
"</quad>",
|
| 14 |
+
"<ref>",
|
| 15 |
+
"</ref>",
|
| 16 |
+
"<box>",
|
| 17 |
+
"</box>"
|
| 18 |
+
],
|
| 19 |
+
"bos_token": {
|
| 20 |
+
"content": "<s>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false
|
| 25 |
+
},
|
| 26 |
+
"eos_token": {
|
| 27 |
+
"content": "</s>",
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"normalized": false,
|
| 30 |
+
"rstrip": false,
|
| 31 |
+
"single_word": false
|
| 32 |
+
},
|
| 33 |
+
"pad_token": {
|
| 34 |
+
"content": "</s>",
|
| 35 |
+
"lstrip": false,
|
| 36 |
+
"normalized": false,
|
| 37 |
+
"rstrip": false,
|
| 38 |
+
"single_word": false
|
| 39 |
+
},
|
| 40 |
+
"unk_token": {
|
| 41 |
+
"content": "<unk>",
|
| 42 |
+
"lstrip": false,
|
| 43 |
+
"normalized": false,
|
| 44 |
+
"rstrip": false,
|
| 45 |
+
"single_word": false
|
| 46 |
+
}
|
| 47 |
+
}
|
checkpoint-2000/tokenization_internlm2.py
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (c) The InternLM team and The HuggingFace Inc. team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# This code is based on transformers/src/transformers/models/llama/tokenization_llama.py
|
| 4 |
+
#
|
| 5 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 6 |
+
# you may not use this file except in compliance with the License.
|
| 7 |
+
# You may obtain a copy of the License at
|
| 8 |
+
#
|
| 9 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 10 |
+
#
|
| 11 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 12 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 13 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 14 |
+
# See the License for the specific language governing permissions and
|
| 15 |
+
# limitations under the License.
|
| 16 |
+
|
| 17 |
+
"""Tokenization classes for InternLM."""
|
| 18 |
+
import os
|
| 19 |
+
from shutil import copyfile
|
| 20 |
+
from typing import Any, Dict, List, Optional, Tuple
|
| 21 |
+
|
| 22 |
+
import sentencepiece as spm
|
| 23 |
+
from transformers.tokenization_utils import PreTrainedTokenizer
|
| 24 |
+
from transformers.utils import logging
|
| 25 |
+
|
| 26 |
+
logger = logging.get_logger(__name__)
|
| 27 |
+
|
| 28 |
+
VOCAB_FILES_NAMES = {'vocab_file': './tokenizer.model'}
|
| 29 |
+
|
| 30 |
+
PRETRAINED_VOCAB_FILES_MAP = {}
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
# Modified from transformers.model.llama.tokenization_llama.LlamaTokenizer
|
| 34 |
+
class InternLM2Tokenizer(PreTrainedTokenizer):
|
| 35 |
+
"""
|
| 36 |
+
Construct a InternLM2 tokenizer. Based on byte-level Byte-Pair-Encoding.
|
| 37 |
+
|
| 38 |
+
Args:
|
| 39 |
+
vocab_file (`str`):
|
| 40 |
+
Path to the vocabulary file.
|
| 41 |
+
"""
|
| 42 |
+
|
| 43 |
+
vocab_files_names = VOCAB_FILES_NAMES
|
| 44 |
+
pretrained_vocab_files_map = PRETRAINED_VOCAB_FILES_MAP
|
| 45 |
+
model_input_names = ['input_ids', 'attention_mask']
|
| 46 |
+
_auto_class = 'AutoTokenizer'
|
| 47 |
+
|
| 48 |
+
def __init__(
|
| 49 |
+
self,
|
| 50 |
+
vocab_file,
|
| 51 |
+
unk_token='<unk>',
|
| 52 |
+
bos_token='<s>',
|
| 53 |
+
eos_token='</s>',
|
| 54 |
+
pad_token='</s>',
|
| 55 |
+
sp_model_kwargs: Optional[Dict[str, Any]] = None,
|
| 56 |
+
add_bos_token=True,
|
| 57 |
+
add_eos_token=False,
|
| 58 |
+
decode_with_prefix_space=False,
|
| 59 |
+
clean_up_tokenization_spaces=False,
|
| 60 |
+
**kwargs,
|
| 61 |
+
):
|
| 62 |
+
self.sp_model_kwargs = {} if sp_model_kwargs is None else sp_model_kwargs
|
| 63 |
+
self.vocab_file = vocab_file
|
| 64 |
+
self.add_bos_token = add_bos_token
|
| 65 |
+
self.add_eos_token = add_eos_token
|
| 66 |
+
self.decode_with_prefix_space = decode_with_prefix_space
|
| 67 |
+
self.sp_model = spm.SentencePieceProcessor(**self.sp_model_kwargs)
|
| 68 |
+
self.sp_model.Load(vocab_file)
|
| 69 |
+
self._no_prefix_space_tokens = None
|
| 70 |
+
super().__init__(
|
| 71 |
+
bos_token=bos_token,
|
| 72 |
+
eos_token=eos_token,
|
| 73 |
+
unk_token=unk_token,
|
| 74 |
+
pad_token=pad_token,
|
| 75 |
+
clean_up_tokenization_spaces=clean_up_tokenization_spaces,
|
| 76 |
+
**kwargs,
|
| 77 |
+
)
|
| 78 |
+
|
| 79 |
+
@property
|
| 80 |
+
def no_prefix_space_tokens(self):
|
| 81 |
+
if self._no_prefix_space_tokens is None:
|
| 82 |
+
vocab = self.convert_ids_to_tokens(list(range(self.vocab_size)))
|
| 83 |
+
self._no_prefix_space_tokens = {i for i, tok in enumerate(vocab) if not tok.startswith('▁')}
|
| 84 |
+
return self._no_prefix_space_tokens
|
| 85 |
+
|
| 86 |
+
@property
|
| 87 |
+
def vocab_size(self):
|
| 88 |
+
"""Returns vocab size"""
|
| 89 |
+
return self.sp_model.get_piece_size()
|
| 90 |
+
|
| 91 |
+
@property
|
| 92 |
+
def bos_token_id(self) -> Optional[int]:
|
| 93 |
+
return self.sp_model.bos_id()
|
| 94 |
+
|
| 95 |
+
@property
|
| 96 |
+
def eos_token_id(self) -> Optional[int]:
|
| 97 |
+
return self.sp_model.eos_id()
|
| 98 |
+
|
| 99 |
+
def get_vocab(self):
|
| 100 |
+
"""Returns vocab as a dict"""
|
| 101 |
+
vocab = {self.convert_ids_to_tokens(i): i for i in range(self.vocab_size)}
|
| 102 |
+
vocab.update(self.added_tokens_encoder)
|
| 103 |
+
return vocab
|
| 104 |
+
|
| 105 |
+
def _tokenize(self, text):
|
| 106 |
+
"""Returns a tokenized string."""
|
| 107 |
+
return self.sp_model.encode(text, out_type=str)
|
| 108 |
+
|
| 109 |
+
def _convert_token_to_id(self, token):
|
| 110 |
+
"""Converts a token (str) in an id using the vocab."""
|
| 111 |
+
return self.sp_model.piece_to_id(token)
|
| 112 |
+
|
| 113 |
+
def _convert_id_to_token(self, index):
|
| 114 |
+
"""Converts an index (integer) in a token (str) using the vocab."""
|
| 115 |
+
token = self.sp_model.IdToPiece(index)
|
| 116 |
+
return token
|
| 117 |
+
|
| 118 |
+
def _maybe_add_prefix_space(self, tokens, decoded):
|
| 119 |
+
if tokens and tokens[0] not in self.no_prefix_space_tokens:
|
| 120 |
+
return ' ' + decoded
|
| 121 |
+
else:
|
| 122 |
+
return decoded
|
| 123 |
+
|
| 124 |
+
def convert_tokens_to_string(self, tokens):
|
| 125 |
+
"""Converts a sequence of tokens (string) in a single string."""
|
| 126 |
+
current_sub_tokens = []
|
| 127 |
+
out_string = ''
|
| 128 |
+
prev_is_special = False
|
| 129 |
+
for token in tokens:
|
| 130 |
+
# make sure that special tokens are not decoded using sentencepiece model
|
| 131 |
+
if token in self.all_special_tokens:
|
| 132 |
+
if not prev_is_special:
|
| 133 |
+
out_string += ' '
|
| 134 |
+
out_string += self.sp_model.decode(current_sub_tokens) + token
|
| 135 |
+
prev_is_special = True
|
| 136 |
+
current_sub_tokens = []
|
| 137 |
+
else:
|
| 138 |
+
current_sub_tokens.append(token)
|
| 139 |
+
prev_is_special = False
|
| 140 |
+
out_string += self.sp_model.decode(current_sub_tokens)
|
| 141 |
+
out_string = self.clean_up_tokenization(out_string)
|
| 142 |
+
out_string = self._maybe_add_prefix_space(tokens=tokens, decoded=out_string)
|
| 143 |
+
return out_string[1:]
|
| 144 |
+
|
| 145 |
+
def save_vocabulary(self, save_directory, filename_prefix: Optional[str] = None) -> Tuple[str]:
|
| 146 |
+
"""
|
| 147 |
+
Save the vocabulary and special tokens file to a directory.
|
| 148 |
+
|
| 149 |
+
Args:
|
| 150 |
+
save_directory (`str`):
|
| 151 |
+
The directory in which to save the vocabulary.
|
| 152 |
+
|
| 153 |
+
Returns:
|
| 154 |
+
`Tuple(str)`: Paths to the files saved.
|
| 155 |
+
"""
|
| 156 |
+
if not os.path.isdir(save_directory):
|
| 157 |
+
logger.error(f'Vocabulary path ({save_directory}) should be a directory')
|
| 158 |
+
return
|
| 159 |
+
out_vocab_file = os.path.join(
|
| 160 |
+
save_directory, (filename_prefix + '-' if filename_prefix else '') + VOCAB_FILES_NAMES['vocab_file']
|
| 161 |
+
)
|
| 162 |
+
|
| 163 |
+
if os.path.abspath(self.vocab_file) != os.path.abspath(out_vocab_file) and os.path.isfile(self.vocab_file):
|
| 164 |
+
copyfile(self.vocab_file, out_vocab_file)
|
| 165 |
+
elif not os.path.isfile(self.vocab_file):
|
| 166 |
+
with open(out_vocab_file, 'wb') as fi:
|
| 167 |
+
content_spiece_model = self.sp_model.serialized_model_proto()
|
| 168 |
+
fi.write(content_spiece_model)
|
| 169 |
+
|
| 170 |
+
return (out_vocab_file,)
|
| 171 |
+
|
| 172 |
+
def build_inputs_with_special_tokens(self, token_ids_0, token_ids_1=None):
|
| 173 |
+
if self.add_bos_token:
|
| 174 |
+
bos_token_ids = [self.bos_token_id]
|
| 175 |
+
else:
|
| 176 |
+
bos_token_ids = []
|
| 177 |
+
|
| 178 |
+
output = bos_token_ids + token_ids_0
|
| 179 |
+
|
| 180 |
+
if token_ids_1 is not None:
|
| 181 |
+
output = output + token_ids_1
|
| 182 |
+
|
| 183 |
+
if self.add_eos_token:
|
| 184 |
+
output = output + [self.eos_token_id]
|
| 185 |
+
|
| 186 |
+
return output
|
| 187 |
+
|
| 188 |
+
def get_special_tokens_mask(
|
| 189 |
+
self, token_ids_0: List[int], token_ids_1: Optional[List[int]] = None, already_has_special_tokens: bool = False
|
| 190 |
+
) -> List[int]:
|
| 191 |
+
"""
|
| 192 |
+
Retrieve sequence ids from a token list that has no special tokens added. This method is called when adding
|
| 193 |
+
special tokens using the tokenizer `prepare_for_model` method.
|
| 194 |
+
|
| 195 |
+
Args:
|
| 196 |
+
token_ids_0 (`List[int]`):
|
| 197 |
+
List of IDs.
|
| 198 |
+
token_ids_1 (`List[int]`, *optional*):
|
| 199 |
+
Optional second list of IDs for sequence pairs.
|
| 200 |
+
already_has_special_tokens (`bool`, *optional*, defaults to `False`):
|
| 201 |
+
Whether or not the token list is already formatted with special tokens for the model.
|
| 202 |
+
|
| 203 |
+
Returns:
|
| 204 |
+
`List[int]`: A list of integers in the range [0, 1]: 1 for a special token, 0 for a sequence token.
|
| 205 |
+
"""
|
| 206 |
+
if already_has_special_tokens:
|
| 207 |
+
return super().get_special_tokens_mask(
|
| 208 |
+
token_ids_0=token_ids_0, token_ids_1=token_ids_1, already_has_special_tokens=True
|
| 209 |
+
)
|
| 210 |
+
|
| 211 |
+
if token_ids_1 is None:
|
| 212 |
+
return [1] + ([0] * len(token_ids_0)) + [1]
|
| 213 |
+
return [1] + ([0] * len(token_ids_0)) + [1, 1] + ([0] * len(token_ids_1)) + [1]
|
| 214 |
+
|
| 215 |
+
def create_token_type_ids_from_sequences(
|
| 216 |
+
self, token_ids_0: List[int], token_ids_1: Optional[List[int]] = None
|
| 217 |
+
) -> List[int]:
|
| 218 |
+
"""
|
| 219 |
+
Create a mask from the two sequences passed to be used in a sequence-pair classification task. T5 does not make
|
| 220 |
+
use of token type ids, therefore a list of zeros is returned.
|
| 221 |
+
|
| 222 |
+
Args:
|
| 223 |
+
token_ids_0 (`List[int]`):
|
| 224 |
+
List of IDs.
|
| 225 |
+
token_ids_1 (`List[int]`, *optional*):
|
| 226 |
+
Optional second list of IDs for sequence pairs.
|
| 227 |
+
|
| 228 |
+
Returns:
|
| 229 |
+
`List[int]`: List of zeros.
|
| 230 |
+
"""
|
| 231 |
+
eos = [self.eos_token_id]
|
| 232 |
+
|
| 233 |
+
if token_ids_1 is None:
|
| 234 |
+
return len(token_ids_0 + eos) * [0]
|
| 235 |
+
return len(token_ids_0 + eos + token_ids_1 + eos) * [0]
|
checkpoint-2000/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f868398fc4e05ee1e8aeba95ddf18ddcc45b8bce55d5093bead5bbf80429b48b
|
| 3 |
+
size 1477754
|
checkpoint-2000/tokenizer_config.json
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<unk>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<s>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "</s>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"92538": {
|
| 28 |
+
"content": "<|plugin|>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"92539": {
|
| 36 |
+
"content": "<|interpreter|>",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
},
|
| 43 |
+
"92540": {
|
| 44 |
+
"content": "<|action_end|>",
|
| 45 |
+
"lstrip": false,
|
| 46 |
+
"normalized": false,
|
| 47 |
+
"rstrip": false,
|
| 48 |
+
"single_word": false,
|
| 49 |
+
"special": true
|
| 50 |
+
},
|
| 51 |
+
"92541": {
|
| 52 |
+
"content": "<|action_start|>",
|
| 53 |
+
"lstrip": false,
|
| 54 |
+
"normalized": false,
|
| 55 |
+
"rstrip": false,
|
| 56 |
+
"single_word": false,
|
| 57 |
+
"special": true
|
| 58 |
+
},
|
| 59 |
+
"92542": {
|
| 60 |
+
"content": "<|im_end|>",
|
| 61 |
+
"lstrip": false,
|
| 62 |
+
"normalized": false,
|
| 63 |
+
"rstrip": false,
|
| 64 |
+
"single_word": false,
|
| 65 |
+
"special": true
|
| 66 |
+
},
|
| 67 |
+
"92543": {
|
| 68 |
+
"content": "<|im_start|>",
|
| 69 |
+
"lstrip": false,
|
| 70 |
+
"normalized": false,
|
| 71 |
+
"rstrip": false,
|
| 72 |
+
"single_word": false,
|
| 73 |
+
"special": true
|
| 74 |
+
},
|
| 75 |
+
"92544": {
|
| 76 |
+
"content": "<img>",
|
| 77 |
+
"lstrip": false,
|
| 78 |
+
"normalized": false,
|
| 79 |
+
"rstrip": false,
|
| 80 |
+
"single_word": false,
|
| 81 |
+
"special": true
|
| 82 |
+
},
|
| 83 |
+
"92545": {
|
| 84 |
+
"content": "</img>",
|
| 85 |
+
"lstrip": false,
|
| 86 |
+
"normalized": false,
|
| 87 |
+
"rstrip": false,
|
| 88 |
+
"single_word": false,
|
| 89 |
+
"special": true
|
| 90 |
+
},
|
| 91 |
+
"92546": {
|
| 92 |
+
"content": "<IMG_CONTEXT>",
|
| 93 |
+
"lstrip": false,
|
| 94 |
+
"normalized": false,
|
| 95 |
+
"rstrip": false,
|
| 96 |
+
"single_word": false,
|
| 97 |
+
"special": true
|
| 98 |
+
},
|
| 99 |
+
"92547": {
|
| 100 |
+
"content": "<quad>",
|
| 101 |
+
"lstrip": false,
|
| 102 |
+
"normalized": false,
|
| 103 |
+
"rstrip": false,
|
| 104 |
+
"single_word": false,
|
| 105 |
+
"special": true
|
| 106 |
+
},
|
| 107 |
+
"92548": {
|
| 108 |
+
"content": "</quad>",
|
| 109 |
+
"lstrip": false,
|
| 110 |
+
"normalized": false,
|
| 111 |
+
"rstrip": false,
|
| 112 |
+
"single_word": false,
|
| 113 |
+
"special": true
|
| 114 |
+
},
|
| 115 |
+
"92549": {
|
| 116 |
+
"content": "<ref>",
|
| 117 |
+
"lstrip": false,
|
| 118 |
+
"normalized": false,
|
| 119 |
+
"rstrip": false,
|
| 120 |
+
"single_word": false,
|
| 121 |
+
"special": true
|
| 122 |
+
},
|
| 123 |
+
"92550": {
|
| 124 |
+
"content": "</ref>",
|
| 125 |
+
"lstrip": false,
|
| 126 |
+
"normalized": false,
|
| 127 |
+
"rstrip": false,
|
| 128 |
+
"single_word": false,
|
| 129 |
+
"special": true
|
| 130 |
+
},
|
| 131 |
+
"92551": {
|
| 132 |
+
"content": "<box>",
|
| 133 |
+
"lstrip": false,
|
| 134 |
+
"normalized": false,
|
| 135 |
+
"rstrip": false,
|
| 136 |
+
"single_word": false,
|
| 137 |
+
"special": true
|
| 138 |
+
},
|
| 139 |
+
"92552": {
|
| 140 |
+
"content": "</box>",
|
| 141 |
+
"lstrip": false,
|
| 142 |
+
"normalized": false,
|
| 143 |
+
"rstrip": false,
|
| 144 |
+
"single_word": false,
|
| 145 |
+
"special": true
|
| 146 |
+
}
|
| 147 |
+
},
|
| 148 |
+
"additional_special_tokens": [
|
| 149 |
+
"<|im_start|>",
|
| 150 |
+
"<|im_end|>",
|
| 151 |
+
"<|action_start|>",
|
| 152 |
+
"<|action_end|>",
|
| 153 |
+
"<|interpreter|>",
|
| 154 |
+
"<|plugin|>",
|
| 155 |
+
"<img>",
|
| 156 |
+
"</img>",
|
| 157 |
+
"<IMG_CONTEXT>",
|
| 158 |
+
"<quad>",
|
| 159 |
+
"</quad>",
|
| 160 |
+
"<ref>",
|
| 161 |
+
"</ref>",
|
| 162 |
+
"<box>",
|
| 163 |
+
"</box>"
|
| 164 |
+
],
|
| 165 |
+
"auto_map": {
|
| 166 |
+
"AutoTokenizer": [
|
| 167 |
+
"tokenization_internlm2.InternLM2Tokenizer",
|
| 168 |
+
null
|
| 169 |
+
]
|
| 170 |
+
},
|
| 171 |
+
"bos_token": "<s>",
|
| 172 |
+
"clean_up_tokenization_spaces": false,
|
| 173 |
+
"eos_token": "</s>",
|
| 174 |
+
"extra_special_tokens": {},
|
| 175 |
+
"model_max_length": 4096,
|
| 176 |
+
"pad_token": "</s>",
|
| 177 |
+
"tokenizer_class": "InternLM2Tokenizer",
|
| 178 |
+
"unk_token": "<unk>"
|
| 179 |
+
}
|
checkpoint-2000/trainer_state.json
ADDED
|
@@ -0,0 +1,1434 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 2.7181719260065287,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 2000,
|
| 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.013601741022850925,
|
| 14 |
+
"grad_norm": 2.812274217605591,
|
| 15 |
+
"learning_rate": 2.0000000000000003e-06,
|
| 16 |
+
"loss": 5.2086,
|
| 17 |
+
"step": 10
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.02720348204570185,
|
| 21 |
+
"grad_norm": 2.162468433380127,
|
| 22 |
+
"learning_rate": 4.000000000000001e-06,
|
| 23 |
+
"loss": 5.2051,
|
| 24 |
+
"step": 20
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.040805223068552776,
|
| 28 |
+
"grad_norm": 1.7208396196365356,
|
| 29 |
+
"learning_rate": 6e-06,
|
| 30 |
+
"loss": 5.2105,
|
| 31 |
+
"step": 30
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.0544069640914037,
|
| 35 |
+
"grad_norm": 2.556692361831665,
|
| 36 |
+
"learning_rate": 8.000000000000001e-06,
|
| 37 |
+
"loss": 5.1625,
|
| 38 |
+
"step": 40
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.06800870511425462,
|
| 42 |
+
"grad_norm": 8.235758781433105,
|
| 43 |
+
"learning_rate": 1e-05,
|
| 44 |
+
"loss": 4.6379,
|
| 45 |
+
"step": 50
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.08161044613710555,
|
| 49 |
+
"grad_norm": 10.163893699645996,
|
| 50 |
+
"learning_rate": 1.2e-05,
|
| 51 |
+
"loss": 3.8391,
|
| 52 |
+
"step": 60
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.09521218715995647,
|
| 56 |
+
"grad_norm": 11.116437911987305,
|
| 57 |
+
"learning_rate": 1.4000000000000001e-05,
|
| 58 |
+
"loss": 3.0016,
|
| 59 |
+
"step": 70
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.1088139281828074,
|
| 63 |
+
"grad_norm": 10.696512222290039,
|
| 64 |
+
"learning_rate": 1.6000000000000003e-05,
|
| 65 |
+
"loss": 2.4004,
|
| 66 |
+
"step": 80
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.12241566920565833,
|
| 70 |
+
"grad_norm": 12.367400169372559,
|
| 71 |
+
"learning_rate": 1.8e-05,
|
| 72 |
+
"loss": 1.8969,
|
| 73 |
+
"step": 90
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.13601741022850924,
|
| 77 |
+
"grad_norm": 13.723505973815918,
|
| 78 |
+
"learning_rate": 2e-05,
|
| 79 |
+
"loss": 1.4616,
|
| 80 |
+
"step": 100
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.14961915125136016,
|
| 84 |
+
"grad_norm": 22.034290313720703,
|
| 85 |
+
"learning_rate": 2.2000000000000003e-05,
|
| 86 |
+
"loss": 1.2379,
|
| 87 |
+
"step": 110
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.1632208922742111,
|
| 91 |
+
"grad_norm": 8.55447769165039,
|
| 92 |
+
"learning_rate": 2.4e-05,
|
| 93 |
+
"loss": 1.0951,
|
| 94 |
+
"step": 120
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.17682263329706202,
|
| 98 |
+
"grad_norm": 11.120705604553223,
|
| 99 |
+
"learning_rate": 2.6000000000000002e-05,
|
| 100 |
+
"loss": 0.9654,
|
| 101 |
+
"step": 130
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.19042437431991294,
|
| 105 |
+
"grad_norm": 13.087006568908691,
|
| 106 |
+
"learning_rate": 2.8000000000000003e-05,
|
| 107 |
+
"loss": 0.8391,
|
| 108 |
+
"step": 140
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.20402611534276388,
|
| 112 |
+
"grad_norm": 12.556931495666504,
|
| 113 |
+
"learning_rate": 3e-05,
|
| 114 |
+
"loss": 0.7075,
|
| 115 |
+
"step": 150
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.2176278563656148,
|
| 119 |
+
"grad_norm": 14.245359420776367,
|
| 120 |
+
"learning_rate": 3.2000000000000005e-05,
|
| 121 |
+
"loss": 0.6853,
|
| 122 |
+
"step": 160
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.2312295973884657,
|
| 126 |
+
"grad_norm": 12.10800838470459,
|
| 127 |
+
"learning_rate": 3.4000000000000007e-05,
|
| 128 |
+
"loss": 0.606,
|
| 129 |
+
"step": 170
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.24483133841131666,
|
| 133 |
+
"grad_norm": 11.180713653564453,
|
| 134 |
+
"learning_rate": 3.6e-05,
|
| 135 |
+
"loss": 0.5734,
|
| 136 |
+
"step": 180
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.2584330794341676,
|
| 140 |
+
"grad_norm": 12.638975143432617,
|
| 141 |
+
"learning_rate": 3.8e-05,
|
| 142 |
+
"loss": 0.545,
|
| 143 |
+
"step": 190
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 0.2720348204570185,
|
| 147 |
+
"grad_norm": 11.650677680969238,
|
| 148 |
+
"learning_rate": 4e-05,
|
| 149 |
+
"loss": 0.5162,
|
| 150 |
+
"step": 200
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 0.28563656147986943,
|
| 154 |
+
"grad_norm": 11.61837387084961,
|
| 155 |
+
"learning_rate": 4.2e-05,
|
| 156 |
+
"loss": 0.491,
|
| 157 |
+
"step": 210
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 0.2992383025027203,
|
| 161 |
+
"grad_norm": 5.453939914703369,
|
| 162 |
+
"learning_rate": 4.4000000000000006e-05,
|
| 163 |
+
"loss": 0.4378,
|
| 164 |
+
"step": 220
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 0.31284004352557127,
|
| 168 |
+
"grad_norm": 7.908788204193115,
|
| 169 |
+
"learning_rate": 4.600000000000001e-05,
|
| 170 |
+
"loss": 0.4299,
|
| 171 |
+
"step": 230
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 0.3264417845484222,
|
| 175 |
+
"grad_norm": 13.816142082214355,
|
| 176 |
+
"learning_rate": 4.8e-05,
|
| 177 |
+
"loss": 0.4113,
|
| 178 |
+
"step": 240
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.3400435255712731,
|
| 182 |
+
"grad_norm": 11.430989265441895,
|
| 183 |
+
"learning_rate": 5e-05,
|
| 184 |
+
"loss": 0.4371,
|
| 185 |
+
"step": 250
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 0.35364526659412404,
|
| 189 |
+
"grad_norm": 6.766596794128418,
|
| 190 |
+
"learning_rate": 5.2000000000000004e-05,
|
| 191 |
+
"loss": 0.387,
|
| 192 |
+
"step": 260
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 0.367247007616975,
|
| 196 |
+
"grad_norm": 10.817462921142578,
|
| 197 |
+
"learning_rate": 5.4000000000000005e-05,
|
| 198 |
+
"loss": 0.3643,
|
| 199 |
+
"step": 270
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 0.3808487486398259,
|
| 203 |
+
"grad_norm": 6.278716564178467,
|
| 204 |
+
"learning_rate": 5.6000000000000006e-05,
|
| 205 |
+
"loss": 0.3477,
|
| 206 |
+
"step": 280
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 0.3944504896626768,
|
| 210 |
+
"grad_norm": 13.244380950927734,
|
| 211 |
+
"learning_rate": 5.8e-05,
|
| 212 |
+
"loss": 0.3763,
|
| 213 |
+
"step": 290
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 0.40805223068552776,
|
| 217 |
+
"grad_norm": 4.513805866241455,
|
| 218 |
+
"learning_rate": 6e-05,
|
| 219 |
+
"loss": 0.3093,
|
| 220 |
+
"step": 300
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 0.42165397170837865,
|
| 224 |
+
"grad_norm": 4.978238582611084,
|
| 225 |
+
"learning_rate": 6.2e-05,
|
| 226 |
+
"loss": 0.306,
|
| 227 |
+
"step": 310
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 0.4352557127312296,
|
| 231 |
+
"grad_norm": 9.654162406921387,
|
| 232 |
+
"learning_rate": 6.400000000000001e-05,
|
| 233 |
+
"loss": 0.3157,
|
| 234 |
+
"step": 320
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 0.44885745375408054,
|
| 238 |
+
"grad_norm": 5.806159496307373,
|
| 239 |
+
"learning_rate": 6.6e-05,
|
| 240 |
+
"loss": 0.302,
|
| 241 |
+
"step": 330
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 0.4624591947769314,
|
| 245 |
+
"grad_norm": 6.283710479736328,
|
| 246 |
+
"learning_rate": 6.800000000000001e-05,
|
| 247 |
+
"loss": 0.2885,
|
| 248 |
+
"step": 340
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 0.47606093579978237,
|
| 252 |
+
"grad_norm": 6.1870951652526855,
|
| 253 |
+
"learning_rate": 7e-05,
|
| 254 |
+
"loss": 0.289,
|
| 255 |
+
"step": 350
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 0.4896626768226333,
|
| 259 |
+
"grad_norm": 3.082080364227295,
|
| 260 |
+
"learning_rate": 7.2e-05,
|
| 261 |
+
"loss": 0.2584,
|
| 262 |
+
"step": 360
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 0.5032644178454843,
|
| 266 |
+
"grad_norm": 5.254792213439941,
|
| 267 |
+
"learning_rate": 7.4e-05,
|
| 268 |
+
"loss": 0.2752,
|
| 269 |
+
"step": 370
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 0.5168661588683352,
|
| 273 |
+
"grad_norm": 6.462503433227539,
|
| 274 |
+
"learning_rate": 7.6e-05,
|
| 275 |
+
"loss": 0.2639,
|
| 276 |
+
"step": 380
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 0.530467899891186,
|
| 280 |
+
"grad_norm": 10.89343547821045,
|
| 281 |
+
"learning_rate": 7.800000000000001e-05,
|
| 282 |
+
"loss": 0.2893,
|
| 283 |
+
"step": 390
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 0.544069640914037,
|
| 287 |
+
"grad_norm": 5.2178192138671875,
|
| 288 |
+
"learning_rate": 8e-05,
|
| 289 |
+
"loss": 0.2415,
|
| 290 |
+
"step": 400
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 0.5576713819368879,
|
| 294 |
+
"grad_norm": 8.687518119812012,
|
| 295 |
+
"learning_rate": 8.2e-05,
|
| 296 |
+
"loss": 0.2385,
|
| 297 |
+
"step": 410
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 0.5712731229597389,
|
| 301 |
+
"grad_norm": 4.670180320739746,
|
| 302 |
+
"learning_rate": 8.4e-05,
|
| 303 |
+
"loss": 0.2297,
|
| 304 |
+
"step": 420
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 0.5848748639825898,
|
| 308 |
+
"grad_norm": 3.699598550796509,
|
| 309 |
+
"learning_rate": 8.6e-05,
|
| 310 |
+
"loss": 0.2241,
|
| 311 |
+
"step": 430
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 0.5984766050054406,
|
| 315 |
+
"grad_norm": 3.260232925415039,
|
| 316 |
+
"learning_rate": 8.800000000000001e-05,
|
| 317 |
+
"loss": 0.216,
|
| 318 |
+
"step": 440
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 0.6120783460282916,
|
| 322 |
+
"grad_norm": 3.4559569358825684,
|
| 323 |
+
"learning_rate": 9e-05,
|
| 324 |
+
"loss": 0.2275,
|
| 325 |
+
"step": 450
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 0.6256800870511425,
|
| 329 |
+
"grad_norm": 3.7167000770568848,
|
| 330 |
+
"learning_rate": 9.200000000000001e-05,
|
| 331 |
+
"loss": 0.2133,
|
| 332 |
+
"step": 460
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 0.6392818280739935,
|
| 336 |
+
"grad_norm": 4.1776628494262695,
|
| 337 |
+
"learning_rate": 9.4e-05,
|
| 338 |
+
"loss": 0.2194,
|
| 339 |
+
"step": 470
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 0.6528835690968444,
|
| 343 |
+
"grad_norm": 4.609129428863525,
|
| 344 |
+
"learning_rate": 9.6e-05,
|
| 345 |
+
"loss": 0.2088,
|
| 346 |
+
"step": 480
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 0.6664853101196954,
|
| 350 |
+
"grad_norm": 5.062413215637207,
|
| 351 |
+
"learning_rate": 9.8e-05,
|
| 352 |
+
"loss": 0.2185,
|
| 353 |
+
"step": 490
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 0.6800870511425462,
|
| 357 |
+
"grad_norm": 3.3144760131835938,
|
| 358 |
+
"learning_rate": 0.0001,
|
| 359 |
+
"loss": 0.2176,
|
| 360 |
+
"step": 500
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 0.6936887921653971,
|
| 364 |
+
"grad_norm": 2.5662150382995605,
|
| 365 |
+
"learning_rate": 0.00010200000000000001,
|
| 366 |
+
"loss": 0.2108,
|
| 367 |
+
"step": 510
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"epoch": 0.7072905331882481,
|
| 371 |
+
"grad_norm": 2.718777656555176,
|
| 372 |
+
"learning_rate": 0.00010400000000000001,
|
| 373 |
+
"loss": 0.1734,
|
| 374 |
+
"step": 520
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"epoch": 0.720892274211099,
|
| 378 |
+
"grad_norm": 2.934107780456543,
|
| 379 |
+
"learning_rate": 0.00010600000000000002,
|
| 380 |
+
"loss": 0.209,
|
| 381 |
+
"step": 530
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"epoch": 0.73449401523395,
|
| 385 |
+
"grad_norm": 2.3642656803131104,
|
| 386 |
+
"learning_rate": 0.00010800000000000001,
|
| 387 |
+
"loss": 0.1958,
|
| 388 |
+
"step": 540
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"epoch": 0.7480957562568009,
|
| 392 |
+
"grad_norm": 2.765012502670288,
|
| 393 |
+
"learning_rate": 0.00011000000000000002,
|
| 394 |
+
"loss": 0.1857,
|
| 395 |
+
"step": 550
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"epoch": 0.7616974972796517,
|
| 399 |
+
"grad_norm": 2.482921600341797,
|
| 400 |
+
"learning_rate": 0.00011200000000000001,
|
| 401 |
+
"loss": 0.186,
|
| 402 |
+
"step": 560
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"epoch": 0.7752992383025027,
|
| 406 |
+
"grad_norm": 2.26837420463562,
|
| 407 |
+
"learning_rate": 0.00011399999999999999,
|
| 408 |
+
"loss": 0.1783,
|
| 409 |
+
"step": 570
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"epoch": 0.7889009793253536,
|
| 413 |
+
"grad_norm": 2.1319069862365723,
|
| 414 |
+
"learning_rate": 0.000116,
|
| 415 |
+
"loss": 0.1731,
|
| 416 |
+
"step": 580
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"epoch": 0.8025027203482046,
|
| 420 |
+
"grad_norm": 1.4668622016906738,
|
| 421 |
+
"learning_rate": 0.000118,
|
| 422 |
+
"loss": 0.1854,
|
| 423 |
+
"step": 590
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"epoch": 0.8161044613710555,
|
| 427 |
+
"grad_norm": 2.2079055309295654,
|
| 428 |
+
"learning_rate": 0.00012,
|
| 429 |
+
"loss": 0.1806,
|
| 430 |
+
"step": 600
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"epoch": 0.8297062023939065,
|
| 434 |
+
"grad_norm": 1.9991375207901,
|
| 435 |
+
"learning_rate": 0.000122,
|
| 436 |
+
"loss": 0.1682,
|
| 437 |
+
"step": 610
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"epoch": 0.8433079434167573,
|
| 441 |
+
"grad_norm": 1.889404296875,
|
| 442 |
+
"learning_rate": 0.000124,
|
| 443 |
+
"loss": 0.162,
|
| 444 |
+
"step": 620
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"epoch": 0.8569096844396082,
|
| 448 |
+
"grad_norm": 1.7021093368530273,
|
| 449 |
+
"learning_rate": 0.000126,
|
| 450 |
+
"loss": 0.1521,
|
| 451 |
+
"step": 630
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"epoch": 0.8705114254624592,
|
| 455 |
+
"grad_norm": 2.153775215148926,
|
| 456 |
+
"learning_rate": 0.00012800000000000002,
|
| 457 |
+
"loss": 0.1656,
|
| 458 |
+
"step": 640
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"epoch": 0.8841131664853101,
|
| 462 |
+
"grad_norm": 2.285336494445801,
|
| 463 |
+
"learning_rate": 0.00013000000000000002,
|
| 464 |
+
"loss": 0.1609,
|
| 465 |
+
"step": 650
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"epoch": 0.8977149075081611,
|
| 469 |
+
"grad_norm": 1.8330312967300415,
|
| 470 |
+
"learning_rate": 0.000132,
|
| 471 |
+
"loss": 0.151,
|
| 472 |
+
"step": 660
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"epoch": 0.911316648531012,
|
| 476 |
+
"grad_norm": 1.712404489517212,
|
| 477 |
+
"learning_rate": 0.000134,
|
| 478 |
+
"loss": 0.1577,
|
| 479 |
+
"step": 670
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"epoch": 0.9249183895538629,
|
| 483 |
+
"grad_norm": 1.6210945844650269,
|
| 484 |
+
"learning_rate": 0.00013600000000000003,
|
| 485 |
+
"loss": 0.1641,
|
| 486 |
+
"step": 680
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"epoch": 0.9385201305767138,
|
| 490 |
+
"grad_norm": 1.661000370979309,
|
| 491 |
+
"learning_rate": 0.000138,
|
| 492 |
+
"loss": 0.1543,
|
| 493 |
+
"step": 690
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"epoch": 0.9521218715995647,
|
| 497 |
+
"grad_norm": 1.754515290260315,
|
| 498 |
+
"learning_rate": 0.00014,
|
| 499 |
+
"loss": 0.1621,
|
| 500 |
+
"step": 700
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"epoch": 0.9657236126224157,
|
| 504 |
+
"grad_norm": 1.6415514945983887,
|
| 505 |
+
"learning_rate": 0.000142,
|
| 506 |
+
"loss": 0.144,
|
| 507 |
+
"step": 710
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"epoch": 0.9793253536452666,
|
| 511 |
+
"grad_norm": 2.2498250007629395,
|
| 512 |
+
"learning_rate": 0.000144,
|
| 513 |
+
"loss": 0.1502,
|
| 514 |
+
"step": 720
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"epoch": 0.9929270946681176,
|
| 518 |
+
"grad_norm": 1.6925517320632935,
|
| 519 |
+
"learning_rate": 0.000146,
|
| 520 |
+
"loss": 0.1546,
|
| 521 |
+
"step": 730
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"epoch": 1.0054406964091405,
|
| 525 |
+
"grad_norm": 1.8807954788208008,
|
| 526 |
+
"learning_rate": 0.000148,
|
| 527 |
+
"loss": 0.1409,
|
| 528 |
+
"step": 740
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"epoch": 1.0190424374319913,
|
| 532 |
+
"grad_norm": 1.611089825630188,
|
| 533 |
+
"learning_rate": 0.00015000000000000001,
|
| 534 |
+
"loss": 0.1578,
|
| 535 |
+
"step": 750
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"epoch": 1.0326441784548421,
|
| 539 |
+
"grad_norm": 1.1505298614501953,
|
| 540 |
+
"learning_rate": 0.000152,
|
| 541 |
+
"loss": 0.1371,
|
| 542 |
+
"step": 760
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"epoch": 1.0462459194776932,
|
| 546 |
+
"grad_norm": 1.5354456901550293,
|
| 547 |
+
"learning_rate": 0.000154,
|
| 548 |
+
"loss": 0.1407,
|
| 549 |
+
"step": 770
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"epoch": 1.059847660500544,
|
| 553 |
+
"grad_norm": 1.178806185722351,
|
| 554 |
+
"learning_rate": 0.00015600000000000002,
|
| 555 |
+
"loss": 0.141,
|
| 556 |
+
"step": 780
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"epoch": 1.073449401523395,
|
| 560 |
+
"grad_norm": 1.3755444288253784,
|
| 561 |
+
"learning_rate": 0.00015800000000000002,
|
| 562 |
+
"loss": 0.1287,
|
| 563 |
+
"step": 790
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"epoch": 1.087051142546246,
|
| 567 |
+
"grad_norm": 1.5800870656967163,
|
| 568 |
+
"learning_rate": 0.00016,
|
| 569 |
+
"loss": 0.1382,
|
| 570 |
+
"step": 800
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"epoch": 1.1006528835690967,
|
| 574 |
+
"grad_norm": 1.1685993671417236,
|
| 575 |
+
"learning_rate": 0.000162,
|
| 576 |
+
"loss": 0.1363,
|
| 577 |
+
"step": 810
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"epoch": 1.1142546245919478,
|
| 581 |
+
"grad_norm": 1.1938755512237549,
|
| 582 |
+
"learning_rate": 0.000164,
|
| 583 |
+
"loss": 0.1316,
|
| 584 |
+
"step": 820
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"epoch": 1.1278563656147986,
|
| 588 |
+
"grad_norm": 1.2022426128387451,
|
| 589 |
+
"learning_rate": 0.000166,
|
| 590 |
+
"loss": 0.1313,
|
| 591 |
+
"step": 830
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"epoch": 1.1414581066376497,
|
| 595 |
+
"grad_norm": 1.1900382041931152,
|
| 596 |
+
"learning_rate": 0.000168,
|
| 597 |
+
"loss": 0.1256,
|
| 598 |
+
"step": 840
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"epoch": 1.1550598476605005,
|
| 602 |
+
"grad_norm": 1.067172884941101,
|
| 603 |
+
"learning_rate": 0.00017,
|
| 604 |
+
"loss": 0.1385,
|
| 605 |
+
"step": 850
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"epoch": 1.1686615886833516,
|
| 609 |
+
"grad_norm": 1.4434224367141724,
|
| 610 |
+
"learning_rate": 0.000172,
|
| 611 |
+
"loss": 0.1382,
|
| 612 |
+
"step": 860
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"epoch": 1.1822633297062024,
|
| 616 |
+
"grad_norm": 1.0884168148040771,
|
| 617 |
+
"learning_rate": 0.000174,
|
| 618 |
+
"loss": 0.1266,
|
| 619 |
+
"step": 870
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"epoch": 1.1958650707290532,
|
| 623 |
+
"grad_norm": 1.3909893035888672,
|
| 624 |
+
"learning_rate": 0.00017600000000000002,
|
| 625 |
+
"loss": 0.1215,
|
| 626 |
+
"step": 880
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"epoch": 1.2094668117519043,
|
| 630 |
+
"grad_norm": 0.9344027042388916,
|
| 631 |
+
"learning_rate": 0.00017800000000000002,
|
| 632 |
+
"loss": 0.119,
|
| 633 |
+
"step": 890
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"epoch": 1.2230685527747551,
|
| 637 |
+
"grad_norm": 1.1694083213806152,
|
| 638 |
+
"learning_rate": 0.00018,
|
| 639 |
+
"loss": 0.1192,
|
| 640 |
+
"step": 900
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"epoch": 1.2366702937976062,
|
| 644 |
+
"grad_norm": 0.9874443411827087,
|
| 645 |
+
"learning_rate": 0.000182,
|
| 646 |
+
"loss": 0.1278,
|
| 647 |
+
"step": 910
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"epoch": 1.250272034820457,
|
| 651 |
+
"grad_norm": 1.2893680334091187,
|
| 652 |
+
"learning_rate": 0.00018400000000000003,
|
| 653 |
+
"loss": 0.1318,
|
| 654 |
+
"step": 920
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"epoch": 1.263873775843308,
|
| 658 |
+
"grad_norm": 1.3346811532974243,
|
| 659 |
+
"learning_rate": 0.00018600000000000002,
|
| 660 |
+
"loss": 0.128,
|
| 661 |
+
"step": 930
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"epoch": 1.277475516866159,
|
| 665 |
+
"grad_norm": 0.9889335632324219,
|
| 666 |
+
"learning_rate": 0.000188,
|
| 667 |
+
"loss": 0.1372,
|
| 668 |
+
"step": 940
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"epoch": 1.2910772578890097,
|
| 672 |
+
"grad_norm": 1.2218222618103027,
|
| 673 |
+
"learning_rate": 0.00019,
|
| 674 |
+
"loss": 0.1307,
|
| 675 |
+
"step": 950
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"epoch": 1.3046789989118608,
|
| 679 |
+
"grad_norm": 0.897546112537384,
|
| 680 |
+
"learning_rate": 0.000192,
|
| 681 |
+
"loss": 0.1217,
|
| 682 |
+
"step": 960
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"epoch": 1.3182807399347116,
|
| 686 |
+
"grad_norm": 0.9673519730567932,
|
| 687 |
+
"learning_rate": 0.000194,
|
| 688 |
+
"loss": 0.1094,
|
| 689 |
+
"step": 970
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"epoch": 1.3318824809575625,
|
| 693 |
+
"grad_norm": 0.9263612031936646,
|
| 694 |
+
"learning_rate": 0.000196,
|
| 695 |
+
"loss": 0.1111,
|
| 696 |
+
"step": 980
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"epoch": 1.3454842219804135,
|
| 700 |
+
"grad_norm": 1.0785088539123535,
|
| 701 |
+
"learning_rate": 0.00019800000000000002,
|
| 702 |
+
"loss": 0.12,
|
| 703 |
+
"step": 990
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"epoch": 1.3590859630032643,
|
| 707 |
+
"grad_norm": 0.8844039440155029,
|
| 708 |
+
"learning_rate": 0.0002,
|
| 709 |
+
"loss": 0.1211,
|
| 710 |
+
"step": 1000
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"epoch": 1.3726877040261154,
|
| 714 |
+
"grad_norm": 0.8651229739189148,
|
| 715 |
+
"learning_rate": 0.0001999999906373993,
|
| 716 |
+
"loss": 0.1291,
|
| 717 |
+
"step": 1010
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"epoch": 1.3862894450489662,
|
| 721 |
+
"grad_norm": 1.0854979753494263,
|
| 722 |
+
"learning_rate": 0.000199999962549599,
|
| 723 |
+
"loss": 0.125,
|
| 724 |
+
"step": 1020
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"epoch": 1.3998911860718173,
|
| 728 |
+
"grad_norm": 1.303252935409546,
|
| 729 |
+
"learning_rate": 0.00019999991573660427,
|
| 730 |
+
"loss": 0.1295,
|
| 731 |
+
"step": 1030
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"epoch": 1.4134929270946681,
|
| 735 |
+
"grad_norm": 1.0601307153701782,
|
| 736 |
+
"learning_rate": 0.00019999985019842397,
|
| 737 |
+
"loss": 0.1363,
|
| 738 |
+
"step": 1040
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"epoch": 1.427094668117519,
|
| 742 |
+
"grad_norm": 0.8127331733703613,
|
| 743 |
+
"learning_rate": 0.0001999997659350703,
|
| 744 |
+
"loss": 0.1124,
|
| 745 |
+
"step": 1050
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"epoch": 1.44069640914037,
|
| 749 |
+
"grad_norm": 0.867559015750885,
|
| 750 |
+
"learning_rate": 0.0001999996629465591,
|
| 751 |
+
"loss": 0.1157,
|
| 752 |
+
"step": 1060
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"epoch": 1.4542981501632208,
|
| 756 |
+
"grad_norm": 0.8963221907615662,
|
| 757 |
+
"learning_rate": 0.0001999995412329096,
|
| 758 |
+
"loss": 0.1197,
|
| 759 |
+
"step": 1070
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"epoch": 1.467899891186072,
|
| 763 |
+
"grad_norm": 0.7211653590202332,
|
| 764 |
+
"learning_rate": 0.00019999940079414464,
|
| 765 |
+
"loss": 0.11,
|
| 766 |
+
"step": 1080
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"epoch": 1.4815016322089227,
|
| 770 |
+
"grad_norm": 0.8746846914291382,
|
| 771 |
+
"learning_rate": 0.00019999924163029048,
|
| 772 |
+
"loss": 0.104,
|
| 773 |
+
"step": 1090
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"epoch": 1.4951033732317738,
|
| 777 |
+
"grad_norm": 0.6718381643295288,
|
| 778 |
+
"learning_rate": 0.00019999906374137694,
|
| 779 |
+
"loss": 0.1041,
|
| 780 |
+
"step": 1100
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"epoch": 1.5087051142546246,
|
| 784 |
+
"grad_norm": 0.7146100997924805,
|
| 785 |
+
"learning_rate": 0.00019999886712743732,
|
| 786 |
+
"loss": 0.0894,
|
| 787 |
+
"step": 1110
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"epoch": 1.5223068552774754,
|
| 791 |
+
"grad_norm": 0.784561276435852,
|
| 792 |
+
"learning_rate": 0.00019999865178850845,
|
| 793 |
+
"loss": 0.0885,
|
| 794 |
+
"step": 1120
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"epoch": 1.5359085963003265,
|
| 798 |
+
"grad_norm": 0.610625147819519,
|
| 799 |
+
"learning_rate": 0.00019999841772463066,
|
| 800 |
+
"loss": 0.0853,
|
| 801 |
+
"step": 1130
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"epoch": 1.5495103373231773,
|
| 805 |
+
"grad_norm": 0.5619096159934998,
|
| 806 |
+
"learning_rate": 0.00019999816493584775,
|
| 807 |
+
"loss": 0.0788,
|
| 808 |
+
"step": 1140
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"epoch": 1.5631120783460282,
|
| 812 |
+
"grad_norm": 0.5502200126647949,
|
| 813 |
+
"learning_rate": 0.00019999789342220708,
|
| 814 |
+
"loss": 0.0802,
|
| 815 |
+
"step": 1150
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"epoch": 1.5767138193688792,
|
| 819 |
+
"grad_norm": 0.6030136942863464,
|
| 820 |
+
"learning_rate": 0.0001999976031837595,
|
| 821 |
+
"loss": 0.083,
|
| 822 |
+
"step": 1160
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"epoch": 1.5903155603917303,
|
| 826 |
+
"grad_norm": 0.647160530090332,
|
| 827 |
+
"learning_rate": 0.00019999729422055928,
|
| 828 |
+
"loss": 0.0897,
|
| 829 |
+
"step": 1170
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"epoch": 1.603917301414581,
|
| 833 |
+
"grad_norm": 0.7512218952178955,
|
| 834 |
+
"learning_rate": 0.00019999696653266437,
|
| 835 |
+
"loss": 0.08,
|
| 836 |
+
"step": 1180
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"epoch": 1.617519042437432,
|
| 840 |
+
"grad_norm": 0.5823985934257507,
|
| 841 |
+
"learning_rate": 0.00019999662012013612,
|
| 842 |
+
"loss": 0.0772,
|
| 843 |
+
"step": 1190
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"epoch": 1.631120783460283,
|
| 847 |
+
"grad_norm": 0.6494550108909607,
|
| 848 |
+
"learning_rate": 0.00019999625498303932,
|
| 849 |
+
"loss": 0.0772,
|
| 850 |
+
"step": 1200
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"epoch": 1.6447225244831338,
|
| 854 |
+
"grad_norm": 0.5662053823471069,
|
| 855 |
+
"learning_rate": 0.00019999587112144244,
|
| 856 |
+
"loss": 0.0695,
|
| 857 |
+
"step": 1210
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"epoch": 1.6583242655059847,
|
| 861 |
+
"grad_norm": 0.4981078803539276,
|
| 862 |
+
"learning_rate": 0.0001999954685354173,
|
| 863 |
+
"loss": 0.0742,
|
| 864 |
+
"step": 1220
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"epoch": 1.6719260065288357,
|
| 868 |
+
"grad_norm": 0.5595643520355225,
|
| 869 |
+
"learning_rate": 0.00019999504722503927,
|
| 870 |
+
"loss": 0.0693,
|
| 871 |
+
"step": 1230
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"epoch": 1.6855277475516868,
|
| 875 |
+
"grad_norm": 0.49906110763549805,
|
| 876 |
+
"learning_rate": 0.00019999460719038732,
|
| 877 |
+
"loss": 0.0692,
|
| 878 |
+
"step": 1240
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"epoch": 1.6991294885745374,
|
| 882 |
+
"grad_norm": 0.5288122296333313,
|
| 883 |
+
"learning_rate": 0.00019999414843154375,
|
| 884 |
+
"loss": 0.0689,
|
| 885 |
+
"step": 1250
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"epoch": 1.7127312295973884,
|
| 889 |
+
"grad_norm": 0.48555830121040344,
|
| 890 |
+
"learning_rate": 0.00019999367094859452,
|
| 891 |
+
"loss": 0.0655,
|
| 892 |
+
"step": 1260
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"epoch": 1.7263329706202395,
|
| 896 |
+
"grad_norm": 0.5002060532569885,
|
| 897 |
+
"learning_rate": 0.00019999317474162905,
|
| 898 |
+
"loss": 0.0707,
|
| 899 |
+
"step": 1270
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"epoch": 1.7399347116430903,
|
| 903 |
+
"grad_norm": 0.4510345458984375,
|
| 904 |
+
"learning_rate": 0.0001999926598107402,
|
| 905 |
+
"loss": 0.06,
|
| 906 |
+
"step": 1280
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"epoch": 1.7535364526659412,
|
| 910 |
+
"grad_norm": 0.5075559020042419,
|
| 911 |
+
"learning_rate": 0.00019999212615602445,
|
| 912 |
+
"loss": 0.0675,
|
| 913 |
+
"step": 1290
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"epoch": 1.7671381936887922,
|
| 917 |
+
"grad_norm": 0.5471305251121521,
|
| 918 |
+
"learning_rate": 0.0001999915737775817,
|
| 919 |
+
"loss": 0.0661,
|
| 920 |
+
"step": 1300
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"epoch": 1.780739934711643,
|
| 924 |
+
"grad_norm": 0.6649473905563354,
|
| 925 |
+
"learning_rate": 0.00019999100267551538,
|
| 926 |
+
"loss": 0.0746,
|
| 927 |
+
"step": 1310
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"epoch": 1.7943416757344939,
|
| 931 |
+
"grad_norm": 0.6705607175827026,
|
| 932 |
+
"learning_rate": 0.00019999041284993245,
|
| 933 |
+
"loss": 0.075,
|
| 934 |
+
"step": 1320
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"epoch": 1.807943416757345,
|
| 938 |
+
"grad_norm": 0.645964503288269,
|
| 939 |
+
"learning_rate": 0.00019998980430094334,
|
| 940 |
+
"loss": 0.0825,
|
| 941 |
+
"step": 1330
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"epoch": 1.821545157780196,
|
| 945 |
+
"grad_norm": 0.48304426670074463,
|
| 946 |
+
"learning_rate": 0.00019998917702866202,
|
| 947 |
+
"loss": 0.0726,
|
| 948 |
+
"step": 1340
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"epoch": 1.8351468988030468,
|
| 952 |
+
"grad_norm": 0.5829260349273682,
|
| 953 |
+
"learning_rate": 0.00019998853103320592,
|
| 954 |
+
"loss": 0.0674,
|
| 955 |
+
"step": 1350
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"epoch": 1.8487486398258977,
|
| 959 |
+
"grad_norm": 0.6563496589660645,
|
| 960 |
+
"learning_rate": 0.00019998786631469603,
|
| 961 |
+
"loss": 0.0666,
|
| 962 |
+
"step": 1360
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"epoch": 1.8623503808487487,
|
| 966 |
+
"grad_norm": 0.5735076069831848,
|
| 967 |
+
"learning_rate": 0.00019998718287325676,
|
| 968 |
+
"loss": 0.0686,
|
| 969 |
+
"step": 1370
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"epoch": 1.8759521218715995,
|
| 973 |
+
"grad_norm": 0.5888078212738037,
|
| 974 |
+
"learning_rate": 0.0001999864807090162,
|
| 975 |
+
"loss": 0.0728,
|
| 976 |
+
"step": 1380
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"epoch": 1.8895538628944504,
|
| 980 |
+
"grad_norm": 0.5383855700492859,
|
| 981 |
+
"learning_rate": 0.00019998575982210572,
|
| 982 |
+
"loss": 0.0691,
|
| 983 |
+
"step": 1390
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"epoch": 1.9031556039173014,
|
| 987 |
+
"grad_norm": 0.4812714159488678,
|
| 988 |
+
"learning_rate": 0.0001999850202126604,
|
| 989 |
+
"loss": 0.0591,
|
| 990 |
+
"step": 1400
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"epoch": 1.9167573449401525,
|
| 994 |
+
"grad_norm": 0.5054184794425964,
|
| 995 |
+
"learning_rate": 0.00019998426188081865,
|
| 996 |
+
"loss": 0.0657,
|
| 997 |
+
"step": 1410
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"epoch": 1.9303590859630033,
|
| 1001 |
+
"grad_norm": 0.4280984103679657,
|
| 1002 |
+
"learning_rate": 0.0001999834848267225,
|
| 1003 |
+
"loss": 0.0619,
|
| 1004 |
+
"step": 1420
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"epoch": 1.9439608269858542,
|
| 1008 |
+
"grad_norm": 0.7245299816131592,
|
| 1009 |
+
"learning_rate": 0.0001999826890505175,
|
| 1010 |
+
"loss": 0.064,
|
| 1011 |
+
"step": 1430
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"epoch": 1.9575625680087052,
|
| 1015 |
+
"grad_norm": 0.5748353004455566,
|
| 1016 |
+
"learning_rate": 0.0001999818745523526,
|
| 1017 |
+
"loss": 0.0646,
|
| 1018 |
+
"step": 1440
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"epoch": 1.971164309031556,
|
| 1022 |
+
"grad_norm": 0.5662197470664978,
|
| 1023 |
+
"learning_rate": 0.00019998104133238034,
|
| 1024 |
+
"loss": 0.0646,
|
| 1025 |
+
"step": 1450
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"epoch": 1.9847660500544069,
|
| 1029 |
+
"grad_norm": 0.47684717178344727,
|
| 1030 |
+
"learning_rate": 0.00019998018939075673,
|
| 1031 |
+
"loss": 0.0626,
|
| 1032 |
+
"step": 1460
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"epoch": 1.998367791077258,
|
| 1036 |
+
"grad_norm": 0.4988132417201996,
|
| 1037 |
+
"learning_rate": 0.00019997931872764132,
|
| 1038 |
+
"loss": 0.0596,
|
| 1039 |
+
"step": 1470
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"epoch": 2.010881392818281,
|
| 1043 |
+
"grad_norm": 0.48226118087768555,
|
| 1044 |
+
"learning_rate": 0.0001999784293431971,
|
| 1045 |
+
"loss": 0.0579,
|
| 1046 |
+
"step": 1480
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"epoch": 2.0244831338411315,
|
| 1050 |
+
"grad_norm": 0.44725948572158813,
|
| 1051 |
+
"learning_rate": 0.0001999775212375907,
|
| 1052 |
+
"loss": 0.0575,
|
| 1053 |
+
"step": 1490
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"epoch": 2.0380848748639826,
|
| 1057 |
+
"grad_norm": 0.5599634051322937,
|
| 1058 |
+
"learning_rate": 0.00019997659441099206,
|
| 1059 |
+
"loss": 0.0594,
|
| 1060 |
+
"step": 1500
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"epoch": 2.0516866158868337,
|
| 1064 |
+
"grad_norm": 0.47687241435050964,
|
| 1065 |
+
"learning_rate": 0.00019997564886357476,
|
| 1066 |
+
"loss": 0.0601,
|
| 1067 |
+
"step": 1510
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"epoch": 2.0652883569096843,
|
| 1071 |
+
"grad_norm": 0.38273605704307556,
|
| 1072 |
+
"learning_rate": 0.0001999746845955159,
|
| 1073 |
+
"loss": 0.0551,
|
| 1074 |
+
"step": 1520
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"epoch": 2.0788900979325353,
|
| 1078 |
+
"grad_norm": 0.5022798180580139,
|
| 1079 |
+
"learning_rate": 0.00019997370160699602,
|
| 1080 |
+
"loss": 0.0628,
|
| 1081 |
+
"step": 1530
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"epoch": 2.0924918389553864,
|
| 1085 |
+
"grad_norm": 0.4850836992263794,
|
| 1086 |
+
"learning_rate": 0.00019997269989819916,
|
| 1087 |
+
"loss": 0.0562,
|
| 1088 |
+
"step": 1540
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"epoch": 2.1060935799782374,
|
| 1092 |
+
"grad_norm": 0.45668402314186096,
|
| 1093 |
+
"learning_rate": 0.0001999716794693129,
|
| 1094 |
+
"loss": 0.0542,
|
| 1095 |
+
"step": 1550
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"epoch": 2.119695321001088,
|
| 1099 |
+
"grad_norm": 0.4036906361579895,
|
| 1100 |
+
"learning_rate": 0.00019997064032052837,
|
| 1101 |
+
"loss": 0.0556,
|
| 1102 |
+
"step": 1560
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"epoch": 2.133297062023939,
|
| 1106 |
+
"grad_norm": 0.46593400835990906,
|
| 1107 |
+
"learning_rate": 0.00019996958245204009,
|
| 1108 |
+
"loss": 0.0563,
|
| 1109 |
+
"step": 1570
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"epoch": 2.14689880304679,
|
| 1113 |
+
"grad_norm": 0.4298928380012512,
|
| 1114 |
+
"learning_rate": 0.00019996850586404615,
|
| 1115 |
+
"loss": 0.0531,
|
| 1116 |
+
"step": 1580
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"epoch": 2.1605005440696408,
|
| 1120 |
+
"grad_norm": 0.40037456154823303,
|
| 1121 |
+
"learning_rate": 0.00019996741055674816,
|
| 1122 |
+
"loss": 0.0519,
|
| 1123 |
+
"step": 1590
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"epoch": 2.174102285092492,
|
| 1127 |
+
"grad_norm": 0.4456872344017029,
|
| 1128 |
+
"learning_rate": 0.00019996629653035126,
|
| 1129 |
+
"loss": 0.0477,
|
| 1130 |
+
"step": 1600
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"epoch": 2.187704026115343,
|
| 1134 |
+
"grad_norm": 0.5066975355148315,
|
| 1135 |
+
"learning_rate": 0.000199965163785064,
|
| 1136 |
+
"loss": 0.049,
|
| 1137 |
+
"step": 1610
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"epoch": 2.2013057671381935,
|
| 1141 |
+
"grad_norm": 0.39652055501937866,
|
| 1142 |
+
"learning_rate": 0.0001999640123210985,
|
| 1143 |
+
"loss": 0.0485,
|
| 1144 |
+
"step": 1620
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"epoch": 2.2149075081610445,
|
| 1148 |
+
"grad_norm": 0.41883769631385803,
|
| 1149 |
+
"learning_rate": 0.00019996284213867033,
|
| 1150 |
+
"loss": 0.051,
|
| 1151 |
+
"step": 1630
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"epoch": 2.2285092491838956,
|
| 1155 |
+
"grad_norm": 0.4462110996246338,
|
| 1156 |
+
"learning_rate": 0.0001999616532379987,
|
| 1157 |
+
"loss": 0.0515,
|
| 1158 |
+
"step": 1640
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"epoch": 2.2421109902067466,
|
| 1162 |
+
"grad_norm": 0.5779175758361816,
|
| 1163 |
+
"learning_rate": 0.00019996044561930622,
|
| 1164 |
+
"loss": 0.0569,
|
| 1165 |
+
"step": 1650
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"epoch": 2.2557127312295973,
|
| 1169 |
+
"grad_norm": 0.42402154207229614,
|
| 1170 |
+
"learning_rate": 0.00019995921928281894,
|
| 1171 |
+
"loss": 0.0519,
|
| 1172 |
+
"step": 1660
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"epoch": 2.2693144722524483,
|
| 1176 |
+
"grad_norm": 0.642371654510498,
|
| 1177 |
+
"learning_rate": 0.00019995797422876654,
|
| 1178 |
+
"loss": 0.0612,
|
| 1179 |
+
"step": 1670
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"epoch": 2.2829162132752994,
|
| 1183 |
+
"grad_norm": 0.44712305068969727,
|
| 1184 |
+
"learning_rate": 0.0001999567104573822,
|
| 1185 |
+
"loss": 0.0555,
|
| 1186 |
+
"step": 1680
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"epoch": 2.29651795429815,
|
| 1190 |
+
"grad_norm": 0.5107985138893127,
|
| 1191 |
+
"learning_rate": 0.0001999554279689025,
|
| 1192 |
+
"loss": 0.0629,
|
| 1193 |
+
"step": 1690
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"epoch": 2.310119695321001,
|
| 1197 |
+
"grad_norm": 0.4252520203590393,
|
| 1198 |
+
"learning_rate": 0.00019995412676356762,
|
| 1199 |
+
"loss": 0.0511,
|
| 1200 |
+
"step": 1700
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"epoch": 2.323721436343852,
|
| 1204 |
+
"grad_norm": 0.413331001996994,
|
| 1205 |
+
"learning_rate": 0.0001999528068416212,
|
| 1206 |
+
"loss": 0.0504,
|
| 1207 |
+
"step": 1710
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"epoch": 2.337323177366703,
|
| 1211 |
+
"grad_norm": 0.4216318726539612,
|
| 1212 |
+
"learning_rate": 0.0001999514682033104,
|
| 1213 |
+
"loss": 0.0539,
|
| 1214 |
+
"step": 1720
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"epoch": 2.3509249183895538,
|
| 1218 |
+
"grad_norm": 0.5241215825080872,
|
| 1219 |
+
"learning_rate": 0.0001999501108488859,
|
| 1220 |
+
"loss": 0.0551,
|
| 1221 |
+
"step": 1730
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"epoch": 2.364526659412405,
|
| 1225 |
+
"grad_norm": 0.48192480206489563,
|
| 1226 |
+
"learning_rate": 0.00019994873477860185,
|
| 1227 |
+
"loss": 0.0591,
|
| 1228 |
+
"step": 1740
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"epoch": 2.378128400435256,
|
| 1232 |
+
"grad_norm": 0.5567557215690613,
|
| 1233 |
+
"learning_rate": 0.00019994733999271596,
|
| 1234 |
+
"loss": 0.0522,
|
| 1235 |
+
"step": 1750
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"epoch": 2.3917301414581065,
|
| 1239 |
+
"grad_norm": 0.4027807414531708,
|
| 1240 |
+
"learning_rate": 0.00019994592649148933,
|
| 1241 |
+
"loss": 0.0524,
|
| 1242 |
+
"step": 1760
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"epoch": 2.4053318824809575,
|
| 1246 |
+
"grad_norm": 0.40923604369163513,
|
| 1247 |
+
"learning_rate": 0.0001999444942751867,
|
| 1248 |
+
"loss": 0.0533,
|
| 1249 |
+
"step": 1770
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"epoch": 2.4189336235038086,
|
| 1253 |
+
"grad_norm": 0.37654557824134827,
|
| 1254 |
+
"learning_rate": 0.00019994304334407622,
|
| 1255 |
+
"loss": 0.0482,
|
| 1256 |
+
"step": 1780
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"epoch": 2.432535364526659,
|
| 1260 |
+
"grad_norm": 0.37279561161994934,
|
| 1261 |
+
"learning_rate": 0.00019994157369842964,
|
| 1262 |
+
"loss": 0.0448,
|
| 1263 |
+
"step": 1790
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"epoch": 2.4461371055495102,
|
| 1267 |
+
"grad_norm": 0.34426528215408325,
|
| 1268 |
+
"learning_rate": 0.0001999400853385221,
|
| 1269 |
+
"loss": 0.0467,
|
| 1270 |
+
"step": 1800
|
| 1271 |
+
},
|
| 1272 |
+
{
|
| 1273 |
+
"epoch": 2.4597388465723613,
|
| 1274 |
+
"grad_norm": 0.4583146870136261,
|
| 1275 |
+
"learning_rate": 0.00019993857826463231,
|
| 1276 |
+
"loss": 0.0501,
|
| 1277 |
+
"step": 1810
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"epoch": 2.4733405875952124,
|
| 1281 |
+
"grad_norm": 0.4296802878379822,
|
| 1282 |
+
"learning_rate": 0.00019993705247704245,
|
| 1283 |
+
"loss": 0.0475,
|
| 1284 |
+
"step": 1820
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"epoch": 2.486942328618063,
|
| 1288 |
+
"grad_norm": 0.3417333960533142,
|
| 1289 |
+
"learning_rate": 0.00019993550797603828,
|
| 1290 |
+
"loss": 0.0475,
|
| 1291 |
+
"step": 1830
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"epoch": 2.500544069640914,
|
| 1295 |
+
"grad_norm": 0.3391024172306061,
|
| 1296 |
+
"learning_rate": 0.000199933944761909,
|
| 1297 |
+
"loss": 0.0428,
|
| 1298 |
+
"step": 1840
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"epoch": 2.514145810663765,
|
| 1302 |
+
"grad_norm": 0.4173300862312317,
|
| 1303 |
+
"learning_rate": 0.00019993236283494728,
|
| 1304 |
+
"loss": 0.0487,
|
| 1305 |
+
"step": 1850
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"epoch": 2.527747551686616,
|
| 1309 |
+
"grad_norm": 0.41140830516815186,
|
| 1310 |
+
"learning_rate": 0.00019993076219544938,
|
| 1311 |
+
"loss": 0.0499,
|
| 1312 |
+
"step": 1860
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"epoch": 2.5413492927094667,
|
| 1316 |
+
"grad_norm": 0.4615647494792938,
|
| 1317 |
+
"learning_rate": 0.00019992914284371497,
|
| 1318 |
+
"loss": 0.0485,
|
| 1319 |
+
"step": 1870
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"epoch": 2.554951033732318,
|
| 1323 |
+
"grad_norm": 0.4390008747577667,
|
| 1324 |
+
"learning_rate": 0.00019992750478004738,
|
| 1325 |
+
"loss": 0.0476,
|
| 1326 |
+
"step": 1880
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"epoch": 2.568552774755169,
|
| 1330 |
+
"grad_norm": 0.36641502380371094,
|
| 1331 |
+
"learning_rate": 0.00019992584800475322,
|
| 1332 |
+
"loss": 0.0421,
|
| 1333 |
+
"step": 1890
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"epoch": 2.5821545157780195,
|
| 1337 |
+
"grad_norm": 0.43274542689323425,
|
| 1338 |
+
"learning_rate": 0.00019992417251814282,
|
| 1339 |
+
"loss": 0.048,
|
| 1340 |
+
"step": 1900
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"epoch": 2.5957562568008705,
|
| 1344 |
+
"grad_norm": 0.39262470602989197,
|
| 1345 |
+
"learning_rate": 0.0001999224783205299,
|
| 1346 |
+
"loss": 0.0482,
|
| 1347 |
+
"step": 1910
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"epoch": 2.6093579978237216,
|
| 1351 |
+
"grad_norm": 0.3618634343147278,
|
| 1352 |
+
"learning_rate": 0.0001999207654122316,
|
| 1353 |
+
"loss": 0.0464,
|
| 1354 |
+
"step": 1920
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"epoch": 2.622959738846572,
|
| 1358 |
+
"grad_norm": 0.3481171727180481,
|
| 1359 |
+
"learning_rate": 0.0001999190337935688,
|
| 1360 |
+
"loss": 0.0478,
|
| 1361 |
+
"step": 1930
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"epoch": 2.6365614798694232,
|
| 1365 |
+
"grad_norm": 0.33801841735839844,
|
| 1366 |
+
"learning_rate": 0.0001999172834648657,
|
| 1367 |
+
"loss": 0.0444,
|
| 1368 |
+
"step": 1940
|
| 1369 |
+
},
|
| 1370 |
+
{
|
| 1371 |
+
"epoch": 2.6501632208922743,
|
| 1372 |
+
"grad_norm": 0.337028443813324,
|
| 1373 |
+
"learning_rate": 0.00019991551442645006,
|
| 1374 |
+
"loss": 0.0403,
|
| 1375 |
+
"step": 1950
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"epoch": 2.663764961915125,
|
| 1379 |
+
"grad_norm": 0.3380604684352875,
|
| 1380 |
+
"learning_rate": 0.0001999137266786531,
|
| 1381 |
+
"loss": 0.0483,
|
| 1382 |
+
"step": 1960
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"epoch": 2.677366702937976,
|
| 1386 |
+
"grad_norm": 0.44155481457710266,
|
| 1387 |
+
"learning_rate": 0.0001999119202218096,
|
| 1388 |
+
"loss": 0.045,
|
| 1389 |
+
"step": 1970
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"epoch": 2.690968443960827,
|
| 1393 |
+
"grad_norm": 0.43442797660827637,
|
| 1394 |
+
"learning_rate": 0.00019991009505625784,
|
| 1395 |
+
"loss": 0.0442,
|
| 1396 |
+
"step": 1980
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"epoch": 2.704570184983678,
|
| 1400 |
+
"grad_norm": 0.4352855980396271,
|
| 1401 |
+
"learning_rate": 0.00019990825118233957,
|
| 1402 |
+
"loss": 0.0463,
|
| 1403 |
+
"step": 1990
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"epoch": 2.7181719260065287,
|
| 1407 |
+
"grad_norm": 0.5073570609092712,
|
| 1408 |
+
"learning_rate": 0.00019990638860040006,
|
| 1409 |
+
"loss": 0.0492,
|
| 1410 |
+
"step": 2000
|
| 1411 |
+
}
|
| 1412 |
+
],
|
| 1413 |
+
"logging_steps": 10,
|
| 1414 |
+
"max_steps": 73600,
|
| 1415 |
+
"num_input_tokens_seen": 0,
|
| 1416 |
+
"num_train_epochs": 100,
|
| 1417 |
+
"save_steps": 2000,
|
| 1418 |
+
"stateful_callbacks": {
|
| 1419 |
+
"TrainerControl": {
|
| 1420 |
+
"args": {
|
| 1421 |
+
"should_epoch_stop": false,
|
| 1422 |
+
"should_evaluate": false,
|
| 1423 |
+
"should_log": false,
|
| 1424 |
+
"should_save": true,
|
| 1425 |
+
"should_training_stop": false
|
| 1426 |
+
},
|
| 1427 |
+
"attributes": {}
|
| 1428 |
+
}
|
| 1429 |
+
},
|
| 1430 |
+
"total_flos": 5.54846097526789e+21,
|
| 1431 |
+
"train_batch_size": 32,
|
| 1432 |
+
"trial_name": null,
|
| 1433 |
+
"trial_params": null
|
| 1434 |
+
}
|
checkpoint-2000/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcd44d29a3be7a77bcdd56e43242b0a77b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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python
|
| 2 |
+
|
| 3 |
+
# Copyright (c) Microsoft Corporation.
|
| 4 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 5 |
+
|
| 6 |
+
# DeepSpeed Team
|
| 7 |
+
|
| 8 |
+
# This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
|
| 9 |
+
# copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
|
| 10 |
+
# the future. Once extracted, the weights don't require DeepSpeed and can be used in any
|
| 11 |
+
# application.
|
| 12 |
+
#
|
| 13 |
+
# example:
|
| 14 |
+
# python zero_to_fp32.py . output_dir/
|
| 15 |
+
# or
|
| 16 |
+
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
+
|
| 18 |
+
import argparse
|
| 19 |
+
import torch
|
| 20 |
+
import glob
|
| 21 |
+
import math
|
| 22 |
+
import os
|
| 23 |
+
import re
|
| 24 |
+
import gc
|
| 25 |
+
import json
|
| 26 |
+
import numpy as np
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
from collections import OrderedDict
|
| 29 |
+
from dataclasses import dataclass
|
| 30 |
+
|
| 31 |
+
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 32 |
+
# DeepSpeed data structures it has to be available in the current python environment.
|
| 33 |
+
from deepspeed.utils import logger
|
| 34 |
+
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 35 |
+
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 36 |
+
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class zero_model_state:
|
| 41 |
+
buffers: dict()
|
| 42 |
+
param_shapes: dict()
|
| 43 |
+
shared_params: list
|
| 44 |
+
ds_version: int
|
| 45 |
+
frozen_param_shapes: dict()
|
| 46 |
+
frozen_param_fragments: dict()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
debug = 0
|
| 50 |
+
|
| 51 |
+
# load to cpu
|
| 52 |
+
device = torch.device('cpu')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def atoi(text):
|
| 56 |
+
return int(text) if text.isdigit() else text
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def natural_keys(text):
|
| 60 |
+
'''
|
| 61 |
+
alist.sort(key=natural_keys) sorts in human order
|
| 62 |
+
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 63 |
+
(See Toothy's implementation in the comments)
|
| 64 |
+
'''
|
| 65 |
+
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 69 |
+
if not os.path.isdir(checkpoint_dir):
|
| 70 |
+
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 71 |
+
|
| 72 |
+
# there should be only one file
|
| 73 |
+
if zero_stage <= 2:
|
| 74 |
+
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 75 |
+
elif zero_stage == 3:
|
| 76 |
+
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 77 |
+
|
| 78 |
+
if not os.path.exists(file):
|
| 79 |
+
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 80 |
+
|
| 81 |
+
return file
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 85 |
+
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 86 |
+
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 87 |
+
|
| 88 |
+
if len(ckpt_files) == 0:
|
| 89 |
+
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 90 |
+
|
| 91 |
+
return ckpt_files
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def get_optim_files(checkpoint_dir):
|
| 95 |
+
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def get_model_state_files(checkpoint_dir):
|
| 99 |
+
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def parse_model_states(files):
|
| 103 |
+
zero_model_states = []
|
| 104 |
+
for file in files:
|
| 105 |
+
state_dict = torch.load(file, map_location=device, weights_only=False)
|
| 106 |
+
|
| 107 |
+
if BUFFER_NAMES not in state_dict:
|
| 108 |
+
raise ValueError(f"{file} is not a model state checkpoint")
|
| 109 |
+
buffer_names = state_dict[BUFFER_NAMES]
|
| 110 |
+
if debug:
|
| 111 |
+
print("Found buffers:", buffer_names)
|
| 112 |
+
|
| 113 |
+
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 114 |
+
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 115 |
+
param_shapes = state_dict[PARAM_SHAPES]
|
| 116 |
+
|
| 117 |
+
# collect parameters that are included in param_shapes
|
| 118 |
+
param_names = []
|
| 119 |
+
for s in param_shapes:
|
| 120 |
+
for name in s.keys():
|
| 121 |
+
param_names.append(name)
|
| 122 |
+
|
| 123 |
+
# update with frozen parameters
|
| 124 |
+
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 125 |
+
if frozen_param_shapes is not None:
|
| 126 |
+
if debug:
|
| 127 |
+
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 128 |
+
param_names += list(frozen_param_shapes.keys())
|
| 129 |
+
|
| 130 |
+
# handle shared params
|
| 131 |
+
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 132 |
+
|
| 133 |
+
ds_version = state_dict.get(DS_VERSION, None)
|
| 134 |
+
|
| 135 |
+
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 136 |
+
|
| 137 |
+
z_model_state = zero_model_state(buffers=buffers,
|
| 138 |
+
param_shapes=param_shapes,
|
| 139 |
+
shared_params=shared_params,
|
| 140 |
+
ds_version=ds_version,
|
| 141 |
+
frozen_param_shapes=frozen_param_shapes,
|
| 142 |
+
frozen_param_fragments=frozen_param_fragments)
|
| 143 |
+
zero_model_states.append(z_model_state)
|
| 144 |
+
|
| 145 |
+
return zero_model_states
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def parse_optim_states(files, ds_checkpoint_dir):
|
| 149 |
+
total_files = len(files)
|
| 150 |
+
state_dicts = []
|
| 151 |
+
for f in tqdm(files, desc='Loading checkpoint shards'):
|
| 152 |
+
state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
|
| 153 |
+
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 154 |
+
# and also handle the case where it was already removed by another helper script
|
| 155 |
+
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 156 |
+
state_dicts.append(state_dict)
|
| 157 |
+
|
| 158 |
+
if ZERO_STAGE not in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 159 |
+
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 160 |
+
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 161 |
+
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 162 |
+
|
| 163 |
+
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 164 |
+
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 165 |
+
# use the max of the partition_count to get the dp world_size.
|
| 166 |
+
|
| 167 |
+
if type(world_size) is list:
|
| 168 |
+
world_size = max(world_size)
|
| 169 |
+
|
| 170 |
+
if world_size != total_files:
|
| 171 |
+
raise ValueError(
|
| 172 |
+
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 173 |
+
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# the groups are named differently in each stage
|
| 177 |
+
if zero_stage <= 2:
|
| 178 |
+
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 179 |
+
elif zero_stage == 3:
|
| 180 |
+
fp32_groups_key = FP32_FLAT_GROUPS
|
| 181 |
+
else:
|
| 182 |
+
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 183 |
+
|
| 184 |
+
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 185 |
+
return zero_stage, world_size, fp32_flat_groups
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 189 |
+
"""
|
| 190 |
+
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 191 |
+
|
| 192 |
+
Args:
|
| 193 |
+
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 194 |
+
|
| 195 |
+
"""
|
| 196 |
+
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 197 |
+
|
| 198 |
+
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 199 |
+
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 200 |
+
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 201 |
+
|
| 202 |
+
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 203 |
+
|
| 204 |
+
zero_model_states = parse_model_states(model_files)
|
| 205 |
+
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 206 |
+
|
| 207 |
+
if zero_stage <= 2:
|
| 208 |
+
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 209 |
+
exclude_frozen_parameters)
|
| 210 |
+
elif zero_stage == 3:
|
| 211 |
+
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 212 |
+
exclude_frozen_parameters)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 216 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 217 |
+
return
|
| 218 |
+
|
| 219 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 220 |
+
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 221 |
+
|
| 222 |
+
if debug:
|
| 223 |
+
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 224 |
+
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 225 |
+
|
| 226 |
+
wanted_params = len(frozen_param_shapes)
|
| 227 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 228 |
+
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 229 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 230 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 231 |
+
|
| 232 |
+
total_params = 0
|
| 233 |
+
total_numel = 0
|
| 234 |
+
for name, shape in frozen_param_shapes.items():
|
| 235 |
+
total_params += 1
|
| 236 |
+
unpartitioned_numel = shape.numel()
|
| 237 |
+
total_numel += unpartitioned_numel
|
| 238 |
+
|
| 239 |
+
state_dict[name] = frozen_param_fragments[name]
|
| 240 |
+
|
| 241 |
+
if debug:
|
| 242 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 243 |
+
|
| 244 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def _has_callable(obj, fn):
|
| 248 |
+
attr = getattr(obj, fn, None)
|
| 249 |
+
return callable(attr)
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 253 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 254 |
+
|
| 255 |
+
# Reconstruction protocol:
|
| 256 |
+
#
|
| 257 |
+
# XXX: document this
|
| 258 |
+
|
| 259 |
+
if debug:
|
| 260 |
+
for i in range(world_size):
|
| 261 |
+
for j in range(len(fp32_flat_groups[0])):
|
| 262 |
+
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 263 |
+
|
| 264 |
+
# XXX: memory usage doubles here (zero2)
|
| 265 |
+
num_param_groups = len(fp32_flat_groups[0])
|
| 266 |
+
merged_single_partition_of_fp32_groups = []
|
| 267 |
+
for i in range(num_param_groups):
|
| 268 |
+
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 269 |
+
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 270 |
+
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 271 |
+
avail_numel = sum(
|
| 272 |
+
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 273 |
+
|
| 274 |
+
if debug:
|
| 275 |
+
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 276 |
+
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 277 |
+
# not asserting if there is a mismatch due to possible padding
|
| 278 |
+
print(f"Have {avail_numel} numels to process.")
|
| 279 |
+
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 280 |
+
|
| 281 |
+
# params
|
| 282 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 283 |
+
# out-of-core computing solution
|
| 284 |
+
total_numel = 0
|
| 285 |
+
total_params = 0
|
| 286 |
+
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 287 |
+
offset = 0
|
| 288 |
+
avail_numel = full_single_fp32_vector.numel()
|
| 289 |
+
for name, shape in shapes.items():
|
| 290 |
+
|
| 291 |
+
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 292 |
+
total_numel += unpartitioned_numel
|
| 293 |
+
total_params += 1
|
| 294 |
+
|
| 295 |
+
if debug:
|
| 296 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 297 |
+
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 298 |
+
offset += unpartitioned_numel
|
| 299 |
+
|
| 300 |
+
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 301 |
+
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 302 |
+
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 303 |
+
# live optimizer object, so we are checking that the numbers are within the right range
|
| 304 |
+
align_to = 2 * world_size
|
| 305 |
+
|
| 306 |
+
def zero2_align(x):
|
| 307 |
+
return align_to * math.ceil(x / align_to)
|
| 308 |
+
|
| 309 |
+
if debug:
|
| 310 |
+
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 311 |
+
|
| 312 |
+
offset = zero2_align(offset)
|
| 313 |
+
avail_numel = zero2_align(avail_numel)
|
| 314 |
+
|
| 315 |
+
if debug:
|
| 316 |
+
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 317 |
+
|
| 318 |
+
# Sanity check
|
| 319 |
+
if offset != avail_numel:
|
| 320 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 321 |
+
|
| 322 |
+
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 326 |
+
exclude_frozen_parameters):
|
| 327 |
+
state_dict = OrderedDict()
|
| 328 |
+
|
| 329 |
+
# buffers
|
| 330 |
+
buffers = zero_model_states[0].buffers
|
| 331 |
+
state_dict.update(buffers)
|
| 332 |
+
if debug:
|
| 333 |
+
print(f"added {len(buffers)} buffers")
|
| 334 |
+
|
| 335 |
+
if not exclude_frozen_parameters:
|
| 336 |
+
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 337 |
+
|
| 338 |
+
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 339 |
+
|
| 340 |
+
# recover shared parameters
|
| 341 |
+
for pair in zero_model_states[0].shared_params:
|
| 342 |
+
if pair[1] in state_dict:
|
| 343 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 344 |
+
|
| 345 |
+
return state_dict
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 349 |
+
remainder = unpartitioned_numel % world_size
|
| 350 |
+
padding_numel = (world_size - remainder) if remainder else 0
|
| 351 |
+
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 352 |
+
return partitioned_numel, padding_numel
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 356 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 357 |
+
return
|
| 358 |
+
|
| 359 |
+
if debug:
|
| 360 |
+
for i in range(world_size):
|
| 361 |
+
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 362 |
+
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 363 |
+
|
| 364 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 365 |
+
wanted_params = len(frozen_param_shapes)
|
| 366 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 367 |
+
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 368 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 369 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 370 |
+
|
| 371 |
+
total_params = 0
|
| 372 |
+
total_numel = 0
|
| 373 |
+
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 374 |
+
total_params += 1
|
| 375 |
+
unpartitioned_numel = shape.numel()
|
| 376 |
+
total_numel += unpartitioned_numel
|
| 377 |
+
|
| 378 |
+
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 379 |
+
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 380 |
+
|
| 381 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 382 |
+
|
| 383 |
+
if debug:
|
| 384 |
+
print(
|
| 385 |
+
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
class GatheredTensor:
|
| 392 |
+
"""
|
| 393 |
+
A pseudo tensor that collects partitioned weights.
|
| 394 |
+
It is more memory efficient when there are multiple groups.
|
| 395 |
+
"""
|
| 396 |
+
|
| 397 |
+
def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
|
| 398 |
+
self.flat_groups = flat_groups
|
| 399 |
+
self.flat_groups_offset = flat_groups_offset
|
| 400 |
+
self.offset = offset
|
| 401 |
+
self.partitioned_numel = partitioned_numel
|
| 402 |
+
self.shape = shape
|
| 403 |
+
self.dtype = self.flat_groups[0][0].dtype
|
| 404 |
+
|
| 405 |
+
def contiguous(self):
|
| 406 |
+
"""
|
| 407 |
+
Merge partitioned weights from flat_groups into a single tensor.
|
| 408 |
+
"""
|
| 409 |
+
end_idx = self.offset + self.partitioned_numel
|
| 410 |
+
world_size = len(self.flat_groups)
|
| 411 |
+
pad_flat_param_chunks = []
|
| 412 |
+
|
| 413 |
+
for rank_i in range(world_size):
|
| 414 |
+
# for each rank, we need to collect weights from related group/groups
|
| 415 |
+
flat_groups_at_rank_i = self.flat_groups[rank_i]
|
| 416 |
+
start_group_id = None
|
| 417 |
+
end_group_id = None
|
| 418 |
+
for group_id in range(len(self.flat_groups_offset)):
|
| 419 |
+
if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
|
| 420 |
+
start_group_id = group_id
|
| 421 |
+
if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
|
| 422 |
+
end_group_id = group_id
|
| 423 |
+
break
|
| 424 |
+
# collect weights from related group/groups
|
| 425 |
+
for group_id in range(start_group_id, end_group_id + 1):
|
| 426 |
+
flat_tensor = flat_groups_at_rank_i[group_id]
|
| 427 |
+
start_offset = self.offset - self.flat_groups_offset[group_id]
|
| 428 |
+
end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
|
| 429 |
+
pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
|
| 430 |
+
|
| 431 |
+
# collect weights from all ranks
|
| 432 |
+
pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
|
| 433 |
+
param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
|
| 434 |
+
return param
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 438 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 439 |
+
avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
|
| 440 |
+
|
| 441 |
+
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 442 |
+
# param, re-consolidating each param, while dealing with padding if any
|
| 443 |
+
|
| 444 |
+
# merge list of dicts, preserving order
|
| 445 |
+
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 446 |
+
|
| 447 |
+
if debug:
|
| 448 |
+
for i in range(world_size):
|
| 449 |
+
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 450 |
+
|
| 451 |
+
wanted_params = len(param_shapes)
|
| 452 |
+
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 453 |
+
# not asserting if there is a mismatch due to possible padding
|
| 454 |
+
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 455 |
+
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 456 |
+
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 457 |
+
|
| 458 |
+
# params
|
| 459 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 460 |
+
# out-of-core computing solution
|
| 461 |
+
offset = 0
|
| 462 |
+
total_numel = 0
|
| 463 |
+
total_params = 0
|
| 464 |
+
flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
|
| 465 |
+
for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
|
| 466 |
+
unpartitioned_numel = shape.numel()
|
| 467 |
+
total_numel += unpartitioned_numel
|
| 468 |
+
total_params += 1
|
| 469 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 470 |
+
|
| 471 |
+
if debug:
|
| 472 |
+
print(
|
| 473 |
+
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 474 |
+
)
|
| 475 |
+
|
| 476 |
+
# memory efficient tensor
|
| 477 |
+
tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
|
| 478 |
+
state_dict[name] = tensor
|
| 479 |
+
offset += partitioned_numel
|
| 480 |
+
|
| 481 |
+
offset *= world_size
|
| 482 |
+
|
| 483 |
+
# Sanity check
|
| 484 |
+
if offset != avail_numel:
|
| 485 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 486 |
+
|
| 487 |
+
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 491 |
+
exclude_frozen_parameters):
|
| 492 |
+
state_dict = OrderedDict()
|
| 493 |
+
|
| 494 |
+
# buffers
|
| 495 |
+
buffers = zero_model_states[0].buffers
|
| 496 |
+
state_dict.update(buffers)
|
| 497 |
+
if debug:
|
| 498 |
+
print(f"added {len(buffers)} buffers")
|
| 499 |
+
|
| 500 |
+
if not exclude_frozen_parameters:
|
| 501 |
+
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 502 |
+
|
| 503 |
+
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 504 |
+
|
| 505 |
+
# recover shared parameters
|
| 506 |
+
for pair in zero_model_states[0].shared_params:
|
| 507 |
+
if pair[1] in state_dict:
|
| 508 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 509 |
+
|
| 510 |
+
return state_dict
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def to_torch_tensor(state_dict, return_empty_tensor=False):
|
| 514 |
+
"""
|
| 515 |
+
Convert state_dict of GatheredTensor to torch tensor
|
| 516 |
+
"""
|
| 517 |
+
torch_state_dict = {}
|
| 518 |
+
converted_tensors = {}
|
| 519 |
+
for name, tensor in state_dict.items():
|
| 520 |
+
tensor_id = id(tensor)
|
| 521 |
+
if tensor_id in converted_tensors: # shared tensors
|
| 522 |
+
shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
|
| 523 |
+
torch_state_dict[name] = shared_tensor
|
| 524 |
+
else:
|
| 525 |
+
converted_tensors[tensor_id] = name
|
| 526 |
+
if return_empty_tensor:
|
| 527 |
+
torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
|
| 528 |
+
else:
|
| 529 |
+
torch_state_dict[name] = tensor.contiguous()
|
| 530 |
+
return torch_state_dict
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 534 |
+
tag=None,
|
| 535 |
+
exclude_frozen_parameters=False,
|
| 536 |
+
lazy_mode=False):
|
| 537 |
+
"""
|
| 538 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 539 |
+
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 540 |
+
via a model hub.
|
| 541 |
+
|
| 542 |
+
Args:
|
| 543 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 544 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
|
| 545 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 546 |
+
- ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
|
| 547 |
+
Convert the pesduo tensor to torch tensor by ``.contiguous()``
|
| 548 |
+
|
| 549 |
+
Returns:
|
| 550 |
+
- pytorch ``state_dict``
|
| 551 |
+
|
| 552 |
+
A typical usage might be ::
|
| 553 |
+
|
| 554 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 555 |
+
# do the training and checkpoint saving
|
| 556 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 557 |
+
model = model.cpu() # move to cpu
|
| 558 |
+
model.load_state_dict(state_dict)
|
| 559 |
+
# submit to model hub or save the model to share with others
|
| 560 |
+
|
| 561 |
+
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 562 |
+
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 563 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 564 |
+
|
| 565 |
+
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 566 |
+
|
| 567 |
+
Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
|
| 568 |
+
You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 569 |
+
the checkpoint. Or you can load state_dict in lazy mode ::
|
| 570 |
+
|
| 571 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 572 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
|
| 573 |
+
for name, lazy_tensor in state_dict.item():
|
| 574 |
+
tensor = lazy_tensor.contiguous() # to cpu
|
| 575 |
+
print(name, tensor)
|
| 576 |
+
# del tensor to release memory if it no longer in use
|
| 577 |
+
"""
|
| 578 |
+
if tag is None:
|
| 579 |
+
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 580 |
+
if os.path.isfile(latest_path):
|
| 581 |
+
with open(latest_path, 'r') as fd:
|
| 582 |
+
tag = fd.read().strip()
|
| 583 |
+
else:
|
| 584 |
+
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 585 |
+
|
| 586 |
+
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 587 |
+
|
| 588 |
+
if not os.path.isdir(ds_checkpoint_dir):
|
| 589 |
+
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 590 |
+
|
| 591 |
+
state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 592 |
+
if lazy_mode:
|
| 593 |
+
return state_dict
|
| 594 |
+
else:
|
| 595 |
+
return to_torch_tensor(state_dict)
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 599 |
+
output_dir,
|
| 600 |
+
max_shard_size="5GB",
|
| 601 |
+
safe_serialization=False,
|
| 602 |
+
tag=None,
|
| 603 |
+
exclude_frozen_parameters=False):
|
| 604 |
+
"""
|
| 605 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 606 |
+
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 607 |
+
|
| 608 |
+
Args:
|
| 609 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 610 |
+
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 611 |
+
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 612 |
+
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 613 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 614 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 615 |
+
"""
|
| 616 |
+
|
| 617 |
+
# Dependency pre-check
|
| 618 |
+
if safe_serialization:
|
| 619 |
+
try:
|
| 620 |
+
from safetensors.torch import save_file
|
| 621 |
+
except ImportError:
|
| 622 |
+
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 623 |
+
raise
|
| 624 |
+
if max_shard_size is not None:
|
| 625 |
+
try:
|
| 626 |
+
from huggingface_hub import split_torch_state_dict_into_shards
|
| 627 |
+
except ImportError:
|
| 628 |
+
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 629 |
+
raise
|
| 630 |
+
|
| 631 |
+
# Convert zero checkpoint to state_dict
|
| 632 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 633 |
+
tag,
|
| 634 |
+
exclude_frozen_parameters,
|
| 635 |
+
lazy_mode=True)
|
| 636 |
+
|
| 637 |
+
# Shard the model if it is too big.
|
| 638 |
+
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 639 |
+
if max_shard_size is not None:
|
| 640 |
+
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 641 |
+
# an memory-efficient approach for sharding
|
| 642 |
+
empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
|
| 643 |
+
state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
|
| 644 |
+
filename_pattern=filename_pattern,
|
| 645 |
+
max_shard_size=max_shard_size)
|
| 646 |
+
else:
|
| 647 |
+
from collections import namedtuple
|
| 648 |
+
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 649 |
+
state_dict_split = StateDictSplit(is_sharded=False,
|
| 650 |
+
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 651 |
+
|
| 652 |
+
# Save the model by shard
|
| 653 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 654 |
+
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 655 |
+
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 656 |
+
shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
|
| 657 |
+
shard_state_dict = to_torch_tensor(shard_state_dict)
|
| 658 |
+
output_path = os.path.join(output_dir, shard_file)
|
| 659 |
+
if safe_serialization:
|
| 660 |
+
save_file(shard_state_dict, output_path, metadata={"format": "pt"})
|
| 661 |
+
else:
|
| 662 |
+
torch.save(shard_state_dict, output_path)
|
| 663 |
+
# release the memory of current shard
|
| 664 |
+
for tensor_name in list(shard_state_dict.keys()):
|
| 665 |
+
del state_dict[tensor_name]
|
| 666 |
+
del shard_state_dict[tensor_name]
|
| 667 |
+
del shard_state_dict
|
| 668 |
+
gc.collect()
|
| 669 |
+
|
| 670 |
+
# Save index if sharded
|
| 671 |
+
if state_dict_split.is_sharded:
|
| 672 |
+
index = {
|
| 673 |
+
"metadata": state_dict_split.metadata,
|
| 674 |
+
"weight_map": state_dict_split.tensor_to_filename,
|
| 675 |
+
}
|
| 676 |
+
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 677 |
+
save_index_file = os.path.join(output_dir, save_index_file)
|
| 678 |
+
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 679 |
+
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 680 |
+
f.write(content)
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 684 |
+
"""
|
| 685 |
+
1. Put the provided model to cpu
|
| 686 |
+
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 687 |
+
3. Load it into the provided model
|
| 688 |
+
|
| 689 |
+
Args:
|
| 690 |
+
- ``model``: the model object to update
|
| 691 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 692 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 693 |
+
|
| 694 |
+
Returns:
|
| 695 |
+
- ``model`: modified model
|
| 696 |
+
|
| 697 |
+
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 698 |
+
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 699 |
+
conveniently placed for you in the checkpoint folder.
|
| 700 |
+
|
| 701 |
+
A typical usage might be ::
|
| 702 |
+
|
| 703 |
+
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 704 |
+
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 705 |
+
# submit to model hub or save the model to share with others
|
| 706 |
+
|
| 707 |
+
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 708 |
+
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 709 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 710 |
+
|
| 711 |
+
"""
|
| 712 |
+
logger.info("Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info("Overwriting model with fp32 weights")
|
| 716 |
+
model = model.cpu()
|
| 717 |
+
model.load_state_dict(state_dict, strict=False)
|
| 718 |
+
|
| 719 |
+
return model
|
| 720 |
+
|
| 721 |
+
|
| 722 |
+
if __name__ == "__main__":
|
| 723 |
+
parser = argparse.ArgumentParser()
|
| 724 |
+
parser.add_argument("checkpoint_dir",
|
| 725 |
+
type=str,
|
| 726 |
+
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 727 |
+
parser.add_argument("output_dir",
|
| 728 |
+
type=str,
|
| 729 |
+
help="directory to the pytorch fp32 state_dict output files"
|
| 730 |
+
"(e.g. path/checkpoint-12-output/)")
|
| 731 |
+
parser.add_argument(
|
| 732 |
+
"--max_shard_size",
|
| 733 |
+
type=str,
|
| 734 |
+
default="5GB",
|
| 735 |
+
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 736 |
+
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 737 |
+
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 738 |
+
"without CPU OOM issues.")
|
| 739 |
+
parser.add_argument(
|
| 740 |
+
"--safe_serialization",
|
| 741 |
+
default=False,
|
| 742 |
+
action='store_true',
|
| 743 |
+
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 744 |
+
parser.add_argument("-t",
|
| 745 |
+
"--tag",
|
| 746 |
+
type=str,
|
| 747 |
+
default=None,
|
| 748 |
+
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 749 |
+
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 750 |
+
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 751 |
+
args = parser.parse_args()
|
| 752 |
+
|
| 753 |
+
debug = args.debug
|
| 754 |
+
|
| 755 |
+
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 756 |
+
args.output_dir,
|
| 757 |
+
max_shard_size=args.max_shard_size,
|
| 758 |
+
safe_serialization=args.safe_serialization,
|
| 759 |
+
tag=args.tag,
|
| 760 |
+
exclude_frozen_parameters=args.exclude_frozen_parameters)
|
dataset_stats.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"observation.depth_images.camera_top": {"min": [[[0.0]], [[0.0]], [[0.0]]], "max": [[[1.0]], [[1.0]], [[1.0]]], "mean": [[[0.8737428225379095]], [[0.8737428225379095]], [[0.8737428225379095]]], "std": [[[0.01473990820408429]], [[0.01473990820408429]], [[0.01473990820408429]]], "count": [42299], "q01": [[[-3.921568627450984e-13]], [[-3.921568627450984e-13]], [[-3.921568627450984e-13]]], "q10": [[[-3.921568627450984e-13]], [[-3.921568627450984e-13]], [[-3.921568627450984e-13]]], "q50": [[[0.9998853739951559]], [[0.9998853739951559]], [[0.9998853739951559]]], "q90": [[[0.9999770747993448]], [[0.9999770747993448]], [[0.9999770747993448]]], "q99": [[[0.9999977074802886]], [[0.9999977074802886]], [[0.9999977074802886]]]}, "index": {"min": [0], "max": [117602], "mean": [58801.0], "std": [33949.061852526436], "count": [117603], "q01": [58616.72104526005], "q10": [58650.536767449725], "q50": [58800.778728192265], "q90": [58951.391855374524], "q99": [58985.269199886774]}, "frame_index": {"min": [0], "max": [894], "mean": [187.54551329472886], "std": [165.61093180395812], "count": [117603], "q01": [3.2665585547004277], "q10": [37.08228074445854], "q50": [187.30599470761794], "q90": [337.9373686692468], "q99": [371.8147131815649]}, "timestamp": {"min": [0.0], "max": [29.8], "mean": [6.251517109824292], "std": [5.520364393465271], "count": [117603], "q01": [0.10888528506161543], "q10": [1.2360760247376563], "q50": [6.244090840652991], "q90": [11.264578955719138], "q99": [12.393823772813889]}, "episode_index": {"min": [0], "max": [406], "mean": [225.93453398297657], "std": [130.58113875389165], "count": [117603], "q01": [225.93453398297657], "q10": [225.93453398297657], "q50": [225.93453398297657], "q90": [225.9345339829766], "q99": [225.9345339829766]}, "task_index": {"min": [0], "max": [0], "mean": [0.0], "std": [0.0], "count": [117603], "q01": [3.9999999999994196e-16], "q10": [3.999999999999417e-15], "q50": [1.9999999999997088e-14], "q90": [3.5999999999994735e-14], "q99": [3.959999999999425e-14]}, "observation.depth_images.camera_middle": {"min": [[[0.0]], [[0.0]], [[0.0]]], "max": [[[1.0]], [[1.0]], [[1.0]]], "mean": [[[0.7371832889075387]], [[0.7371832889075387]], [[0.7371832889075387]]], "std": [[[0.028255914071435326]], [[0.028255914071435326]], [[0.028255914071435326]]], "count": [42299], "q01": [[[-3.921568627450984e-13]], [[-3.921568627450984e-13]], [[-3.921568627450984e-13]]], "q10": [[[-3.921568627450984e-13]], [[-3.921568627450984e-13]], [[-3.921568627450984e-13]]], "q50": [[[0.9998641467443063]], [[0.9998641467443063]], [[0.9998641467443063]]], "q90": [[[0.9999728293491758]], [[0.9999728293491758]], [[0.9999728293491758]]], "q99": [[[0.9999972829352701]], [[0.9999972829352701]], [[0.9999972829352701]]]}, "state": {"min": [-0.3410964012145996, -0.017065448686480522, -0.8808728456497192, -0.3584683835506439, -0.47099998593330383, -0.25070762634277344, -0.3522544205188751, 0.20474791526794434, -0.951011598110199, -1.1395604610443115, 0.004790774080902338, -0.47099998593330383, -0.42500001192092896, -0.4710000455379486, 0.5233548879623413, -1.7453292608261108, 0.013509199023246765, 0.16424892842769623, 0.07441703230142593, 0.0, -1.7453292608261108, -1.7453292608261108, 0.0, 0.0, 0.0, 0.0], "max": [0.3343784511089325, 0.4551280438899994, 0.4898811876773834, 0.0, 0.17262005805969238, 0.4259999990463257, 0.4710000455379486, 1.42960786819458, 0.20000000298023224, 0.42028796672821045, 2.2654612064361572, 0.47099998593330383, 0.42500001192092896, 0.4710000455379486, 1.7453292608261108, -0.2723813056945801, 1.0848406553268433, 1.1712498664855957, 1.1572402715682983, 1.5509999990463257, 1.2000000476837158, -9.685753866506275e-06, 1.5509999990463257, 1.6920000314712524, 1.6920000314712524, 1.6920000314712524], "mean": [-0.07206582229242957, 0.17966891811792696, -0.1668464674341303, -0.0041360377980851635, -0.02855430856304381, 0.08563092750740967, 0.2893196088073914, 0.8363146289336536, -0.05387761385531189, -0.15336964771372463, 1.091904723826614, -0.28583224883559294, -0.2571242879282505, -0.04026229581134297, 1.631143633205173, -1.4191315095174262, 0.36479706485884494, 0.5091594637107267, 0.5016290432196715, 0.47609916631462623, -1.1053045955704097, -0.7251840643011697, 0.4714432698585686, 0.6842672242540222, 0.7672084591632831, 0.7534114637983107], "std": [0.13414144999809616, 0.06972650106920732, 0.25217907699852415, 0.02540099917055559, 0.11312150010916003, 0.10591266561362785, 0.19800768856144005, 0.1916404538214021, 0.1745209627611984, 0.2986915744066566, 0.37307377725837665, 0.27900556679351535, 0.14265063229848485, 0.2649863375472597, 0.203832594109652, 0.4301649488141138, 0.16008396160430588, 0.15833114838469356, 0.16450132461071795, 0.16326665338442858, 0.8143790653334856, 0.6069117444348734, 0.5677597965745057, 0.7476876651920975, 0.7628839306288268, 0.7625733012414243], "count": [117603], "q01": [-0.0900946626436895, 0.16442706509038613, -0.20515712685889975, -0.004887999590566002, -0.03502268398111734, 0.07959235241462335, 0.27133121740580957, 0.6528161505957908, -0.2659094747240229, -0.361794528686148, 0.7081018407532926, -0.46517954403538603, -0.35239264602504955, -0.2537239629698275, 1.6100977368982725, -1.4325886990180976, 0.3588537656561231, 0.504233242489377, 0.49273811896613856, 0.4674098045882135, -1.6605862154200803, -1.6429466853531651, 0.006851068033765835, 0.005850401283922236, 0.034195805934406874, 0.020448910315615902], "q10": [-0.08278976715559705, 0.16850630087211108, -0.19412164436363818, -0.004544541940541722, -0.03320866031030702, 0.0811968865892971, 0.2789572943566766, 0.6937583445861262, -0.20366920404476815, -0.32381025855426354, 0.7443205089939386, -0.4562365811872135, -0.3381223613521823, -0.21151295480617066, 1.620000935922196, -1.4291823533635943, 0.36067983515185703, 0.5057284518066023, 0.49521285631026923, 0.46997778254506795, -1.6132910523021013, -1.5679720148272271, 0.009773494327837565, 0.008090842227112085, 0.04456819834005742, 0.03460155597809609], "q50": [-0.0705348028684113, 0.18082898738071787, -0.1715710318250208, -0.004124543876975338, -0.028435645887978263, 0.08592637465300615, 0.29015337989340223, 0.841900340888932, -0.02172713823777844, -0.16216342465147707, 1.0210222394371753, -0.2633752477380261, -0.2654837467769859, -0.07935002363205927, 1.6318213337985956, -1.4217994092806205, 0.3648724970624905, 0.5095826853827928, 0.5021259825897231, 0.47654999878707843, -1.083572161473688, -0.5472054899472031, 0.2721429125038979, 0.6072634940305482, 0.6835550812469716, 0.6589050052086065], "q90": [-0.06286363941678236, 0.18891258937965152, -0.1354511074955689, -0.0037521858137056314, -0.024000949785724444, 0.08969127916363645, 0.2990914372977373, 0.9873103317771706, 0.03926613510762872, 0.015348704249211642, 1.5924075453087019, -0.11458629958531305, -0.1622620541588408, 0.15796104530149713, 1.6410317231895248, -1.4046785675889646, 0.3688311613039933, 0.5119426943225508, 0.5072208331283555, 0.48188938842079043, -0.62753262009664, -0.16851437724747884, 1.1652704487342436, 1.4333100584877039, 1.5411606659190882, 1.5361229393636513], "q99": [-0.059267575979736066, 0.19206527590878586, -0.12157279662742974, -0.0032695989562949138, -0.022354343712563778, 0.09092141466970259, 0.3036732241330353, 1.010810550033975, 0.05152326953739953, 0.11427531251100229, 1.7256451499216334, -0.07658159229284045, -0.12156362557106531, 0.23086158800094628, 1.6456560759243761, -1.400590835353288, 0.37035896563608134, 0.5138242272546271, 0.5097698584210922, 0.48475492430734096, -0.5283688574885755, -0.08377068065516621, 1.1850499603560902, 1.4442007498241958, 1.5479421826214554, 1.5470789057322587]}, "action": {"min": [-0.3389834761619568, -0.016907263547182083, -0.8794836401939392, -0.35402196645736694, -0.4709988832473755, -0.25057452917099, -0.3520881235599518, 0.2073279768228531, -0.9472358822822571, -1.1349681615829468, 0.009744583629071712, -0.4709988832473755, -0.42499902844429016, -1.4476113319396973, 0.5789587497711182, -1.7453292608261108, 0.013713635504245758, 0.16434887051582336, 0.07455907762050629, 4.245934346904196e-43, -1.7453292608261108, -1.7453292608261108, 0.0, 0.0, 0.0, 0.0], "max": [0.3341060280799866, 0.4546440839767456, 0.4896775186061859, 0.0, 0.17095127701759338, 0.4259990155696869, 0.9498989582061768, 1.4282805919647217, 0.19999954104423523, 0.43650567531585693, 2.253171682357788, 0.4709988832473755, 0.42499902844429016, 1.4465306997299194, 1.7453292608261108, -0.2728305459022522, 1.0846863985061646, 1.170958399772644, 1.156921148300171, 1.5509964227676392, 1.1999973058700562, -0.00046248978469520807, 1.5509964227676392, 1.6919960975646973, 1.6919960975646973, 1.6919960975646973], "mean": [-0.072062257609025, 0.1796734644739688, -0.16686331682866412, -0.0041351625959732225, -0.02852587046182658, 0.08565139129763345, 0.32956871001500315, 0.8355832817843305, -0.053134900457304526, -0.15265108764233445, 1.0894641430920489, -0.28540526575117153, -0.2575528473375333, -0.1262773200934414, 1.6311239782964502, -1.4192232057339058, 0.3648181842468053, 0.509163687405163, 0.5016597717877881, 0.4761237225457119, -1.1083735234476446, -0.7194708674206187, 0.46565009546621755, 0.6773420993678213, 0.7596605267104654, 0.7458658080296252], "std": [0.1341501065346926, 0.06972543554831165, 0.25211092742325175, 0.025382737904455964, 0.1130934105372598, 0.10589149914855811, 0.24532509622423124, 0.19137450795467298, 0.17346203701594373, 0.2989028806396463, 0.3708233988929887, 0.27894503456919906, 0.14230884887582138, 0.4576078292580101, 0.2038335208976552, 0.430100287209941, 0.1600713615414153, 0.15831408714073195, 0.16449934022152263, 0.16327920467584384, 0.8134898763692819, 0.603978072248423, 0.5649302168019992, 0.745754495145648, 0.7609507401745298, 0.7605825637964025], "count": [117603], "q01": [-0.08973729920989976, 0.1645976790662157, -0.20458951804463482, -0.004874202549583956, -0.03482574262124167, 0.07971509062882592, 0.30420597828507784, 0.6527587994501476, -0.2646251819438719, -0.36011265521491115, 0.7091029334884766, -0.4649887144841815, -0.35195990401961436, -0.4576455162499903, 1.6106382374401185, -1.432363790534601, 0.3590471331147991, 0.5042930752638022, 0.49288848604852414, 0.46757302854113886, -1.659711526428826, -1.6372496984979608, 0.006930907002576065, 0.005880558584038221, 0.034295387056921346, 0.02066212792632346], "q10": [-0.08273926163608117, 0.16854173190536725, -0.19408818756871984, -0.004508137714585739, -0.0331904104886033, 0.08121539567932311, 0.3136233512582266, 0.693144717812317, -0.20257035082552827, -0.32309771050310204, 0.7444061289768307, -0.4560105913966955, -0.3380824074876659, -0.40098712019743266, 1.6200639702629633, -1.4291839753538067, 0.3607006011976306, 0.5057366310468573, 0.49524575506096724, 0.46999732793000715, -1.6137498901483112, -1.5669113454421353, 0.009537449144312819, 0.0077853381815340674, 0.04414572443335411, 0.03418651956656013], "q50": [-0.07053305820219094, 0.18082641711411718, -0.17161606493473158, -0.004124987320009037, -0.028412243059807035, 0.08594706311879181, 0.3304782613207927, 0.8416115215533719, -0.021393517658311895, -0.16172603149867956, 1.0200302076258285, -0.26317536400011404, -0.26601014348674606, -0.17193387216764938, 1.6318250131570682, -1.4219394018659648, 0.36489079155891385, 0.5095974080373759, 0.502150824075827, 0.47656647103680383, -1.084467645695311, -0.541072469758272, 0.26532405899650024, 0.5980663829096573, 0.6736640718928992, 0.6484285009233538], "q90": [-0.0629178950179798, 0.18889062538451337, -0.1355250712340314, -0.003753144772577669, -0.023989247093333905, 0.08968235107935792, 0.3450012624506413, 0.9862027842628612, 0.039176925736125745, 0.016397138002638475, 1.5838448781169798, -0.11480706927083592, -0.16267037683146732, 0.16910018803031487, 1.6409919418960317, -1.4047737059652932, 0.3688356387792457, 0.5119281054285479, 0.5072521002643746, 0.4819028246975299, -0.6281812157310809, -0.16911760944302, 1.1644663662945496, 1.4327910248120364, 1.5408417009754056, 1.5354879258082261], "q99": [-0.05948614329976619, 0.1918574831135316, -0.12224194084860017, -0.0032829581361166196, -0.022470318704383582, 0.09085078092607207, 0.35246323822909376, 1.009487347622399, 0.05102437258844651, 0.11558852257291917, 1.722479834389032, -0.07742505615537215, -0.12283282492243937, 0.2537340214318874, 1.6454435218049546, -1.4009079608592592, 0.37029122424714694, 0.5136805481001522, 0.5096214037537491, 0.4846387095877261, -0.5373701207187795, -0.09244570347598105, 1.1841573043495919, 1.4436111705631345, 1.547584790705695, 1.5463872847427946]}, "cam_head_color": {"min": [[[0.0]], [[0.0]], [[0.0]]], "max": [[[1.0]], [[1.0]], [[1.0]]], "mean": [[[0.4158378660980179]], [[0.4476603398442878]], [[0.4604056766521079]]], "std": [[[0.04568349135173331]], [[0.0398879075799359]], [[0.03867090045986252]]], "count": [42299], "q01": [[[0.010803154657167389]], [[0.028855566163912962]], [[0.02618866991628496]]], "q10": [[[0.06614998816630643]], [[0.0965055780024583]], [[0.10173520661601497]]], "q50": [[[0.4025348264841603]], [[0.4495228986290825]], [[0.47094461193441506]]], "q90": [[[0.8042724440128624]], [[0.8027035566852121]], [[0.8116003231512168]]], "q99": [[[0.8926717697935003]], [[0.8771265633571808]], [[0.8777958268663902]]]}, "cam_hand_left_color": {"min": [[[0.0]], [[0.0]], [[0.0]]], "max": [[[1.0]], [[1.0]], [[1.0]]], "mean": [[[0.4628092887389989]], [[0.48527135800812327]], [[0.48852257640981633]]], "std": [[[0.03426552366211674]], [[0.031842301244512906]], [[0.03227401838744624]]], "count": [42299], "q01": [[[0.0016811978932110387]], [[0.03955406968803756]], [[0.03149705127898501]]], "q10": [[[0.06575519334489975]], [[0.11975457219415195]], [[0.11542931169145909]]], "q50": [[[0.44927931153963657]], [[0.46918153366830506]], [[0.48076844767956345]]], "q90": [[[0.8848905032993664]], [[0.8815046131329304]], [[0.8804975627721096]]], "q99": [[[0.9837387985467572]], [[0.9863311417944179]], [[0.9864727468590169]]]}}
|
go1_air_sft_libero.py
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
from dataclasses import dataclass, field
|
| 3 |
+
from typing import List, Optional
|
| 4 |
+
|
| 5 |
+
from transformers import TrainingArguments
|
| 6 |
+
|
| 7 |
+
from go1.configs.go1_base_cfg import BaseDatasetArguments, BaseModelArguments, BaseSpaceArguments
|
| 8 |
+
from go1.tools.env_parse import get_bool_env
|
| 9 |
+
|
| 10 |
+
# 获取运行名称和调试模式环境变量
|
| 11 |
+
RUNNAME = os.environ.get("RUNNAME")
|
| 12 |
+
DEBUG_MODE = get_bool_env("DEBUG_MODE")
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
@dataclass
|
| 16 |
+
class DatasetArguments(BaseDatasetArguments):
|
| 17 |
+
"""数据集相关配置参数"""
|
| 18 |
+
# 数据集类型,默认为lerobot格式
|
| 19 |
+
dataset_type: Optional[str] = field(default="lerobot")
|
| 20 |
+
# 数据集根目录路径列表
|
| 21 |
+
data_root_dir: Optional[List[str]] = field(
|
| 22 |
+
default_factory=lambda: [
|
| 23 |
+
"/home/public/lerobot_datasets/w_bot_lerobot_3.0/Step1_pick_up_large_workpieces/"
|
| 24 |
+
],
|
| 25 |
+
)
|
| 26 |
+
# 数据预处理变换操作列表
|
| 27 |
+
transforms: Optional[List[str]] = field(default_factory=lambda: [dict(type="Normalize")])
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
@dataclass
|
| 31 |
+
class GOModelArguments(BaseModelArguments):
|
| 32 |
+
"""模型相关配置参数"""
|
| 33 |
+
# 预训练模型路径或名称
|
| 34 |
+
model_name_or_path: str = field(default="/home/hanqingqi/checkpoint/go-1-Air/")
|
| 35 |
+
# 是否冻结大语言模型参数
|
| 36 |
+
freeze_llm: bool = field(default=True)#field(default=False if not DEBUG_MODE else True)
|
| 37 |
+
# 是否冻结视觉主干网络参数
|
| 38 |
+
freeze_backbone: bool = field(default=True)# field(default=False if not DEBUG_MODE else True)
|
| 39 |
+
# 是否冻结MLP参数
|
| 40 |
+
freeze_mlp: bool = field(default=False) #field(default=False if not DEBUG_MODE else True)
|
| 41 |
+
# 动作序列块大小
|
| 42 |
+
action_chunk_size: int = field(default=60)
|
| 43 |
+
# 是否启用潜在空间规划
|
| 44 |
+
latent_planning: bool = field(default=False)
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
@dataclass
|
| 48 |
+
class GOTrainingArguments(TrainingArguments):
|
| 49 |
+
"""训练相关配置参数"""
|
| 50 |
+
# 模型输出目录
|
| 51 |
+
output_dir: str = field(default=f"experiment/{RUNNAME}")
|
| 52 |
+
# 是否覆盖输出目录
|
| 53 |
+
overwrite_output_dir: bool = field(default=True)
|
| 54 |
+
# 数据加载器使用的进程数
|
| 55 |
+
dataloader_num_workers: int = field(default=32 if not DEBUG_MODE else 0)
|
| 56 |
+
# 是否使用bf16混合精度训练
|
| 57 |
+
bf16: bool = field(default=True)
|
| 58 |
+
# 训练轮数
|
| 59 |
+
num_train_epochs: float = field(default=100.0)
|
| 60 |
+
# 每个设备的训练批次大小
|
| 61 |
+
per_device_train_batch_size: int = field(default=32 if not DEBUG_MODE else 2)
|
| 62 |
+
# 梯度累积步数
|
| 63 |
+
gradient_accumulation_steps: int = field(default=5)
|
| 64 |
+
# 学习率
|
| 65 |
+
learning_rate: float = field(default=2e-4)
|
| 66 |
+
# 权重衰减系数
|
| 67 |
+
weight_decay: float = field(default=0.01)
|
| 68 |
+
# 学习率调度器类型
|
| 69 |
+
lr_scheduler_type: str = field(default="cosine")
|
| 70 |
+
# 学习率预热步数
|
| 71 |
+
warmup_steps: int = field(default=1000)
|
| 72 |
+
# 是否进行训练
|
| 73 |
+
do_train: bool = field(default=True)
|
| 74 |
+
# DeepSpeed配置文件路径
|
| 75 |
+
deepspeed: str = field(default="go1/zero_stage1_config.json")
|
| 76 |
+
|
| 77 |
+
# 模型保存策略
|
| 78 |
+
save_strategy: str = field(default="steps")
|
| 79 |
+
# 每多少步保存一次模型
|
| 80 |
+
save_steps: int = field(default=2000)
|
| 81 |
+
# 最多保存模型的数量
|
| 82 |
+
save_total_limit: int = field(default=100)
|
| 83 |
+
# 每多少步记录一次日志
|
| 84 |
+
logging_steps: int = field(default=10)
|
| 85 |
+
# 日志报告目标
|
| 86 |
+
report_to: str = field(default="tensorboard")
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
@dataclass
|
| 90 |
+
class SpaceArguments(BaseSpaceArguments):
|
| 91 |
+
"""状态空间和动作空间配置参数"""
|
| 92 |
+
# 状态维度
|
| 93 |
+
state_dim: int = field(default=26)
|
| 94 |
+
# 动作维度
|
| 95 |
+
action_dim: int = field(default=26)
|
| 96 |
+
# 空间数据重映射配置
|
| 97 |
+
space_repack: dict = field(
|
| 98 |
+
default_factory=lambda: {
|
| 99 |
+
"state": "observation.state", # 键为模型中的名称,值为数据在数据字典中的键名
|
| 100 |
+
"action": "action",
|
| 101 |
+
"cam_head_color": "observation.images.camera_top",
|
| 102 |
+
"cam_hand_left_color": "observation.images.camera_middle",
|
| 103 |
+
"final_prompt": "task",
|
| 104 |
+
}
|
| 105 |
+
)
|
| 106 |
+
# 控制频率
|
| 107 |
+
ctrl_freq: int = field(default=30)
|
log/training_log_nodeIdx000_20251206_1618.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
runs/Dec06_16-18-34_user-SYS-821GE-TNHR/events.out.tfevents.1765009124.user-SYS-821GE-TNHR.2163381.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3931bde2381d7fe07ae0c6c31a95cd4df728d9866c844ea42ecf27b3cc127fbc
|
| 3 |
+
size 83070
|