stage3 checkpoint-1200 (weights-only)
Browse files- .gitattributes +1 -0
- size-80k/stage3/checkpoint-1200/added_tokens.json +29 -0
- size-80k/stage3/checkpoint-1200/chat_template.jinja +7 -0
- size-80k/stage3/checkpoint-1200/config.json +144 -0
- size-80k/stage3/checkpoint-1200/generation_config.json +12 -0
- size-80k/stage3/checkpoint-1200/latest +1 -0
- size-80k/stage3/checkpoint-1200/merges.txt +0 -0
- size-80k/stage3/checkpoint-1200/model-00001-of-00004.safetensors +3 -0
- size-80k/stage3/checkpoint-1200/model-00002-of-00004.safetensors +3 -0
- size-80k/stage3/checkpoint-1200/model-00003-of-00004.safetensors +3 -0
- size-80k/stage3/checkpoint-1200/model-00004-of-00004.safetensors +3 -0
- size-80k/stage3/checkpoint-1200/model.safetensors.index.json +737 -0
- size-80k/stage3/checkpoint-1200/preprocessor_config.json +37 -0
- size-80k/stage3/checkpoint-1200/rng_state_0.pth +3 -0
- size-80k/stage3/checkpoint-1200/rng_state_1.pth +3 -0
- size-80k/stage3/checkpoint-1200/rng_state_2.pth +3 -0
- size-80k/stage3/checkpoint-1200/rng_state_3.pth +3 -0
- size-80k/stage3/checkpoint-1200/rng_state_4.pth +3 -0
- size-80k/stage3/checkpoint-1200/rng_state_5.pth +3 -0
- size-80k/stage3/checkpoint-1200/rng_state_6.pth +3 -0
- size-80k/stage3/checkpoint-1200/rng_state_7.pth +3 -0
- size-80k/stage3/checkpoint-1200/scheduler.pt +3 -0
- size-80k/stage3/checkpoint-1200/special_tokens_map.json +31 -0
- size-80k/stage3/checkpoint-1200/tokenizer.json +3 -0
- size-80k/stage3/checkpoint-1200/tokenizer_config.json +249 -0
- size-80k/stage3/checkpoint-1200/trainer_state.json +1474 -0
- size-80k/stage3/checkpoint-1200/training_args.bin +3 -0
- size-80k/stage3/checkpoint-1200/video_preprocessor_config.json +43 -0
- size-80k/stage3/checkpoint-1200/vocab.json +0 -0
- size-80k/stage3/checkpoint-1200/zero_to_fp32.py +760 -0
.gitattributes
CHANGED
|
@@ -95,3 +95,4 @@ size-80k/stage3/checkpoint-900/tokenizer.json filter=lfs diff=lfs merge=lfs -tex
|
|
| 95 |
ablate-5/checkpoint-350/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 96 |
size-80k/stage3/checkpoint-1000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 97 |
size-80k/stage3/checkpoint-1100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 95 |
ablate-5/checkpoint-350/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 96 |
size-80k/stage3/checkpoint-1000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 97 |
size-80k/stage3/checkpoint-1100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 98 |
+
size-80k/stage3/checkpoint-1200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
size-80k/stage3/checkpoint-1200/added_tokens.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</abs_vis_token>": 151667,
|
| 3 |
+
"</observation>": 151669,
|
| 4 |
+
"</tool_call>": 151658,
|
| 5 |
+
"<abs_vis_token>": 151666,
|
| 6 |
+
"<abs_vis_token_pad>": 151665,
|
| 7 |
+
"<observation>": 151668,
|
| 8 |
+
"<tool_call>": 151657,
|
| 9 |
+
"<|box_end|>": 151649,
|
| 10 |
+
"<|box_start|>": 151648,
|
| 11 |
+
"<|endoftext|>": 151643,
|
| 12 |
+
"<|file_sep|>": 151664,
|
| 13 |
+
"<|fim_middle|>": 151660,
|
| 14 |
+
"<|fim_pad|>": 151662,
|
| 15 |
+
"<|fim_prefix|>": 151659,
|
| 16 |
+
"<|fim_suffix|>": 151661,
|
| 17 |
+
"<|im_end|>": 151645,
|
| 18 |
+
"<|im_start|>": 151644,
|
| 19 |
+
"<|image_pad|>": 151655,
|
| 20 |
+
"<|object_ref_end|>": 151647,
|
| 21 |
+
"<|object_ref_start|>": 151646,
|
| 22 |
+
"<|quad_end|>": 151651,
|
| 23 |
+
"<|quad_start|>": 151650,
|
| 24 |
+
"<|repo_name|>": 151663,
|
| 25 |
+
"<|video_pad|>": 151656,
|
| 26 |
+
"<|vision_end|>": 151653,
|
| 27 |
+
"<|vision_pad|>": 151654,
|
| 28 |
+
"<|vision_start|>": 151652
|
| 29 |
+
}
|
size-80k/stage3/checkpoint-1200/chat_template.jinja
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
|
| 2 |
+
You are a helpful assistant.<|im_end|>
|
| 3 |
+
{% endif %}<|im_start|>{{ message['role'] }}
|
| 4 |
+
{% if message['content'] is string %}{{ message['content'] }}<|im_end|>
|
| 5 |
+
{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
|
| 6 |
+
{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
|
| 7 |
+
{% endif %}
|
size-80k/stage3/checkpoint-1200/config.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|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
| 10 |
+
"bos_token_id": 151643,
|
| 11 |
+
"eos_token_id": 151645,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"hidden_size": 3584,
|
| 14 |
+
"image_token_id": 151655,
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"intermediate_size": 18944,
|
| 17 |
+
"latent_end_id": 151667,
|
| 18 |
+
"latent_start_id": 151666,
|
| 19 |
+
"latent_token_id": 151665,
|
| 20 |
+
"loss_type": "ForCausalLMLoss",
|
| 21 |
+
"max_position_embeddings": 128000,
|
| 22 |
+
"max_window_layers": 28,
|
| 23 |
+
"model_type": "qwen2_5_vl",
|
| 24 |
+
"num_attention_heads": 28,
|
| 25 |
+
"num_hidden_layers": 28,
|
| 26 |
+
"num_key_value_heads": 4,
|
| 27 |
+
"rms_norm_eps": 1e-06,
|
| 28 |
+
"rope_scaling": {
|
| 29 |
+
"mrope_section": [
|
| 30 |
+
16,
|
| 31 |
+
24,
|
| 32 |
+
24
|
| 33 |
+
],
|
| 34 |
+
"rope_type": "default",
|
| 35 |
+
"type": "default"
|
| 36 |
+
},
|
| 37 |
+
"rope_theta": 1000000.0,
|
| 38 |
+
"sliding_window": 32768,
|
| 39 |
+
"stage": "sft_stage3",
|
| 40 |
+
"text_config": {
|
| 41 |
+
"architectures": [
|
| 42 |
+
"Qwen2_5_VLForConditionalGeneration"
|
| 43 |
+
],
|
| 44 |
+
"attention_dropout": 0.0,
|
| 45 |
+
"bos_token_id": 151643,
|
| 46 |
+
"eos_token_id": 151645,
|
| 47 |
+
"hidden_act": "silu",
|
| 48 |
+
"hidden_size": 3584,
|
| 49 |
+
"image_token_id": null,
|
| 50 |
+
"initializer_range": 0.02,
|
| 51 |
+
"intermediate_size": 18944,
|
| 52 |
+
"layer_types": [
|
| 53 |
+
"full_attention",
|
| 54 |
+
"full_attention",
|
| 55 |
+
"full_attention",
|
| 56 |
+
"full_attention",
|
| 57 |
+
"full_attention",
|
| 58 |
+
"full_attention",
|
| 59 |
+
"full_attention",
|
| 60 |
+
"full_attention",
|
| 61 |
+
"full_attention",
|
| 62 |
+
"full_attention",
|
| 63 |
+
"full_attention",
|
| 64 |
+
"full_attention",
|
| 65 |
+
"full_attention",
|
| 66 |
+
"full_attention",
|
| 67 |
+
"full_attention",
|
| 68 |
+
"full_attention",
|
| 69 |
+
"full_attention",
|
| 70 |
+
"full_attention",
|
| 71 |
+
"full_attention",
|
| 72 |
+
"full_attention",
|
| 73 |
+
"full_attention",
|
| 74 |
+
"full_attention",
|
| 75 |
+
"full_attention",
|
| 76 |
+
"full_attention",
|
| 77 |
+
"full_attention",
|
| 78 |
+
"full_attention",
|
| 79 |
+
"full_attention",
|
| 80 |
+
"full_attention"
|
| 81 |
+
],
|
| 82 |
+
"max_position_embeddings": 128000,
|
| 83 |
+
"max_window_layers": 28,
|
| 84 |
+
"model_type": "qwen2_5_vl_text",
|
| 85 |
+
"num_attention_heads": 28,
|
| 86 |
+
"num_hidden_layers": 28,
|
| 87 |
+
"num_key_value_heads": 4,
|
| 88 |
+
"rms_norm_eps": 1e-06,
|
| 89 |
+
"rope_scaling": {
|
| 90 |
+
"mrope_section": [
|
| 91 |
+
16,
|
| 92 |
+
24,
|
| 93 |
+
24
|
| 94 |
+
],
|
| 95 |
+
"rope_type": "default",
|
| 96 |
+
"type": "default"
|
| 97 |
+
},
|
| 98 |
+
"rope_theta": 1000000.0,
|
| 99 |
+
"sliding_window": null,
|
| 100 |
+
"torch_dtype": "bfloat16",
|
| 101 |
+
"use_cache": true,
|
| 102 |
+
"use_sliding_window": false,
|
| 103 |
+
"video_token_id": null,
|
| 104 |
+
"vision_end_token_id": 151653,
|
| 105 |
+
"vision_start_token_id": 151652,
|
| 106 |
+
"vision_token_id": 151654,
|
| 107 |
+
"vocab_size": 151670
|
| 108 |
+
},
|
| 109 |
+
"tie_word_embeddings": false,
|
| 110 |
+
"torch_dtype": "bfloat16",
|
| 111 |
+
"transformers_version": "4.54.0",
|
| 112 |
+
"use_cache": false,
|
| 113 |
+
"use_sliding_window": false,
|
| 114 |
+
"video_token_id": 151656,
|
| 115 |
+
"vision_config": {
|
| 116 |
+
"depth": 32,
|
| 117 |
+
"fullatt_block_indexes": [
|
| 118 |
+
7,
|
| 119 |
+
15,
|
| 120 |
+
23,
|
| 121 |
+
31
|
| 122 |
+
],
|
| 123 |
+
"hidden_act": "silu",
|
| 124 |
+
"hidden_size": 1280,
|
| 125 |
+
"in_channels": 3,
|
| 126 |
+
"in_chans": 3,
|
| 127 |
+
"initializer_range": 0.02,
|
| 128 |
+
"intermediate_size": 3420,
|
| 129 |
+
"model_type": "qwen2_5_vl",
|
| 130 |
+
"num_heads": 16,
|
| 131 |
+
"out_hidden_size": 3584,
|
| 132 |
+
"patch_size": 14,
|
| 133 |
+
"spatial_merge_size": 2,
|
| 134 |
+
"spatial_patch_size": 14,
|
| 135 |
+
"temporal_patch_size": 2,
|
| 136 |
+
"tokens_per_second": 2,
|
| 137 |
+
"torch_dtype": "bfloat16",
|
| 138 |
+
"window_size": 112
|
| 139 |
+
},
|
| 140 |
+
"vision_end_token_id": 151653,
|
| 141 |
+
"vision_start_token_id": 151652,
|
| 142 |
+
"vision_token_id": 151654,
|
| 143 |
+
"vocab_size": 151670
|
| 144 |
+
}
|
size-80k/stage3/checkpoint-1200/generation_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"repetition_penalty": 1.05,
|
| 10 |
+
"temperature": 1e-06,
|
| 11 |
+
"transformers_version": "4.54.0"
|
| 12 |
+
}
|
size-80k/stage3/checkpoint-1200/latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step1200
|
size-80k/stage3/checkpoint-1200/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
size-80k/stage3/checkpoint-1200/model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f97837d8a5196a139c1c9c8018337bbd5b50285825893b0d2b71139aab4d477
|
| 3 |
+
size 4965419112
|
size-80k/stage3/checkpoint-1200/model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:160413a45abfd94d320b04497a9e42e865798503bbbb71179cf7dad679a597e5
|
| 3 |
+
size 4991495816
|
size-80k/stage3/checkpoint-1200/model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f131980cd79164d31b62b3d25739c603d4e6173a7a3ba3a397fb31af66dce07
|
| 3 |
+
size 4932751040
|
size-80k/stage3/checkpoint-1200/model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dde6dab43aafd7fe27d2b31bd977d4bae7a03e105af8906d1dbb3b4355a1a0b3
|
| 3 |
+
size 1689100192
|
size-80k/stage3/checkpoint-1200/model.safetensors.index.json
ADDED
|
@@ -0,0 +1,737 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_parameters": 8289342464,
|
| 4 |
+
"total_size": 16578684928
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"lm_head.weight": "model-00004-of-00004.safetensors",
|
| 8 |
+
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 9 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 10 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 11 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 12 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 13 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 14 |
+
"model.layers.0.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 15 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 16 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 17 |
+
"model.layers.0.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 18 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 19 |
+
"model.layers.0.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 20 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 21 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 22 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 23 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 24 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 25 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 26 |
+
"model.layers.1.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 27 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 28 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 29 |
+
"model.layers.1.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 30 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 31 |
+
"model.layers.1.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 32 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 33 |
+
"model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 34 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 35 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 36 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 37 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 38 |
+
"model.layers.10.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 39 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 40 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 41 |
+
"model.layers.10.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 42 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 43 |
+
"model.layers.10.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 44 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 45 |
+
"model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 46 |
+
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 47 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 48 |
+
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 49 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 50 |
+
"model.layers.11.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 51 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 52 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 53 |
+
"model.layers.11.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 54 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 55 |
+
"model.layers.11.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 56 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 57 |
+
"model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 58 |
+
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 59 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 60 |
+
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 61 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 62 |
+
"model.layers.12.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 63 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 64 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 65 |
+
"model.layers.12.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 66 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 67 |
+
"model.layers.12.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 68 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 69 |
+
"model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 70 |
+
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 71 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 72 |
+
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 73 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 74 |
+
"model.layers.13.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 75 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 76 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 77 |
+
"model.layers.13.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 78 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 79 |
+
"model.layers.13.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 80 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 81 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 82 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 83 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 84 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 85 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 86 |
+
"model.layers.14.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 87 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 88 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 89 |
+
"model.layers.14.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 90 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 91 |
+
"model.layers.14.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 92 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 93 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 94 |
+
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 95 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 96 |
+
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 97 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 98 |
+
"model.layers.15.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 99 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 100 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 101 |
+
"model.layers.15.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 102 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 103 |
+
"model.layers.15.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 104 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 105 |
+
"model.layers.16.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 106 |
+
"model.layers.16.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 107 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 108 |
+
"model.layers.16.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 109 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 110 |
+
"model.layers.16.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 111 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 112 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 113 |
+
"model.layers.16.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 114 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 115 |
+
"model.layers.16.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 116 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 117 |
+
"model.layers.17.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 118 |
+
"model.layers.17.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 119 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 120 |
+
"model.layers.17.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 121 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 122 |
+
"model.layers.17.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 123 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 124 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 125 |
+
"model.layers.17.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 126 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 127 |
+
"model.layers.17.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 128 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 129 |
+
"model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 130 |
+
"model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 131 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 132 |
+
"model.layers.18.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 133 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 134 |
+
"model.layers.18.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 135 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 136 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 137 |
+
"model.layers.18.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 138 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 139 |
+
"model.layers.18.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 140 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 141 |
+
"model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 142 |
+
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 143 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 144 |
+
"model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 145 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 146 |
+
"model.layers.19.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 147 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 148 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 149 |
+
"model.layers.19.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 150 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 151 |
+
"model.layers.19.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 152 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 153 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 154 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 155 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 156 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 157 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 158 |
+
"model.layers.2.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 159 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 160 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 161 |
+
"model.layers.2.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 162 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 163 |
+
"model.layers.2.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 164 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 165 |
+
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 166 |
+
"model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 167 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 168 |
+
"model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 169 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 170 |
+
"model.layers.20.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 171 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 172 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 173 |
+
"model.layers.20.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 174 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 175 |
+
"model.layers.20.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 176 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 177 |
+
"model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 178 |
+
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 179 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 180 |
+
"model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 181 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 182 |
+
"model.layers.21.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 183 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 184 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 185 |
+
"model.layers.21.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 186 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 187 |
+
"model.layers.21.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 188 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 189 |
+
"model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 190 |
+
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 191 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 192 |
+
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 193 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 194 |
+
"model.layers.22.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 195 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 196 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 197 |
+
"model.layers.22.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 198 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 199 |
+
"model.layers.22.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 200 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 201 |
+
"model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 202 |
+
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 203 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 204 |
+
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 205 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 206 |
+
"model.layers.23.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 207 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 208 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 209 |
+
"model.layers.23.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 210 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 211 |
+
"model.layers.23.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 212 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 213 |
+
"model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 214 |
+
"model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 215 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 216 |
+
"model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 217 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 218 |
+
"model.layers.24.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 219 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 220 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 221 |
+
"model.layers.24.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 222 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 223 |
+
"model.layers.24.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 224 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 225 |
+
"model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 226 |
+
"model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 227 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 228 |
+
"model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 229 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 230 |
+
"model.layers.25.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 231 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 232 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 233 |
+
"model.layers.25.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 234 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 235 |
+
"model.layers.25.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 236 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 237 |
+
"model.layers.26.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 238 |
+
"model.layers.26.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 239 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 240 |
+
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 241 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 242 |
+
"model.layers.26.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 243 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 244 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 245 |
+
"model.layers.26.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 246 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 247 |
+
"model.layers.26.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 248 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 249 |
+
"model.layers.27.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 250 |
+
"model.layers.27.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 251 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 252 |
+
"model.layers.27.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 253 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 254 |
+
"model.layers.27.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
|
| 255 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 256 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 257 |
+
"model.layers.27.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
|
| 258 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
| 259 |
+
"model.layers.27.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
|
| 260 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 261 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 262 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 263 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 264 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 265 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 266 |
+
"model.layers.3.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 267 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 268 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 269 |
+
"model.layers.3.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 270 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 271 |
+
"model.layers.3.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 272 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 273 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 274 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 275 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 276 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 277 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 278 |
+
"model.layers.4.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 279 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 280 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 281 |
+
"model.layers.4.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 282 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 283 |
+
"model.layers.4.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 284 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 285 |
+
"model.layers.5.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 286 |
+
"model.layers.5.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 287 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 288 |
+
"model.layers.5.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 289 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 290 |
+
"model.layers.5.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 291 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 292 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 293 |
+
"model.layers.5.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 294 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 295 |
+
"model.layers.5.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 296 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 297 |
+
"model.layers.6.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 298 |
+
"model.layers.6.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 299 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 300 |
+
"model.layers.6.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 301 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 302 |
+
"model.layers.6.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 303 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 304 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 305 |
+
"model.layers.6.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 306 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 307 |
+
"model.layers.6.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 308 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 309 |
+
"model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 310 |
+
"model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 311 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 312 |
+
"model.layers.7.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 313 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 314 |
+
"model.layers.7.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 315 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 316 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 317 |
+
"model.layers.7.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 318 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 319 |
+
"model.layers.7.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 320 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 321 |
+
"model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 322 |
+
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 323 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 324 |
+
"model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 325 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 326 |
+
"model.layers.8.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 327 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 328 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 329 |
+
"model.layers.8.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 330 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 331 |
+
"model.layers.8.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 332 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 333 |
+
"model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 334 |
+
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 335 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 336 |
+
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 337 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 338 |
+
"model.layers.9.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 339 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 340 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 341 |
+
"model.layers.9.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 342 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 343 |
+
"model.layers.9.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 344 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 345 |
+
"model.norm.weight": "model-00004-of-00004.safetensors",
|
| 346 |
+
"visual.blocks.0.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 347 |
+
"visual.blocks.0.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 348 |
+
"visual.blocks.0.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 349 |
+
"visual.blocks.0.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 350 |
+
"visual.blocks.0.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 351 |
+
"visual.blocks.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 352 |
+
"visual.blocks.0.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 353 |
+
"visual.blocks.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 354 |
+
"visual.blocks.0.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 355 |
+
"visual.blocks.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 356 |
+
"visual.blocks.0.norm1.weight": "model-00001-of-00004.safetensors",
|
| 357 |
+
"visual.blocks.0.norm2.weight": "model-00001-of-00004.safetensors",
|
| 358 |
+
"visual.blocks.1.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 359 |
+
"visual.blocks.1.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 360 |
+
"visual.blocks.1.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 361 |
+
"visual.blocks.1.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 362 |
+
"visual.blocks.1.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 363 |
+
"visual.blocks.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 364 |
+
"visual.blocks.1.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 365 |
+
"visual.blocks.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 366 |
+
"visual.blocks.1.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 367 |
+
"visual.blocks.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 368 |
+
"visual.blocks.1.norm1.weight": "model-00001-of-00004.safetensors",
|
| 369 |
+
"visual.blocks.1.norm2.weight": "model-00001-of-00004.safetensors",
|
| 370 |
+
"visual.blocks.10.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 371 |
+
"visual.blocks.10.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 372 |
+
"visual.blocks.10.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 373 |
+
"visual.blocks.10.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 374 |
+
"visual.blocks.10.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 375 |
+
"visual.blocks.10.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 376 |
+
"visual.blocks.10.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 377 |
+
"visual.blocks.10.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 378 |
+
"visual.blocks.10.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 379 |
+
"visual.blocks.10.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 380 |
+
"visual.blocks.10.norm1.weight": "model-00001-of-00004.safetensors",
|
| 381 |
+
"visual.blocks.10.norm2.weight": "model-00001-of-00004.safetensors",
|
| 382 |
+
"visual.blocks.11.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 383 |
+
"visual.blocks.11.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 384 |
+
"visual.blocks.11.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 385 |
+
"visual.blocks.11.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 386 |
+
"visual.blocks.11.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 387 |
+
"visual.blocks.11.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 388 |
+
"visual.blocks.11.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 389 |
+
"visual.blocks.11.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 390 |
+
"visual.blocks.11.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 391 |
+
"visual.blocks.11.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 392 |
+
"visual.blocks.11.norm1.weight": "model-00001-of-00004.safetensors",
|
| 393 |
+
"visual.blocks.11.norm2.weight": "model-00001-of-00004.safetensors",
|
| 394 |
+
"visual.blocks.12.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 395 |
+
"visual.blocks.12.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 396 |
+
"visual.blocks.12.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 397 |
+
"visual.blocks.12.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 398 |
+
"visual.blocks.12.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 399 |
+
"visual.blocks.12.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 400 |
+
"visual.blocks.12.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 401 |
+
"visual.blocks.12.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 402 |
+
"visual.blocks.12.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 403 |
+
"visual.blocks.12.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 404 |
+
"visual.blocks.12.norm1.weight": "model-00001-of-00004.safetensors",
|
| 405 |
+
"visual.blocks.12.norm2.weight": "model-00001-of-00004.safetensors",
|
| 406 |
+
"visual.blocks.13.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 407 |
+
"visual.blocks.13.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 408 |
+
"visual.blocks.13.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 409 |
+
"visual.blocks.13.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 410 |
+
"visual.blocks.13.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 411 |
+
"visual.blocks.13.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 412 |
+
"visual.blocks.13.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 413 |
+
"visual.blocks.13.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 414 |
+
"visual.blocks.13.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 415 |
+
"visual.blocks.13.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 416 |
+
"visual.blocks.13.norm1.weight": "model-00001-of-00004.safetensors",
|
| 417 |
+
"visual.blocks.13.norm2.weight": "model-00001-of-00004.safetensors",
|
| 418 |
+
"visual.blocks.14.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 419 |
+
"visual.blocks.14.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 420 |
+
"visual.blocks.14.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 421 |
+
"visual.blocks.14.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 422 |
+
"visual.blocks.14.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 423 |
+
"visual.blocks.14.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 424 |
+
"visual.blocks.14.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 425 |
+
"visual.blocks.14.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 426 |
+
"visual.blocks.14.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 427 |
+
"visual.blocks.14.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 428 |
+
"visual.blocks.14.norm1.weight": "model-00001-of-00004.safetensors",
|
| 429 |
+
"visual.blocks.14.norm2.weight": "model-00001-of-00004.safetensors",
|
| 430 |
+
"visual.blocks.15.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 431 |
+
"visual.blocks.15.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 432 |
+
"visual.blocks.15.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 433 |
+
"visual.blocks.15.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 434 |
+
"visual.blocks.15.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 435 |
+
"visual.blocks.15.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 436 |
+
"visual.blocks.15.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 437 |
+
"visual.blocks.15.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 438 |
+
"visual.blocks.15.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 439 |
+
"visual.blocks.15.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 440 |
+
"visual.blocks.15.norm1.weight": "model-00001-of-00004.safetensors",
|
| 441 |
+
"visual.blocks.15.norm2.weight": "model-00001-of-00004.safetensors",
|
| 442 |
+
"visual.blocks.16.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 443 |
+
"visual.blocks.16.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 444 |
+
"visual.blocks.16.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 445 |
+
"visual.blocks.16.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 446 |
+
"visual.blocks.16.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 447 |
+
"visual.blocks.16.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 448 |
+
"visual.blocks.16.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 449 |
+
"visual.blocks.16.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 450 |
+
"visual.blocks.16.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 451 |
+
"visual.blocks.16.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 452 |
+
"visual.blocks.16.norm1.weight": "model-00001-of-00004.safetensors",
|
| 453 |
+
"visual.blocks.16.norm2.weight": "model-00001-of-00004.safetensors",
|
| 454 |
+
"visual.blocks.17.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 455 |
+
"visual.blocks.17.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 456 |
+
"visual.blocks.17.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 457 |
+
"visual.blocks.17.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 458 |
+
"visual.blocks.17.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 459 |
+
"visual.blocks.17.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 460 |
+
"visual.blocks.17.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 461 |
+
"visual.blocks.17.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 462 |
+
"visual.blocks.17.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 463 |
+
"visual.blocks.17.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 464 |
+
"visual.blocks.17.norm1.weight": "model-00001-of-00004.safetensors",
|
| 465 |
+
"visual.blocks.17.norm2.weight": "model-00001-of-00004.safetensors",
|
| 466 |
+
"visual.blocks.18.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 467 |
+
"visual.blocks.18.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 468 |
+
"visual.blocks.18.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 469 |
+
"visual.blocks.18.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 470 |
+
"visual.blocks.18.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 471 |
+
"visual.blocks.18.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 472 |
+
"visual.blocks.18.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 473 |
+
"visual.blocks.18.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 474 |
+
"visual.blocks.18.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 475 |
+
"visual.blocks.18.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 476 |
+
"visual.blocks.18.norm1.weight": "model-00001-of-00004.safetensors",
|
| 477 |
+
"visual.blocks.18.norm2.weight": "model-00001-of-00004.safetensors",
|
| 478 |
+
"visual.blocks.19.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 479 |
+
"visual.blocks.19.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 480 |
+
"visual.blocks.19.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 481 |
+
"visual.blocks.19.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 482 |
+
"visual.blocks.19.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 483 |
+
"visual.blocks.19.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 484 |
+
"visual.blocks.19.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 485 |
+
"visual.blocks.19.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 486 |
+
"visual.blocks.19.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 487 |
+
"visual.blocks.19.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 488 |
+
"visual.blocks.19.norm1.weight": "model-00001-of-00004.safetensors",
|
| 489 |
+
"visual.blocks.19.norm2.weight": "model-00001-of-00004.safetensors",
|
| 490 |
+
"visual.blocks.2.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 491 |
+
"visual.blocks.2.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 492 |
+
"visual.blocks.2.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 493 |
+
"visual.blocks.2.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 494 |
+
"visual.blocks.2.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 495 |
+
"visual.blocks.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 496 |
+
"visual.blocks.2.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 497 |
+
"visual.blocks.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 498 |
+
"visual.blocks.2.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 499 |
+
"visual.blocks.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 500 |
+
"visual.blocks.2.norm1.weight": "model-00001-of-00004.safetensors",
|
| 501 |
+
"visual.blocks.2.norm2.weight": "model-00001-of-00004.safetensors",
|
| 502 |
+
"visual.blocks.20.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 503 |
+
"visual.blocks.20.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 504 |
+
"visual.blocks.20.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 505 |
+
"visual.blocks.20.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 506 |
+
"visual.blocks.20.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 507 |
+
"visual.blocks.20.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 508 |
+
"visual.blocks.20.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 509 |
+
"visual.blocks.20.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 510 |
+
"visual.blocks.20.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 511 |
+
"visual.blocks.20.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 512 |
+
"visual.blocks.20.norm1.weight": "model-00001-of-00004.safetensors",
|
| 513 |
+
"visual.blocks.20.norm2.weight": "model-00001-of-00004.safetensors",
|
| 514 |
+
"visual.blocks.21.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 515 |
+
"visual.blocks.21.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 516 |
+
"visual.blocks.21.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 517 |
+
"visual.blocks.21.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 518 |
+
"visual.blocks.21.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 519 |
+
"visual.blocks.21.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 520 |
+
"visual.blocks.21.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 521 |
+
"visual.blocks.21.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 522 |
+
"visual.blocks.21.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 523 |
+
"visual.blocks.21.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 524 |
+
"visual.blocks.21.norm1.weight": "model-00001-of-00004.safetensors",
|
| 525 |
+
"visual.blocks.21.norm2.weight": "model-00001-of-00004.safetensors",
|
| 526 |
+
"visual.blocks.22.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 527 |
+
"visual.blocks.22.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 528 |
+
"visual.blocks.22.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 529 |
+
"visual.blocks.22.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 530 |
+
"visual.blocks.22.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 531 |
+
"visual.blocks.22.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 532 |
+
"visual.blocks.22.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 533 |
+
"visual.blocks.22.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 534 |
+
"visual.blocks.22.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 535 |
+
"visual.blocks.22.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 536 |
+
"visual.blocks.22.norm1.weight": "model-00001-of-00004.safetensors",
|
| 537 |
+
"visual.blocks.22.norm2.weight": "model-00001-of-00004.safetensors",
|
| 538 |
+
"visual.blocks.23.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 539 |
+
"visual.blocks.23.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 540 |
+
"visual.blocks.23.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 541 |
+
"visual.blocks.23.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 542 |
+
"visual.blocks.23.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 543 |
+
"visual.blocks.23.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 544 |
+
"visual.blocks.23.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 545 |
+
"visual.blocks.23.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 546 |
+
"visual.blocks.23.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 547 |
+
"visual.blocks.23.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 548 |
+
"visual.blocks.23.norm1.weight": "model-00001-of-00004.safetensors",
|
| 549 |
+
"visual.blocks.23.norm2.weight": "model-00001-of-00004.safetensors",
|
| 550 |
+
"visual.blocks.24.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 551 |
+
"visual.blocks.24.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 552 |
+
"visual.blocks.24.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 553 |
+
"visual.blocks.24.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 554 |
+
"visual.blocks.24.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 555 |
+
"visual.blocks.24.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 556 |
+
"visual.blocks.24.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 557 |
+
"visual.blocks.24.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 558 |
+
"visual.blocks.24.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 559 |
+
"visual.blocks.24.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 560 |
+
"visual.blocks.24.norm1.weight": "model-00001-of-00004.safetensors",
|
| 561 |
+
"visual.blocks.24.norm2.weight": "model-00001-of-00004.safetensors",
|
| 562 |
+
"visual.blocks.25.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 563 |
+
"visual.blocks.25.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 564 |
+
"visual.blocks.25.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 565 |
+
"visual.blocks.25.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 566 |
+
"visual.blocks.25.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 567 |
+
"visual.blocks.25.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 568 |
+
"visual.blocks.25.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 569 |
+
"visual.blocks.25.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 570 |
+
"visual.blocks.25.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 571 |
+
"visual.blocks.25.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 572 |
+
"visual.blocks.25.norm1.weight": "model-00001-of-00004.safetensors",
|
| 573 |
+
"visual.blocks.25.norm2.weight": "model-00001-of-00004.safetensors",
|
| 574 |
+
"visual.blocks.26.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 575 |
+
"visual.blocks.26.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 576 |
+
"visual.blocks.26.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 577 |
+
"visual.blocks.26.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 578 |
+
"visual.blocks.26.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 579 |
+
"visual.blocks.26.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 580 |
+
"visual.blocks.26.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 581 |
+
"visual.blocks.26.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 582 |
+
"visual.blocks.26.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 583 |
+
"visual.blocks.26.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 584 |
+
"visual.blocks.26.norm1.weight": "model-00001-of-00004.safetensors",
|
| 585 |
+
"visual.blocks.26.norm2.weight": "model-00001-of-00004.safetensors",
|
| 586 |
+
"visual.blocks.27.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 587 |
+
"visual.blocks.27.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 588 |
+
"visual.blocks.27.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 589 |
+
"visual.blocks.27.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 590 |
+
"visual.blocks.27.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 591 |
+
"visual.blocks.27.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 592 |
+
"visual.blocks.27.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 593 |
+
"visual.blocks.27.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 594 |
+
"visual.blocks.27.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 595 |
+
"visual.blocks.27.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 596 |
+
"visual.blocks.27.norm1.weight": "model-00001-of-00004.safetensors",
|
| 597 |
+
"visual.blocks.27.norm2.weight": "model-00001-of-00004.safetensors",
|
| 598 |
+
"visual.blocks.28.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 599 |
+
"visual.blocks.28.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 600 |
+
"visual.blocks.28.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 601 |
+
"visual.blocks.28.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 602 |
+
"visual.blocks.28.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 603 |
+
"visual.blocks.28.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 604 |
+
"visual.blocks.28.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 605 |
+
"visual.blocks.28.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 606 |
+
"visual.blocks.28.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 607 |
+
"visual.blocks.28.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 608 |
+
"visual.blocks.28.norm1.weight": "model-00001-of-00004.safetensors",
|
| 609 |
+
"visual.blocks.28.norm2.weight": "model-00001-of-00004.safetensors",
|
| 610 |
+
"visual.blocks.29.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 611 |
+
"visual.blocks.29.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 612 |
+
"visual.blocks.29.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 613 |
+
"visual.blocks.29.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 614 |
+
"visual.blocks.29.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 615 |
+
"visual.blocks.29.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 616 |
+
"visual.blocks.29.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 617 |
+
"visual.blocks.29.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 618 |
+
"visual.blocks.29.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 619 |
+
"visual.blocks.29.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 620 |
+
"visual.blocks.29.norm1.weight": "model-00001-of-00004.safetensors",
|
| 621 |
+
"visual.blocks.29.norm2.weight": "model-00001-of-00004.safetensors",
|
| 622 |
+
"visual.blocks.3.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 623 |
+
"visual.blocks.3.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 624 |
+
"visual.blocks.3.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 625 |
+
"visual.blocks.3.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 626 |
+
"visual.blocks.3.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 627 |
+
"visual.blocks.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 628 |
+
"visual.blocks.3.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 629 |
+
"visual.blocks.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 630 |
+
"visual.blocks.3.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 631 |
+
"visual.blocks.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 632 |
+
"visual.blocks.3.norm1.weight": "model-00001-of-00004.safetensors",
|
| 633 |
+
"visual.blocks.3.norm2.weight": "model-00001-of-00004.safetensors",
|
| 634 |
+
"visual.blocks.30.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 635 |
+
"visual.blocks.30.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 636 |
+
"visual.blocks.30.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 637 |
+
"visual.blocks.30.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 638 |
+
"visual.blocks.30.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 639 |
+
"visual.blocks.30.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 640 |
+
"visual.blocks.30.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 641 |
+
"visual.blocks.30.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 642 |
+
"visual.blocks.30.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 643 |
+
"visual.blocks.30.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 644 |
+
"visual.blocks.30.norm1.weight": "model-00001-of-00004.safetensors",
|
| 645 |
+
"visual.blocks.30.norm2.weight": "model-00001-of-00004.safetensors",
|
| 646 |
+
"visual.blocks.31.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 647 |
+
"visual.blocks.31.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 648 |
+
"visual.blocks.31.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 649 |
+
"visual.blocks.31.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 650 |
+
"visual.blocks.31.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 651 |
+
"visual.blocks.31.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 652 |
+
"visual.blocks.31.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 653 |
+
"visual.blocks.31.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 654 |
+
"visual.blocks.31.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 655 |
+
"visual.blocks.31.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 656 |
+
"visual.blocks.31.norm1.weight": "model-00001-of-00004.safetensors",
|
| 657 |
+
"visual.blocks.31.norm2.weight": "model-00001-of-00004.safetensors",
|
| 658 |
+
"visual.blocks.4.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 659 |
+
"visual.blocks.4.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 660 |
+
"visual.blocks.4.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 661 |
+
"visual.blocks.4.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 662 |
+
"visual.blocks.4.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 663 |
+
"visual.blocks.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 664 |
+
"visual.blocks.4.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 665 |
+
"visual.blocks.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 666 |
+
"visual.blocks.4.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 667 |
+
"visual.blocks.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 668 |
+
"visual.blocks.4.norm1.weight": "model-00001-of-00004.safetensors",
|
| 669 |
+
"visual.blocks.4.norm2.weight": "model-00001-of-00004.safetensors",
|
| 670 |
+
"visual.blocks.5.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 671 |
+
"visual.blocks.5.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 672 |
+
"visual.blocks.5.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 673 |
+
"visual.blocks.5.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 674 |
+
"visual.blocks.5.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 675 |
+
"visual.blocks.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 676 |
+
"visual.blocks.5.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 677 |
+
"visual.blocks.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 678 |
+
"visual.blocks.5.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 679 |
+
"visual.blocks.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 680 |
+
"visual.blocks.5.norm1.weight": "model-00001-of-00004.safetensors",
|
| 681 |
+
"visual.blocks.5.norm2.weight": "model-00001-of-00004.safetensors",
|
| 682 |
+
"visual.blocks.6.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 683 |
+
"visual.blocks.6.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 684 |
+
"visual.blocks.6.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 685 |
+
"visual.blocks.6.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 686 |
+
"visual.blocks.6.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 687 |
+
"visual.blocks.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 688 |
+
"visual.blocks.6.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 689 |
+
"visual.blocks.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 690 |
+
"visual.blocks.6.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 691 |
+
"visual.blocks.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 692 |
+
"visual.blocks.6.norm1.weight": "model-00001-of-00004.safetensors",
|
| 693 |
+
"visual.blocks.6.norm2.weight": "model-00001-of-00004.safetensors",
|
| 694 |
+
"visual.blocks.7.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 695 |
+
"visual.blocks.7.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 696 |
+
"visual.blocks.7.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 697 |
+
"visual.blocks.7.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 698 |
+
"visual.blocks.7.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 699 |
+
"visual.blocks.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 700 |
+
"visual.blocks.7.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 701 |
+
"visual.blocks.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 702 |
+
"visual.blocks.7.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 703 |
+
"visual.blocks.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 704 |
+
"visual.blocks.7.norm1.weight": "model-00001-of-00004.safetensors",
|
| 705 |
+
"visual.blocks.7.norm2.weight": "model-00001-of-00004.safetensors",
|
| 706 |
+
"visual.blocks.8.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 707 |
+
"visual.blocks.8.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 708 |
+
"visual.blocks.8.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 709 |
+
"visual.blocks.8.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 710 |
+
"visual.blocks.8.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 711 |
+
"visual.blocks.8.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 712 |
+
"visual.blocks.8.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 713 |
+
"visual.blocks.8.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 714 |
+
"visual.blocks.8.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 715 |
+
"visual.blocks.8.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 716 |
+
"visual.blocks.8.norm1.weight": "model-00001-of-00004.safetensors",
|
| 717 |
+
"visual.blocks.8.norm2.weight": "model-00001-of-00004.safetensors",
|
| 718 |
+
"visual.blocks.9.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 719 |
+
"visual.blocks.9.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 720 |
+
"visual.blocks.9.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 721 |
+
"visual.blocks.9.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 722 |
+
"visual.blocks.9.mlp.down_proj.bias": "model-00001-of-00004.safetensors",
|
| 723 |
+
"visual.blocks.9.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 724 |
+
"visual.blocks.9.mlp.gate_proj.bias": "model-00001-of-00004.safetensors",
|
| 725 |
+
"visual.blocks.9.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 726 |
+
"visual.blocks.9.mlp.up_proj.bias": "model-00001-of-00004.safetensors",
|
| 727 |
+
"visual.blocks.9.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 728 |
+
"visual.blocks.9.norm1.weight": "model-00001-of-00004.safetensors",
|
| 729 |
+
"visual.blocks.9.norm2.weight": "model-00001-of-00004.safetensors",
|
| 730 |
+
"visual.merger.ln_q.weight": "model-00001-of-00004.safetensors",
|
| 731 |
+
"visual.merger.mlp.0.bias": "model-00001-of-00004.safetensors",
|
| 732 |
+
"visual.merger.mlp.0.weight": "model-00001-of-00004.safetensors",
|
| 733 |
+
"visual.merger.mlp.2.bias": "model-00001-of-00004.safetensors",
|
| 734 |
+
"visual.merger.mlp.2.weight": "model-00001-of-00004.safetensors",
|
| 735 |
+
"visual.patch_embed.proj.weight": "model-00001-of-00004.safetensors"
|
| 736 |
+
}
|
| 737 |
+
}
|
size-80k/stage3/checkpoint-1200/preprocessor_config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": null,
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"default_to_square": true,
|
| 5 |
+
"device": null,
|
| 6 |
+
"disable_grouping": null,
|
| 7 |
+
"do_center_crop": null,
|
| 8 |
+
"do_convert_rgb": true,
|
| 9 |
+
"do_normalize": true,
|
| 10 |
+
"do_rescale": true,
|
| 11 |
+
"do_resize": true,
|
| 12 |
+
"image_mean": [
|
| 13 |
+
0.48145466,
|
| 14 |
+
0.4578275,
|
| 15 |
+
0.40821073
|
| 16 |
+
],
|
| 17 |
+
"image_processor_type": "Qwen2VLImageProcessorFast",
|
| 18 |
+
"image_std": [
|
| 19 |
+
0.26862954,
|
| 20 |
+
0.26130258,
|
| 21 |
+
0.27577711
|
| 22 |
+
],
|
| 23 |
+
"input_data_format": null,
|
| 24 |
+
"max_pixels": 12845056,
|
| 25 |
+
"merge_size": 2,
|
| 26 |
+
"min_pixels": 3136,
|
| 27 |
+
"patch_size": 14,
|
| 28 |
+
"processor_class": "Qwen2_5_VLProcessor",
|
| 29 |
+
"resample": 3,
|
| 30 |
+
"rescale_factor": 0.00392156862745098,
|
| 31 |
+
"return_tensors": null,
|
| 32 |
+
"size": {
|
| 33 |
+
"longest_edge": 12845056,
|
| 34 |
+
"shortest_edge": 3136
|
| 35 |
+
},
|
| 36 |
+
"temporal_patch_size": 2
|
| 37 |
+
}
|
size-80k/stage3/checkpoint-1200/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bfe1981024ef92f2da08a90c72c7c793d1cc9de1547abd2556c968be70232eb
|
| 3 |
+
size 16389
|
size-80k/stage3/checkpoint-1200/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a35b845d476d830805793c3dcf8ac2daad87fec289bff3f7eda9e72fc374eda1
|
| 3 |
+
size 16389
|
size-80k/stage3/checkpoint-1200/rng_state_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03e9880996b01262a807d1ec3ebd91eee540e08130a14a45a4648731fd0d48a9
|
| 3 |
+
size 16389
|
size-80k/stage3/checkpoint-1200/rng_state_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee25c237d6fe62ec76adcf7daf899d7ed32eab5d1a5b447b911f4451c9a1b258
|
| 3 |
+
size 16389
|
size-80k/stage3/checkpoint-1200/rng_state_4.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a6b31133f29a8fc0cb538aa807d6a403bd51939336bfd425cd3d122d8c5595c
|
| 3 |
+
size 16389
|
size-80k/stage3/checkpoint-1200/rng_state_5.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a26c55b5c7fa0522b1d27b2c00a7ea77ad010f19a1321991165c5c972b8fa97a
|
| 3 |
+
size 16389
|
size-80k/stage3/checkpoint-1200/rng_state_6.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a1a3cf85626196804f25a8293e22dc561bba068a70fb123e04afe4896c33972
|
| 3 |
+
size 16389
|
size-80k/stage3/checkpoint-1200/rng_state_7.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28f87c1ee5f5db346c7b913137cbccd196eaf8ec5a4cf9f192418a3069269b49
|
| 3 |
+
size 16389
|
size-80k/stage3/checkpoint-1200/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e57acaba9f6ad15a4c4e39411a0f1a3cbb759ce086b048cb24d41a87db48f21a
|
| 3 |
+
size 1465
|
size-80k/stage3/checkpoint-1200/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
size-80k/stage3/checkpoint-1200/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2f9fae7ca98ea5ec3491610545d8b0662b8dc45a16f3dec6dd051cc84ae422f
|
| 3 |
+
size 11423026
|
size-80k/stage3/checkpoint-1200/tokenizer_config.json
ADDED
|
@@ -0,0 +1,249 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<abs_vis_token_pad>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": true
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "<abs_vis_token>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": true
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "</abs_vis_token>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": true
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "<observation>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": true
|
| 212 |
+
},
|
| 213 |
+
"151669": {
|
| 214 |
+
"content": "</observation>",
|
| 215 |
+
"lstrip": false,
|
| 216 |
+
"normalized": false,
|
| 217 |
+
"rstrip": false,
|
| 218 |
+
"single_word": false,
|
| 219 |
+
"special": true
|
| 220 |
+
}
|
| 221 |
+
},
|
| 222 |
+
"additional_special_tokens": [
|
| 223 |
+
"<|im_start|>",
|
| 224 |
+
"<|im_end|>",
|
| 225 |
+
"<|object_ref_start|>",
|
| 226 |
+
"<|object_ref_end|>",
|
| 227 |
+
"<|box_start|>",
|
| 228 |
+
"<|box_end|>",
|
| 229 |
+
"<|quad_start|>",
|
| 230 |
+
"<|quad_end|>",
|
| 231 |
+
"<|vision_start|>",
|
| 232 |
+
"<|vision_end|>",
|
| 233 |
+
"<|vision_pad|>",
|
| 234 |
+
"<|image_pad|>",
|
| 235 |
+
"<|video_pad|>"
|
| 236 |
+
],
|
| 237 |
+
"bos_token": null,
|
| 238 |
+
"clean_up_tokenization_spaces": false,
|
| 239 |
+
"eos_token": "<|im_end|>",
|
| 240 |
+
"errors": "replace",
|
| 241 |
+
"extra_special_tokens": {},
|
| 242 |
+
"model_max_length": 131072,
|
| 243 |
+
"pad_token": "<|endoftext|>",
|
| 244 |
+
"processor_class": "Qwen2_5_VLProcessor",
|
| 245 |
+
"split_special_tokens": false,
|
| 246 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 247 |
+
"unk_token": null,
|
| 248 |
+
"use_fast": true
|
| 249 |
+
}
|
size-80k/stage3/checkpoint-1200/trainer_state.json
ADDED
|
@@ -0,0 +1,1474 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.92,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 1200,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"alignment_loss": 0.866321,
|
| 14 |
+
"epoch": 0.016,
|
| 15 |
+
"grad_norm": 53.16629409790039,
|
| 16 |
+
"img_mask_ratio": 0.0,
|
| 17 |
+
"learning_rate": 9e-06,
|
| 18 |
+
"loss": 6.2219,
|
| 19 |
+
"mean_token_accuracy": 0.6290929734706878,
|
| 20 |
+
"num_tokens": 226163.0,
|
| 21 |
+
"step": 10,
|
| 22 |
+
"student_ce_loss": 4.625781
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"alignment_loss": 0.796968,
|
| 26 |
+
"epoch": 0.032,
|
| 27 |
+
"grad_norm": 24.18722152709961,
|
| 28 |
+
"img_mask_ratio": 0.0,
|
| 29 |
+
"learning_rate": 9.927419354838711e-06,
|
| 30 |
+
"loss": 2.8542,
|
| 31 |
+
"mean_token_accuracy": 0.7653167456388473,
|
| 32 |
+
"num_tokens": 455048.0,
|
| 33 |
+
"step": 20,
|
| 34 |
+
"student_ce_loss": 1.266052
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"alignment_loss": 0.656018,
|
| 38 |
+
"epoch": 0.048,
|
| 39 |
+
"grad_norm": 20.42601776123047,
|
| 40 |
+
"img_mask_ratio": 0.0,
|
| 41 |
+
"learning_rate": 9.846774193548388e-06,
|
| 42 |
+
"loss": 2.2508,
|
| 43 |
+
"mean_token_accuracy": 0.7722096562385559,
|
| 44 |
+
"num_tokens": 685564.0,
|
| 45 |
+
"step": 30,
|
| 46 |
+
"student_ce_loss": 0.854546
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"alignment_loss": 0.558058,
|
| 50 |
+
"epoch": 0.064,
|
| 51 |
+
"grad_norm": 16.165483474731445,
|
| 52 |
+
"img_mask_ratio": 0.0,
|
| 53 |
+
"learning_rate": 9.766129032258065e-06,
|
| 54 |
+
"loss": 1.8147,
|
| 55 |
+
"mean_token_accuracy": 0.8547880202531815,
|
| 56 |
+
"num_tokens": 919904.0,
|
| 57 |
+
"step": 40,
|
| 58 |
+
"student_ce_loss": 0.787294
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"alignment_loss": 0.478645,
|
| 62 |
+
"epoch": 0.08,
|
| 63 |
+
"grad_norm": 5.68598747253418,
|
| 64 |
+
"img_mask_ratio": 0.0,
|
| 65 |
+
"learning_rate": 9.685483870967743e-06,
|
| 66 |
+
"loss": 1.512,
|
| 67 |
+
"mean_token_accuracy": 0.847625857591629,
|
| 68 |
+
"num_tokens": 1150448.0,
|
| 69 |
+
"step": 50,
|
| 70 |
+
"student_ce_loss": 0.59007
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"alignment_loss": 0.429532,
|
| 74 |
+
"epoch": 0.096,
|
| 75 |
+
"grad_norm": 5.214354038238525,
|
| 76 |
+
"img_mask_ratio": 0.0,
|
| 77 |
+
"learning_rate": 9.60483870967742e-06,
|
| 78 |
+
"loss": 1.3271,
|
| 79 |
+
"mean_token_accuracy": 0.8496945917606353,
|
| 80 |
+
"num_tokens": 1381015.0,
|
| 81 |
+
"step": 60,
|
| 82 |
+
"student_ce_loss": 0.467314
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"alignment_loss": 0.338649,
|
| 86 |
+
"epoch": 0.112,
|
| 87 |
+
"grad_norm": 3.866241216659546,
|
| 88 |
+
"img_mask_ratio": 0.0,
|
| 89 |
+
"learning_rate": 9.524193548387098e-06,
|
| 90 |
+
"loss": 1.1635,
|
| 91 |
+
"mean_token_accuracy": 0.8637245237827301,
|
| 92 |
+
"num_tokens": 1607318.0,
|
| 93 |
+
"step": 70,
|
| 94 |
+
"student_ce_loss": 0.469563
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"alignment_loss": 0.332526,
|
| 98 |
+
"epoch": 0.128,
|
| 99 |
+
"grad_norm": 3.697273015975952,
|
| 100 |
+
"img_mask_ratio": 0.0,
|
| 101 |
+
"learning_rate": 9.443548387096774e-06,
|
| 102 |
+
"loss": 1.0937,
|
| 103 |
+
"mean_token_accuracy": 0.8635718524456024,
|
| 104 |
+
"num_tokens": 1834373.0,
|
| 105 |
+
"step": 80,
|
| 106 |
+
"student_ce_loss": 0.438112
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"alignment_loss": 0.286715,
|
| 110 |
+
"epoch": 0.144,
|
| 111 |
+
"grad_norm": 3.874640941619873,
|
| 112 |
+
"img_mask_ratio": 0.0,
|
| 113 |
+
"learning_rate": 9.362903225806452e-06,
|
| 114 |
+
"loss": 1.0473,
|
| 115 |
+
"mean_token_accuracy": 0.8503562688827515,
|
| 116 |
+
"num_tokens": 2059541.0,
|
| 117 |
+
"step": 90,
|
| 118 |
+
"student_ce_loss": 0.47835
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"alignment_loss": 0.23359,
|
| 122 |
+
"epoch": 0.16,
|
| 123 |
+
"grad_norm": 3.4020497798919678,
|
| 124 |
+
"img_mask_ratio": 0.0,
|
| 125 |
+
"learning_rate": 9.28225806451613e-06,
|
| 126 |
+
"loss": 0.977,
|
| 127 |
+
"mean_token_accuracy": 0.8504366874694824,
|
| 128 |
+
"num_tokens": 2287385.0,
|
| 129 |
+
"step": 100,
|
| 130 |
+
"student_ce_loss": 0.424722
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"alignment_loss": 0.240273,
|
| 134 |
+
"epoch": 0.176,
|
| 135 |
+
"grad_norm": 5.582215785980225,
|
| 136 |
+
"img_mask_ratio": 0.0,
|
| 137 |
+
"learning_rate": 9.201612903225807e-06,
|
| 138 |
+
"loss": 0.9475,
|
| 139 |
+
"mean_token_accuracy": 0.8535527676343918,
|
| 140 |
+
"num_tokens": 2515465.0,
|
| 141 |
+
"step": 110,
|
| 142 |
+
"student_ce_loss": 0.458136
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"alignment_loss": 0.197173,
|
| 146 |
+
"epoch": 0.192,
|
| 147 |
+
"grad_norm": 4.03917932510376,
|
| 148 |
+
"img_mask_ratio": 0.0,
|
| 149 |
+
"learning_rate": 9.120967741935485e-06,
|
| 150 |
+
"loss": 0.8669,
|
| 151 |
+
"mean_token_accuracy": 0.8627200663089752,
|
| 152 |
+
"num_tokens": 2743317.0,
|
| 153 |
+
"step": 120,
|
| 154 |
+
"student_ce_loss": 0.424978
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"alignment_loss": 0.208648,
|
| 158 |
+
"epoch": 0.208,
|
| 159 |
+
"grad_norm": 3.5381438732147217,
|
| 160 |
+
"img_mask_ratio": 0.0,
|
| 161 |
+
"learning_rate": 9.040322580645162e-06,
|
| 162 |
+
"loss": 0.8376,
|
| 163 |
+
"mean_token_accuracy": 0.8601637631654739,
|
| 164 |
+
"num_tokens": 2973084.0,
|
| 165 |
+
"step": 130,
|
| 166 |
+
"student_ce_loss": 0.521919
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"alignment_loss": 0.228736,
|
| 170 |
+
"epoch": 0.224,
|
| 171 |
+
"grad_norm": 3.722923755645752,
|
| 172 |
+
"img_mask_ratio": 0.0,
|
| 173 |
+
"learning_rate": 8.95967741935484e-06,
|
| 174 |
+
"loss": 0.8608,
|
| 175 |
+
"mean_token_accuracy": 0.8577125281095505,
|
| 176 |
+
"num_tokens": 3202314.0,
|
| 177 |
+
"step": 140,
|
| 178 |
+
"student_ce_loss": 0.485148
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"alignment_loss": 0.179487,
|
| 182 |
+
"epoch": 0.24,
|
| 183 |
+
"grad_norm": 3.1161999702453613,
|
| 184 |
+
"img_mask_ratio": 0.0,
|
| 185 |
+
"learning_rate": 8.879032258064517e-06,
|
| 186 |
+
"loss": 0.7829,
|
| 187 |
+
"mean_token_accuracy": 0.870521804690361,
|
| 188 |
+
"num_tokens": 3427520.0,
|
| 189 |
+
"step": 150,
|
| 190 |
+
"student_ce_loss": 0.436812
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"alignment_loss": 0.160299,
|
| 194 |
+
"epoch": 0.256,
|
| 195 |
+
"grad_norm": 3.294691801071167,
|
| 196 |
+
"img_mask_ratio": 0.0,
|
| 197 |
+
"learning_rate": 8.798387096774195e-06,
|
| 198 |
+
"loss": 0.7472,
|
| 199 |
+
"mean_token_accuracy": 0.8787105172872544,
|
| 200 |
+
"num_tokens": 3655836.0,
|
| 201 |
+
"step": 160,
|
| 202 |
+
"student_ce_loss": 0.384081
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"alignment_loss": 0.170942,
|
| 206 |
+
"epoch": 0.272,
|
| 207 |
+
"grad_norm": 3.404750347137451,
|
| 208 |
+
"img_mask_ratio": 0.0,
|
| 209 |
+
"learning_rate": 8.717741935483872e-06,
|
| 210 |
+
"loss": 0.7618,
|
| 211 |
+
"mean_token_accuracy": 0.8705116391181946,
|
| 212 |
+
"num_tokens": 3884681.0,
|
| 213 |
+
"step": 170,
|
| 214 |
+
"student_ce_loss": 0.38388
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"alignment_loss": 0.188203,
|
| 218 |
+
"epoch": 0.288,
|
| 219 |
+
"grad_norm": 3.5378963947296143,
|
| 220 |
+
"img_mask_ratio": 0.0,
|
| 221 |
+
"learning_rate": 8.63709677419355e-06,
|
| 222 |
+
"loss": 0.7612,
|
| 223 |
+
"mean_token_accuracy": 0.866832035779953,
|
| 224 |
+
"num_tokens": 4113966.0,
|
| 225 |
+
"step": 180,
|
| 226 |
+
"student_ce_loss": 0.328712
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"alignment_loss": 0.183621,
|
| 230 |
+
"epoch": 0.304,
|
| 231 |
+
"grad_norm": 3.442723512649536,
|
| 232 |
+
"img_mask_ratio": 0.0,
|
| 233 |
+
"learning_rate": 8.556451612903226e-06,
|
| 234 |
+
"loss": 0.7972,
|
| 235 |
+
"mean_token_accuracy": 0.8568951785564423,
|
| 236 |
+
"num_tokens": 4342577.0,
|
| 237 |
+
"step": 190,
|
| 238 |
+
"student_ce_loss": 0.435246
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"alignment_loss": 0.194176,
|
| 242 |
+
"epoch": 0.32,
|
| 243 |
+
"grad_norm": 3.4880990982055664,
|
| 244 |
+
"img_mask_ratio": 0.0,
|
| 245 |
+
"learning_rate": 8.475806451612903e-06,
|
| 246 |
+
"loss": 0.7962,
|
| 247 |
+
"mean_token_accuracy": 0.8546003937721253,
|
| 248 |
+
"num_tokens": 4570369.0,
|
| 249 |
+
"step": 200,
|
| 250 |
+
"student_ce_loss": 0.469681
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"alignment_loss": 0.177337,
|
| 254 |
+
"epoch": 0.336,
|
| 255 |
+
"grad_norm": 3.2497777938842773,
|
| 256 |
+
"img_mask_ratio": 0.0,
|
| 257 |
+
"learning_rate": 8.395161290322581e-06,
|
| 258 |
+
"loss": 0.7112,
|
| 259 |
+
"mean_token_accuracy": 0.8757602512836457,
|
| 260 |
+
"num_tokens": 4795420.0,
|
| 261 |
+
"step": 210,
|
| 262 |
+
"student_ce_loss": 0.445179
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"alignment_loss": 0.147505,
|
| 266 |
+
"epoch": 0.352,
|
| 267 |
+
"grad_norm": 3.4078030586242676,
|
| 268 |
+
"img_mask_ratio": 0.0,
|
| 269 |
+
"learning_rate": 8.314516129032258e-06,
|
| 270 |
+
"loss": 0.7455,
|
| 271 |
+
"mean_token_accuracy": 0.8728014439344406,
|
| 272 |
+
"num_tokens": 5027402.0,
|
| 273 |
+
"step": 220,
|
| 274 |
+
"student_ce_loss": 0.433617
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"alignment_loss": 0.139049,
|
| 278 |
+
"epoch": 0.368,
|
| 279 |
+
"grad_norm": 3.3320152759552,
|
| 280 |
+
"img_mask_ratio": 0.0,
|
| 281 |
+
"learning_rate": 8.233870967741936e-06,
|
| 282 |
+
"loss": 0.7645,
|
| 283 |
+
"mean_token_accuracy": 0.8623995393514633,
|
| 284 |
+
"num_tokens": 5252352.0,
|
| 285 |
+
"step": 230,
|
| 286 |
+
"student_ce_loss": 0.477303
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"alignment_loss": 0.153479,
|
| 290 |
+
"epoch": 0.384,
|
| 291 |
+
"grad_norm": 3.134070634841919,
|
| 292 |
+
"img_mask_ratio": 0.0,
|
| 293 |
+
"learning_rate": 8.153225806451614e-06,
|
| 294 |
+
"loss": 0.7467,
|
| 295 |
+
"mean_token_accuracy": 0.8702930331230163,
|
| 296 |
+
"num_tokens": 5480739.0,
|
| 297 |
+
"step": 240,
|
| 298 |
+
"student_ce_loss": 0.46336
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"alignment_loss": 0.199429,
|
| 302 |
+
"epoch": 0.4,
|
| 303 |
+
"grad_norm": 2.977844715118408,
|
| 304 |
+
"img_mask_ratio": 0.0,
|
| 305 |
+
"learning_rate": 8.07258064516129e-06,
|
| 306 |
+
"loss": 0.7451,
|
| 307 |
+
"mean_token_accuracy": 0.8608949512243271,
|
| 308 |
+
"num_tokens": 5708782.0,
|
| 309 |
+
"step": 250,
|
| 310 |
+
"student_ce_loss": 0.55476
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"alignment_loss": 0.144926,
|
| 314 |
+
"epoch": 0.416,
|
| 315 |
+
"grad_norm": 3.269623041152954,
|
| 316 |
+
"img_mask_ratio": 0.0,
|
| 317 |
+
"learning_rate": 7.991935483870969e-06,
|
| 318 |
+
"loss": 0.7879,
|
| 319 |
+
"mean_token_accuracy": 0.851165446639061,
|
| 320 |
+
"num_tokens": 5940882.0,
|
| 321 |
+
"step": 260,
|
| 322 |
+
"student_ce_loss": 0.475695
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"alignment_loss": 0.184115,
|
| 326 |
+
"epoch": 0.432,
|
| 327 |
+
"grad_norm": 3.074481248855591,
|
| 328 |
+
"img_mask_ratio": 0.0,
|
| 329 |
+
"learning_rate": 7.911290322580646e-06,
|
| 330 |
+
"loss": 0.7478,
|
| 331 |
+
"mean_token_accuracy": 0.8671377927064896,
|
| 332 |
+
"num_tokens": 6170133.0,
|
| 333 |
+
"step": 270,
|
| 334 |
+
"student_ce_loss": 0.411028
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"alignment_loss": 0.162934,
|
| 338 |
+
"epoch": 0.448,
|
| 339 |
+
"grad_norm": 3.1163642406463623,
|
| 340 |
+
"img_mask_ratio": 0.0,
|
| 341 |
+
"learning_rate": 7.830645161290324e-06,
|
| 342 |
+
"loss": 0.7526,
|
| 343 |
+
"mean_token_accuracy": 0.8653493523597717,
|
| 344 |
+
"num_tokens": 6394008.0,
|
| 345 |
+
"step": 280,
|
| 346 |
+
"student_ce_loss": 0.421844
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"alignment_loss": 0.166531,
|
| 350 |
+
"epoch": 0.464,
|
| 351 |
+
"grad_norm": 4.122222900390625,
|
| 352 |
+
"img_mask_ratio": 0.0,
|
| 353 |
+
"learning_rate": 7.75e-06,
|
| 354 |
+
"loss": 0.7439,
|
| 355 |
+
"mean_token_accuracy": 0.8558202832937241,
|
| 356 |
+
"num_tokens": 6626569.0,
|
| 357 |
+
"step": 290,
|
| 358 |
+
"student_ce_loss": 0.469822
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"alignment_loss": 0.16575,
|
| 362 |
+
"epoch": 0.48,
|
| 363 |
+
"grad_norm": 3.2253506183624268,
|
| 364 |
+
"img_mask_ratio": 0.0,
|
| 365 |
+
"learning_rate": 7.669354838709679e-06,
|
| 366 |
+
"loss": 0.7509,
|
| 367 |
+
"mean_token_accuracy": 0.8571408689022064,
|
| 368 |
+
"num_tokens": 6854731.0,
|
| 369 |
+
"step": 300,
|
| 370 |
+
"student_ce_loss": 0.44935
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"alignment_loss": 0.145182,
|
| 374 |
+
"epoch": 0.496,
|
| 375 |
+
"grad_norm": 3.278078079223633,
|
| 376 |
+
"img_mask_ratio": 0.0,
|
| 377 |
+
"learning_rate": 7.588709677419356e-06,
|
| 378 |
+
"loss": 0.7377,
|
| 379 |
+
"mean_token_accuracy": 0.8666599601507187,
|
| 380 |
+
"num_tokens": 7090272.0,
|
| 381 |
+
"step": 310,
|
| 382 |
+
"student_ce_loss": 0.47472
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"alignment_loss": 0.178008,
|
| 386 |
+
"epoch": 0.512,
|
| 387 |
+
"grad_norm": 3.136152982711792,
|
| 388 |
+
"img_mask_ratio": 0.0,
|
| 389 |
+
"learning_rate": 7.508064516129033e-06,
|
| 390 |
+
"loss": 0.7446,
|
| 391 |
+
"mean_token_accuracy": 0.8591877102851868,
|
| 392 |
+
"num_tokens": 7315702.0,
|
| 393 |
+
"step": 320,
|
| 394 |
+
"student_ce_loss": 0.488281
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"alignment_loss": 0.153742,
|
| 398 |
+
"epoch": 0.528,
|
| 399 |
+
"grad_norm": 3.132171869277954,
|
| 400 |
+
"img_mask_ratio": 0.0,
|
| 401 |
+
"learning_rate": 7.427419354838711e-06,
|
| 402 |
+
"loss": 0.7218,
|
| 403 |
+
"mean_token_accuracy": 0.858618900179863,
|
| 404 |
+
"num_tokens": 7545157.0,
|
| 405 |
+
"step": 330,
|
| 406 |
+
"student_ce_loss": 0.460795
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"alignment_loss": 0.122704,
|
| 410 |
+
"epoch": 0.544,
|
| 411 |
+
"grad_norm": 2.9157519340515137,
|
| 412 |
+
"img_mask_ratio": 0.0,
|
| 413 |
+
"learning_rate": 7.346774193548387e-06,
|
| 414 |
+
"loss": 0.7033,
|
| 415 |
+
"mean_token_accuracy": 0.8730265021324157,
|
| 416 |
+
"num_tokens": 7774364.0,
|
| 417 |
+
"step": 340,
|
| 418 |
+
"student_ce_loss": 0.407101
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"alignment_loss": 0.172178,
|
| 422 |
+
"epoch": 0.56,
|
| 423 |
+
"grad_norm": 3.5546393394470215,
|
| 424 |
+
"img_mask_ratio": 0.0,
|
| 425 |
+
"learning_rate": 7.266129032258065e-06,
|
| 426 |
+
"loss": 0.7249,
|
| 427 |
+
"mean_token_accuracy": 0.8690612286329269,
|
| 428 |
+
"num_tokens": 7999468.0,
|
| 429 |
+
"step": 350,
|
| 430 |
+
"student_ce_loss": 0.380984
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"alignment_loss": 0.14201,
|
| 434 |
+
"epoch": 0.576,
|
| 435 |
+
"grad_norm": 3.2717413902282715,
|
| 436 |
+
"img_mask_ratio": 0.0,
|
| 437 |
+
"learning_rate": 7.185483870967742e-06,
|
| 438 |
+
"loss": 0.7182,
|
| 439 |
+
"mean_token_accuracy": 0.8687865227460861,
|
| 440 |
+
"num_tokens": 8223330.0,
|
| 441 |
+
"step": 360,
|
| 442 |
+
"student_ce_loss": 0.447322
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"alignment_loss": 0.151459,
|
| 446 |
+
"epoch": 0.592,
|
| 447 |
+
"grad_norm": 2.7728512287139893,
|
| 448 |
+
"img_mask_ratio": 0.0,
|
| 449 |
+
"learning_rate": 7.1048387096774195e-06,
|
| 450 |
+
"loss": 0.7076,
|
| 451 |
+
"mean_token_accuracy": 0.8732533752918243,
|
| 452 |
+
"num_tokens": 8449648.0,
|
| 453 |
+
"step": 370,
|
| 454 |
+
"student_ce_loss": 0.357685
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"alignment_loss": 0.138756,
|
| 458 |
+
"epoch": 0.608,
|
| 459 |
+
"grad_norm": 3.5325846672058105,
|
| 460 |
+
"img_mask_ratio": 0.0,
|
| 461 |
+
"learning_rate": 7.024193548387097e-06,
|
| 462 |
+
"loss": 0.6847,
|
| 463 |
+
"mean_token_accuracy": 0.8709765791893005,
|
| 464 |
+
"num_tokens": 8676627.0,
|
| 465 |
+
"step": 380,
|
| 466 |
+
"student_ce_loss": 0.448602
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"alignment_loss": 0.148348,
|
| 470 |
+
"epoch": 0.624,
|
| 471 |
+
"grad_norm": 3.51127552986145,
|
| 472 |
+
"img_mask_ratio": 0.0,
|
| 473 |
+
"learning_rate": 6.943548387096774e-06,
|
| 474 |
+
"loss": 0.6964,
|
| 475 |
+
"mean_token_accuracy": 0.8748767256736756,
|
| 476 |
+
"num_tokens": 8901376.0,
|
| 477 |
+
"step": 390,
|
| 478 |
+
"student_ce_loss": 0.406348
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"alignment_loss": 0.126989,
|
| 482 |
+
"epoch": 0.64,
|
| 483 |
+
"grad_norm": 3.0800728797912598,
|
| 484 |
+
"img_mask_ratio": 0.0,
|
| 485 |
+
"learning_rate": 6.862903225806452e-06,
|
| 486 |
+
"loss": 0.6686,
|
| 487 |
+
"mean_token_accuracy": 0.8806786358356475,
|
| 488 |
+
"num_tokens": 9130624.0,
|
| 489 |
+
"step": 400,
|
| 490 |
+
"student_ce_loss": 0.401831
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"alignment_loss": 0.105166,
|
| 494 |
+
"epoch": 0.656,
|
| 495 |
+
"grad_norm": 3.0041391849517822,
|
| 496 |
+
"img_mask_ratio": 0.0,
|
| 497 |
+
"learning_rate": 6.78225806451613e-06,
|
| 498 |
+
"loss": 0.6814,
|
| 499 |
+
"mean_token_accuracy": 0.8721787005662918,
|
| 500 |
+
"num_tokens": 9361649.0,
|
| 501 |
+
"step": 410,
|
| 502 |
+
"student_ce_loss": 0.32989
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"alignment_loss": 0.120696,
|
| 506 |
+
"epoch": 0.672,
|
| 507 |
+
"grad_norm": 2.7790768146514893,
|
| 508 |
+
"img_mask_ratio": 0.0,
|
| 509 |
+
"learning_rate": 6.701612903225807e-06,
|
| 510 |
+
"loss": 0.7026,
|
| 511 |
+
"mean_token_accuracy": 0.8698501020669938,
|
| 512 |
+
"num_tokens": 9589696.0,
|
| 513 |
+
"step": 420,
|
| 514 |
+
"student_ce_loss": 0.322331
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"alignment_loss": 0.136123,
|
| 518 |
+
"epoch": 0.688,
|
| 519 |
+
"grad_norm": 3.3326845169067383,
|
| 520 |
+
"img_mask_ratio": 0.0,
|
| 521 |
+
"learning_rate": 6.620967741935485e-06,
|
| 522 |
+
"loss": 0.6915,
|
| 523 |
+
"mean_token_accuracy": 0.8636058986186981,
|
| 524 |
+
"num_tokens": 9824438.0,
|
| 525 |
+
"step": 430,
|
| 526 |
+
"student_ce_loss": 0.414966
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"alignment_loss": 0.12665,
|
| 530 |
+
"epoch": 0.704,
|
| 531 |
+
"grad_norm": 3.0691428184509277,
|
| 532 |
+
"img_mask_ratio": 0.0,
|
| 533 |
+
"learning_rate": 6.540322580645162e-06,
|
| 534 |
+
"loss": 0.6796,
|
| 535 |
+
"mean_token_accuracy": 0.8679538011550904,
|
| 536 |
+
"num_tokens": 10053540.0,
|
| 537 |
+
"step": 440,
|
| 538 |
+
"student_ce_loss": 0.363331
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"alignment_loss": 0.136332,
|
| 542 |
+
"epoch": 0.72,
|
| 543 |
+
"grad_norm": 2.8021771907806396,
|
| 544 |
+
"img_mask_ratio": 0.0,
|
| 545 |
+
"learning_rate": 6.4596774193548396e-06,
|
| 546 |
+
"loss": 0.6726,
|
| 547 |
+
"mean_token_accuracy": 0.8803644478321075,
|
| 548 |
+
"num_tokens": 10284935.0,
|
| 549 |
+
"step": 450,
|
| 550 |
+
"student_ce_loss": 0.444859
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"alignment_loss": 0.140583,
|
| 554 |
+
"epoch": 0.736,
|
| 555 |
+
"grad_norm": 2.6767170429229736,
|
| 556 |
+
"img_mask_ratio": 0.0,
|
| 557 |
+
"learning_rate": 6.379032258064517e-06,
|
| 558 |
+
"loss": 0.7293,
|
| 559 |
+
"mean_token_accuracy": 0.858094236254692,
|
| 560 |
+
"num_tokens": 10512781.0,
|
| 561 |
+
"step": 460,
|
| 562 |
+
"student_ce_loss": 0.493847
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"alignment_loss": 0.118881,
|
| 566 |
+
"epoch": 0.752,
|
| 567 |
+
"grad_norm": 2.9824490547180176,
|
| 568 |
+
"img_mask_ratio": 0.0,
|
| 569 |
+
"learning_rate": 6.298387096774194e-06,
|
| 570 |
+
"loss": 0.6989,
|
| 571 |
+
"mean_token_accuracy": 0.859613636136055,
|
| 572 |
+
"num_tokens": 10744035.0,
|
| 573 |
+
"step": 470,
|
| 574 |
+
"student_ce_loss": 0.393214
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"alignment_loss": 0.137582,
|
| 578 |
+
"epoch": 0.768,
|
| 579 |
+
"grad_norm": 3.130284309387207,
|
| 580 |
+
"img_mask_ratio": 0.0,
|
| 581 |
+
"learning_rate": 6.217741935483872e-06,
|
| 582 |
+
"loss": 0.7243,
|
| 583 |
+
"mean_token_accuracy": 0.8559752732515336,
|
| 584 |
+
"num_tokens": 10970874.0,
|
| 585 |
+
"step": 480,
|
| 586 |
+
"student_ce_loss": 0.491702
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"alignment_loss": 0.141062,
|
| 590 |
+
"epoch": 0.784,
|
| 591 |
+
"grad_norm": 2.7349345684051514,
|
| 592 |
+
"img_mask_ratio": 0.0,
|
| 593 |
+
"learning_rate": 6.137096774193549e-06,
|
| 594 |
+
"loss": 0.6943,
|
| 595 |
+
"mean_token_accuracy": 0.8725826144218445,
|
| 596 |
+
"num_tokens": 11197553.0,
|
| 597 |
+
"step": 490,
|
| 598 |
+
"student_ce_loss": 0.406684
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"alignment_loss": 0.165851,
|
| 602 |
+
"epoch": 0.8,
|
| 603 |
+
"grad_norm": 2.9011807441711426,
|
| 604 |
+
"img_mask_ratio": 0.0,
|
| 605 |
+
"learning_rate": 6.056451612903226e-06,
|
| 606 |
+
"loss": 0.6861,
|
| 607 |
+
"mean_token_accuracy": 0.8684672385454177,
|
| 608 |
+
"num_tokens": 11429218.0,
|
| 609 |
+
"step": 500,
|
| 610 |
+
"student_ce_loss": 0.410657
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"alignment_loss": 0.153113,
|
| 614 |
+
"epoch": 0.816,
|
| 615 |
+
"grad_norm": 3.175823211669922,
|
| 616 |
+
"img_mask_ratio": 0.0,
|
| 617 |
+
"learning_rate": 5.975806451612903e-06,
|
| 618 |
+
"loss": 0.6857,
|
| 619 |
+
"mean_token_accuracy": 0.8684230923652649,
|
| 620 |
+
"num_tokens": 11663030.0,
|
| 621 |
+
"step": 510,
|
| 622 |
+
"student_ce_loss": 0.368604
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"alignment_loss": 0.115199,
|
| 626 |
+
"epoch": 0.832,
|
| 627 |
+
"grad_norm": 2.797105073928833,
|
| 628 |
+
"img_mask_ratio": 0.0,
|
| 629 |
+
"learning_rate": 5.8951612903225805e-06,
|
| 630 |
+
"loss": 0.7096,
|
| 631 |
+
"mean_token_accuracy": 0.8692277282476425,
|
| 632 |
+
"num_tokens": 11890681.0,
|
| 633 |
+
"step": 520,
|
| 634 |
+
"student_ce_loss": 0.406941
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"alignment_loss": 0.149918,
|
| 638 |
+
"epoch": 0.848,
|
| 639 |
+
"grad_norm": 2.7741076946258545,
|
| 640 |
+
"img_mask_ratio": 0.0,
|
| 641 |
+
"learning_rate": 5.814516129032258e-06,
|
| 642 |
+
"loss": 0.6985,
|
| 643 |
+
"mean_token_accuracy": 0.8705123662948608,
|
| 644 |
+
"num_tokens": 12116196.0,
|
| 645 |
+
"step": 530,
|
| 646 |
+
"student_ce_loss": 0.429269
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"alignment_loss": 0.126189,
|
| 650 |
+
"epoch": 0.864,
|
| 651 |
+
"grad_norm": 3.0204482078552246,
|
| 652 |
+
"img_mask_ratio": 0.0,
|
| 653 |
+
"learning_rate": 5.733870967741936e-06,
|
| 654 |
+
"loss": 0.6916,
|
| 655 |
+
"mean_token_accuracy": 0.8611933946609497,
|
| 656 |
+
"num_tokens": 12339316.0,
|
| 657 |
+
"step": 540,
|
| 658 |
+
"student_ce_loss": 0.392807
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"alignment_loss": 0.130479,
|
| 662 |
+
"epoch": 0.88,
|
| 663 |
+
"grad_norm": 2.808847188949585,
|
| 664 |
+
"img_mask_ratio": 0.0,
|
| 665 |
+
"learning_rate": 5.6532258064516136e-06,
|
| 666 |
+
"loss": 0.6441,
|
| 667 |
+
"mean_token_accuracy": 0.8776700407266617,
|
| 668 |
+
"num_tokens": 12570567.0,
|
| 669 |
+
"step": 550,
|
| 670 |
+
"student_ce_loss": 0.424023
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"alignment_loss": 0.142851,
|
| 674 |
+
"epoch": 0.896,
|
| 675 |
+
"grad_norm": 3.9279494285583496,
|
| 676 |
+
"img_mask_ratio": 0.0,
|
| 677 |
+
"learning_rate": 5.572580645161291e-06,
|
| 678 |
+
"loss": 0.704,
|
| 679 |
+
"mean_token_accuracy": 0.8646972984075546,
|
| 680 |
+
"num_tokens": 12798621.0,
|
| 681 |
+
"step": 560,
|
| 682 |
+
"student_ce_loss": 0.426793
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"alignment_loss": 0.142266,
|
| 686 |
+
"epoch": 0.912,
|
| 687 |
+
"grad_norm": 3.1169159412384033,
|
| 688 |
+
"img_mask_ratio": 0.0,
|
| 689 |
+
"learning_rate": 5.491935483870968e-06,
|
| 690 |
+
"loss": 0.6796,
|
| 691 |
+
"mean_token_accuracy": 0.878314208984375,
|
| 692 |
+
"num_tokens": 13025524.0,
|
| 693 |
+
"step": 570,
|
| 694 |
+
"student_ce_loss": 0.431647
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"alignment_loss": 0.151566,
|
| 698 |
+
"epoch": 0.928,
|
| 699 |
+
"grad_norm": 2.9363856315612793,
|
| 700 |
+
"img_mask_ratio": 0.0,
|
| 701 |
+
"learning_rate": 5.411290322580646e-06,
|
| 702 |
+
"loss": 0.6857,
|
| 703 |
+
"mean_token_accuracy": 0.87409747838974,
|
| 704 |
+
"num_tokens": 13257864.0,
|
| 705 |
+
"step": 580,
|
| 706 |
+
"student_ce_loss": 0.459416
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"alignment_loss": 0.143382,
|
| 710 |
+
"epoch": 0.944,
|
| 711 |
+
"grad_norm": 2.7144582271575928,
|
| 712 |
+
"img_mask_ratio": 0.0,
|
| 713 |
+
"learning_rate": 5.330645161290323e-06,
|
| 714 |
+
"loss": 0.6429,
|
| 715 |
+
"mean_token_accuracy": 0.8833926141262054,
|
| 716 |
+
"num_tokens": 13485645.0,
|
| 717 |
+
"step": 590,
|
| 718 |
+
"student_ce_loss": 0.348989
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"alignment_loss": 0.105796,
|
| 722 |
+
"epoch": 0.96,
|
| 723 |
+
"grad_norm": 3.132902145385742,
|
| 724 |
+
"img_mask_ratio": 0.0,
|
| 725 |
+
"learning_rate": 5.2500000000000006e-06,
|
| 726 |
+
"loss": 0.7138,
|
| 727 |
+
"mean_token_accuracy": 0.8616043567657471,
|
| 728 |
+
"num_tokens": 13720974.0,
|
| 729 |
+
"step": 600,
|
| 730 |
+
"student_ce_loss": 0.446968
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"alignment_loss": 0.105567,
|
| 734 |
+
"epoch": 0.976,
|
| 735 |
+
"grad_norm": 3.3565056324005127,
|
| 736 |
+
"img_mask_ratio": 0.0,
|
| 737 |
+
"learning_rate": 5.169354838709678e-06,
|
| 738 |
+
"loss": 0.645,
|
| 739 |
+
"mean_token_accuracy": 0.8758277982473374,
|
| 740 |
+
"num_tokens": 13944068.0,
|
| 741 |
+
"step": 610,
|
| 742 |
+
"student_ce_loss": 0.375868
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"alignment_loss": 0.173122,
|
| 746 |
+
"epoch": 0.992,
|
| 747 |
+
"grad_norm": 2.9512879848480225,
|
| 748 |
+
"img_mask_ratio": 0.0,
|
| 749 |
+
"learning_rate": 5.088709677419355e-06,
|
| 750 |
+
"loss": 0.6471,
|
| 751 |
+
"mean_token_accuracy": 0.88205985724926,
|
| 752 |
+
"num_tokens": 14172116.0,
|
| 753 |
+
"step": 620,
|
| 754 |
+
"student_ce_loss": 0.421069
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"alignment_loss": 0.140241,
|
| 758 |
+
"epoch": 1.008,
|
| 759 |
+
"grad_norm": 2.5817618370056152,
|
| 760 |
+
"img_mask_ratio": 0.0,
|
| 761 |
+
"learning_rate": 5.008064516129033e-06,
|
| 762 |
+
"loss": 0.6448,
|
| 763 |
+
"mean_token_accuracy": 0.8779488950967789,
|
| 764 |
+
"num_tokens": 14398840.0,
|
| 765 |
+
"step": 630,
|
| 766 |
+
"student_ce_loss": 0.362889
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"alignment_loss": 0.119571,
|
| 770 |
+
"epoch": 1.024,
|
| 771 |
+
"grad_norm": 2.6206552982330322,
|
| 772 |
+
"img_mask_ratio": 0.0,
|
| 773 |
+
"learning_rate": 4.92741935483871e-06,
|
| 774 |
+
"loss": 0.4988,
|
| 775 |
+
"mean_token_accuracy": 0.915458682179451,
|
| 776 |
+
"num_tokens": 14623718.0,
|
| 777 |
+
"step": 640,
|
| 778 |
+
"student_ce_loss": 0.218597
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"alignment_loss": 0.118681,
|
| 782 |
+
"epoch": 1.04,
|
| 783 |
+
"grad_norm": 2.5560994148254395,
|
| 784 |
+
"img_mask_ratio": 0.0,
|
| 785 |
+
"learning_rate": 4.8467741935483876e-06,
|
| 786 |
+
"loss": 0.4775,
|
| 787 |
+
"mean_token_accuracy": 0.9150400191545487,
|
| 788 |
+
"num_tokens": 14851315.0,
|
| 789 |
+
"step": 650,
|
| 790 |
+
"student_ce_loss": 0.242975
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"alignment_loss": 0.115014,
|
| 794 |
+
"epoch": 1.056,
|
| 795 |
+
"grad_norm": 3.2963342666625977,
|
| 796 |
+
"img_mask_ratio": 0.0,
|
| 797 |
+
"learning_rate": 4.766129032258065e-06,
|
| 798 |
+
"loss": 0.4872,
|
| 799 |
+
"mean_token_accuracy": 0.920128521323204,
|
| 800 |
+
"num_tokens": 15077726.0,
|
| 801 |
+
"step": 660,
|
| 802 |
+
"student_ce_loss": 0.235382
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"alignment_loss": 0.157067,
|
| 806 |
+
"epoch": 1.072,
|
| 807 |
+
"grad_norm": 3.7385551929473877,
|
| 808 |
+
"img_mask_ratio": 0.0,
|
| 809 |
+
"learning_rate": 4.685483870967742e-06,
|
| 810 |
+
"loss": 0.4919,
|
| 811 |
+
"mean_token_accuracy": 0.921282160282135,
|
| 812 |
+
"num_tokens": 15302514.0,
|
| 813 |
+
"step": 670,
|
| 814 |
+
"student_ce_loss": 0.258073
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"alignment_loss": 0.145038,
|
| 818 |
+
"epoch": 1.088,
|
| 819 |
+
"grad_norm": 2.5163111686706543,
|
| 820 |
+
"img_mask_ratio": 0.0,
|
| 821 |
+
"learning_rate": 4.60483870967742e-06,
|
| 822 |
+
"loss": 0.4819,
|
| 823 |
+
"mean_token_accuracy": 0.9185821384191513,
|
| 824 |
+
"num_tokens": 15527668.0,
|
| 825 |
+
"step": 680,
|
| 826 |
+
"student_ce_loss": 0.264231
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"alignment_loss": 0.10097,
|
| 830 |
+
"epoch": 1.104,
|
| 831 |
+
"grad_norm": 2.7036030292510986,
|
| 832 |
+
"img_mask_ratio": 0.0,
|
| 833 |
+
"learning_rate": 4.524193548387097e-06,
|
| 834 |
+
"loss": 0.4646,
|
| 835 |
+
"mean_token_accuracy": 0.9241201519966126,
|
| 836 |
+
"num_tokens": 15759627.0,
|
| 837 |
+
"step": 690,
|
| 838 |
+
"student_ce_loss": 0.207492
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"alignment_loss": 0.120385,
|
| 842 |
+
"epoch": 1.12,
|
| 843 |
+
"grad_norm": 2.928483724594116,
|
| 844 |
+
"img_mask_ratio": 0.0,
|
| 845 |
+
"learning_rate": 4.4435483870967745e-06,
|
| 846 |
+
"loss": 0.4914,
|
| 847 |
+
"mean_token_accuracy": 0.9178341269493103,
|
| 848 |
+
"num_tokens": 15989767.0,
|
| 849 |
+
"step": 700,
|
| 850 |
+
"student_ce_loss": 0.227203
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"alignment_loss": 0.111009,
|
| 854 |
+
"epoch": 1.1360000000000001,
|
| 855 |
+
"grad_norm": 2.7685837745666504,
|
| 856 |
+
"img_mask_ratio": 0.0,
|
| 857 |
+
"learning_rate": 4.362903225806452e-06,
|
| 858 |
+
"loss": 0.4892,
|
| 859 |
+
"mean_token_accuracy": 0.9188989013433456,
|
| 860 |
+
"num_tokens": 16215963.0,
|
| 861 |
+
"step": 710,
|
| 862 |
+
"student_ce_loss": 0.209197
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"alignment_loss": 0.113634,
|
| 866 |
+
"epoch": 1.152,
|
| 867 |
+
"grad_norm": 3.50307035446167,
|
| 868 |
+
"img_mask_ratio": 0.0,
|
| 869 |
+
"learning_rate": 4.282258064516129e-06,
|
| 870 |
+
"loss": 0.4836,
|
| 871 |
+
"mean_token_accuracy": 0.9218764841556549,
|
| 872 |
+
"num_tokens": 16443173.0,
|
| 873 |
+
"step": 720,
|
| 874 |
+
"student_ce_loss": 0.229967
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"alignment_loss": 0.1334,
|
| 878 |
+
"epoch": 1.168,
|
| 879 |
+
"grad_norm": 2.607125997543335,
|
| 880 |
+
"img_mask_ratio": 0.0,
|
| 881 |
+
"learning_rate": 4.201612903225807e-06,
|
| 882 |
+
"loss": 0.4965,
|
| 883 |
+
"mean_token_accuracy": 0.9144498586654664,
|
| 884 |
+
"num_tokens": 16673695.0,
|
| 885 |
+
"step": 730,
|
| 886 |
+
"student_ce_loss": 0.24519
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"alignment_loss": 0.112323,
|
| 890 |
+
"epoch": 1.184,
|
| 891 |
+
"grad_norm": 3.1115260124206543,
|
| 892 |
+
"img_mask_ratio": 0.0,
|
| 893 |
+
"learning_rate": 4.120967741935484e-06,
|
| 894 |
+
"loss": 0.4943,
|
| 895 |
+
"mean_token_accuracy": 0.9200043082237244,
|
| 896 |
+
"num_tokens": 16900637.0,
|
| 897 |
+
"step": 740,
|
| 898 |
+
"student_ce_loss": 0.225552
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"alignment_loss": 0.104984,
|
| 902 |
+
"epoch": 1.2,
|
| 903 |
+
"grad_norm": 2.974936008453369,
|
| 904 |
+
"img_mask_ratio": 0.0,
|
| 905 |
+
"learning_rate": 4.0403225806451615e-06,
|
| 906 |
+
"loss": 0.4573,
|
| 907 |
+
"mean_token_accuracy": 0.9222275227308273,
|
| 908 |
+
"num_tokens": 17128307.0,
|
| 909 |
+
"step": 750,
|
| 910 |
+
"student_ce_loss": 0.243145
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"alignment_loss": 0.084949,
|
| 914 |
+
"epoch": 1.216,
|
| 915 |
+
"grad_norm": 2.3871474266052246,
|
| 916 |
+
"img_mask_ratio": 0.0,
|
| 917 |
+
"learning_rate": 3.959677419354839e-06,
|
| 918 |
+
"loss": 0.4764,
|
| 919 |
+
"mean_token_accuracy": 0.9222264647483825,
|
| 920 |
+
"num_tokens": 17354610.0,
|
| 921 |
+
"step": 760,
|
| 922 |
+
"student_ce_loss": 0.203101
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"alignment_loss": 0.135262,
|
| 926 |
+
"epoch": 1.232,
|
| 927 |
+
"grad_norm": 2.8302485942840576,
|
| 928 |
+
"img_mask_ratio": 0.0,
|
| 929 |
+
"learning_rate": 3.879032258064516e-06,
|
| 930 |
+
"loss": 0.48,
|
| 931 |
+
"mean_token_accuracy": 0.9206901550292969,
|
| 932 |
+
"num_tokens": 17582360.0,
|
| 933 |
+
"step": 770,
|
| 934 |
+
"student_ce_loss": 0.233331
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"alignment_loss": 0.153102,
|
| 938 |
+
"epoch": 1.248,
|
| 939 |
+
"grad_norm": 2.665504217147827,
|
| 940 |
+
"img_mask_ratio": 0.0,
|
| 941 |
+
"learning_rate": 3.7983870967741937e-06,
|
| 942 |
+
"loss": 0.5016,
|
| 943 |
+
"mean_token_accuracy": 0.9180365681648255,
|
| 944 |
+
"num_tokens": 17817684.0,
|
| 945 |
+
"step": 780,
|
| 946 |
+
"student_ce_loss": 0.26797
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"alignment_loss": 0.123258,
|
| 950 |
+
"epoch": 1.264,
|
| 951 |
+
"grad_norm": 3.013099431991577,
|
| 952 |
+
"img_mask_ratio": 0.0,
|
| 953 |
+
"learning_rate": 3.717741935483871e-06,
|
| 954 |
+
"loss": 0.4974,
|
| 955 |
+
"mean_token_accuracy": 0.9138316661119461,
|
| 956 |
+
"num_tokens": 18046495.0,
|
| 957 |
+
"step": 790,
|
| 958 |
+
"student_ce_loss": 0.273233
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"alignment_loss": 0.098474,
|
| 962 |
+
"epoch": 1.28,
|
| 963 |
+
"grad_norm": 2.8013927936553955,
|
| 964 |
+
"img_mask_ratio": 0.0,
|
| 965 |
+
"learning_rate": 3.6370967741935485e-06,
|
| 966 |
+
"loss": 0.4756,
|
| 967 |
+
"mean_token_accuracy": 0.924086543917656,
|
| 968 |
+
"num_tokens": 18277356.0,
|
| 969 |
+
"step": 800,
|
| 970 |
+
"student_ce_loss": 0.172935
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"alignment_loss": 0.149287,
|
| 974 |
+
"epoch": 1.296,
|
| 975 |
+
"grad_norm": 2.478626012802124,
|
| 976 |
+
"img_mask_ratio": 0.0,
|
| 977 |
+
"learning_rate": 3.5564516129032264e-06,
|
| 978 |
+
"loss": 0.4969,
|
| 979 |
+
"mean_token_accuracy": 0.9159324675798416,
|
| 980 |
+
"num_tokens": 18506138.0,
|
| 981 |
+
"step": 810,
|
| 982 |
+
"student_ce_loss": 0.219784
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"alignment_loss": 0.124946,
|
| 986 |
+
"epoch": 1.312,
|
| 987 |
+
"grad_norm": 2.623382568359375,
|
| 988 |
+
"img_mask_ratio": 0.0,
|
| 989 |
+
"learning_rate": 3.4758064516129038e-06,
|
| 990 |
+
"loss": 0.4747,
|
| 991 |
+
"mean_token_accuracy": 0.9204159855842591,
|
| 992 |
+
"num_tokens": 18730052.0,
|
| 993 |
+
"step": 820,
|
| 994 |
+
"student_ce_loss": 0.228528
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"alignment_loss": 0.111442,
|
| 998 |
+
"epoch": 1.328,
|
| 999 |
+
"grad_norm": 2.841618537902832,
|
| 1000 |
+
"img_mask_ratio": 0.0,
|
| 1001 |
+
"learning_rate": 3.395161290322581e-06,
|
| 1002 |
+
"loss": 0.4841,
|
| 1003 |
+
"mean_token_accuracy": 0.9230176508426666,
|
| 1004 |
+
"num_tokens": 18964179.0,
|
| 1005 |
+
"step": 830,
|
| 1006 |
+
"student_ce_loss": 0.207749
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"alignment_loss": 0.097274,
|
| 1010 |
+
"epoch": 1.3439999999999999,
|
| 1011 |
+
"grad_norm": 2.970947027206421,
|
| 1012 |
+
"img_mask_ratio": 0.0,
|
| 1013 |
+
"learning_rate": 3.3145161290322586e-06,
|
| 1014 |
+
"loss": 0.4698,
|
| 1015 |
+
"mean_token_accuracy": 0.9196560502052307,
|
| 1016 |
+
"num_tokens": 19191066.0,
|
| 1017 |
+
"step": 840,
|
| 1018 |
+
"student_ce_loss": 0.255178
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"alignment_loss": 0.112228,
|
| 1022 |
+
"epoch": 1.3599999999999999,
|
| 1023 |
+
"grad_norm": 2.801464080810547,
|
| 1024 |
+
"img_mask_ratio": 0.0,
|
| 1025 |
+
"learning_rate": 3.2338709677419355e-06,
|
| 1026 |
+
"loss": 0.4409,
|
| 1027 |
+
"mean_token_accuracy": 0.9266428202390671,
|
| 1028 |
+
"num_tokens": 19422416.0,
|
| 1029 |
+
"step": 850,
|
| 1030 |
+
"student_ce_loss": 0.23514
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"alignment_loss": 0.13676,
|
| 1034 |
+
"epoch": 1.376,
|
| 1035 |
+
"grad_norm": 2.7395622730255127,
|
| 1036 |
+
"img_mask_ratio": 0.0,
|
| 1037 |
+
"learning_rate": 3.153225806451613e-06,
|
| 1038 |
+
"loss": 0.4811,
|
| 1039 |
+
"mean_token_accuracy": 0.9214036285877227,
|
| 1040 |
+
"num_tokens": 19649518.0,
|
| 1041 |
+
"step": 860,
|
| 1042 |
+
"student_ce_loss": 0.265619
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"alignment_loss": 0.116957,
|
| 1046 |
+
"epoch": 1.392,
|
| 1047 |
+
"grad_norm": 2.806626319885254,
|
| 1048 |
+
"img_mask_ratio": 0.0,
|
| 1049 |
+
"learning_rate": 3.0725806451612903e-06,
|
| 1050 |
+
"loss": 0.4756,
|
| 1051 |
+
"mean_token_accuracy": 0.9169654130935669,
|
| 1052 |
+
"num_tokens": 19873005.0,
|
| 1053 |
+
"step": 870,
|
| 1054 |
+
"student_ce_loss": 0.205588
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"alignment_loss": 0.127565,
|
| 1058 |
+
"epoch": 1.408,
|
| 1059 |
+
"grad_norm": 2.7285337448120117,
|
| 1060 |
+
"img_mask_ratio": 0.0,
|
| 1061 |
+
"learning_rate": 2.991935483870968e-06,
|
| 1062 |
+
"loss": 0.4763,
|
| 1063 |
+
"mean_token_accuracy": 0.9212010741233826,
|
| 1064 |
+
"num_tokens": 20104154.0,
|
| 1065 |
+
"step": 880,
|
| 1066 |
+
"student_ce_loss": 0.235436
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"alignment_loss": 0.118123,
|
| 1070 |
+
"epoch": 1.424,
|
| 1071 |
+
"grad_norm": 3.0529487133026123,
|
| 1072 |
+
"img_mask_ratio": 0.0,
|
| 1073 |
+
"learning_rate": 2.9112903225806456e-06,
|
| 1074 |
+
"loss": 0.4826,
|
| 1075 |
+
"mean_token_accuracy": 0.9176110565662384,
|
| 1076 |
+
"num_tokens": 20337390.0,
|
| 1077 |
+
"step": 890,
|
| 1078 |
+
"student_ce_loss": 0.242922
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"alignment_loss": 0.126808,
|
| 1082 |
+
"epoch": 1.44,
|
| 1083 |
+
"grad_norm": 2.644542932510376,
|
| 1084 |
+
"img_mask_ratio": 0.0,
|
| 1085 |
+
"learning_rate": 2.830645161290323e-06,
|
| 1086 |
+
"loss": 0.4552,
|
| 1087 |
+
"mean_token_accuracy": 0.922904771566391,
|
| 1088 |
+
"num_tokens": 20564128.0,
|
| 1089 |
+
"step": 900,
|
| 1090 |
+
"student_ce_loss": 0.225278
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"alignment_loss": 0.1115,
|
| 1094 |
+
"epoch": 1.456,
|
| 1095 |
+
"grad_norm": 2.744452476501465,
|
| 1096 |
+
"img_mask_ratio": 0.0,
|
| 1097 |
+
"learning_rate": 2.7500000000000004e-06,
|
| 1098 |
+
"loss": 0.4873,
|
| 1099 |
+
"mean_token_accuracy": 0.9146696269512177,
|
| 1100 |
+
"num_tokens": 20797417.0,
|
| 1101 |
+
"step": 910,
|
| 1102 |
+
"student_ce_loss": 0.246846
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"alignment_loss": 0.105762,
|
| 1106 |
+
"epoch": 1.472,
|
| 1107 |
+
"grad_norm": 2.8612496852874756,
|
| 1108 |
+
"img_mask_ratio": 0.0,
|
| 1109 |
+
"learning_rate": 2.6693548387096773e-06,
|
| 1110 |
+
"loss": 0.4658,
|
| 1111 |
+
"mean_token_accuracy": 0.9157220214605332,
|
| 1112 |
+
"num_tokens": 21026373.0,
|
| 1113 |
+
"step": 920,
|
| 1114 |
+
"student_ce_loss": 0.262254
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"alignment_loss": 0.109737,
|
| 1118 |
+
"epoch": 1.488,
|
| 1119 |
+
"grad_norm": 2.607821464538574,
|
| 1120 |
+
"img_mask_ratio": 0.0,
|
| 1121 |
+
"learning_rate": 2.5887096774193547e-06,
|
| 1122 |
+
"loss": 0.4787,
|
| 1123 |
+
"mean_token_accuracy": 0.9221103936433792,
|
| 1124 |
+
"num_tokens": 21258342.0,
|
| 1125 |
+
"step": 930,
|
| 1126 |
+
"student_ce_loss": 0.173765
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"alignment_loss": 0.104531,
|
| 1130 |
+
"epoch": 1.504,
|
| 1131 |
+
"grad_norm": 2.8760645389556885,
|
| 1132 |
+
"img_mask_ratio": 0.0,
|
| 1133 |
+
"learning_rate": 2.5080645161290325e-06,
|
| 1134 |
+
"loss": 0.4669,
|
| 1135 |
+
"mean_token_accuracy": 0.9209003180265427,
|
| 1136 |
+
"num_tokens": 21486144.0,
|
| 1137 |
+
"step": 940,
|
| 1138 |
+
"student_ce_loss": 0.237839
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"alignment_loss": 0.121004,
|
| 1142 |
+
"epoch": 1.52,
|
| 1143 |
+
"grad_norm": 2.515986919403076,
|
| 1144 |
+
"img_mask_ratio": 0.0,
|
| 1145 |
+
"learning_rate": 2.42741935483871e-06,
|
| 1146 |
+
"loss": 0.4769,
|
| 1147 |
+
"mean_token_accuracy": 0.9139332562685013,
|
| 1148 |
+
"num_tokens": 21713667.0,
|
| 1149 |
+
"step": 950,
|
| 1150 |
+
"student_ce_loss": 0.257531
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"alignment_loss": 0.099916,
|
| 1154 |
+
"epoch": 1.536,
|
| 1155 |
+
"grad_norm": 2.662790298461914,
|
| 1156 |
+
"img_mask_ratio": 0.0,
|
| 1157 |
+
"learning_rate": 2.3467741935483873e-06,
|
| 1158 |
+
"loss": 0.4801,
|
| 1159 |
+
"mean_token_accuracy": 0.9188643783330918,
|
| 1160 |
+
"num_tokens": 21944510.0,
|
| 1161 |
+
"step": 960,
|
| 1162 |
+
"student_ce_loss": 0.234693
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"alignment_loss": 0.127541,
|
| 1166 |
+
"epoch": 1.552,
|
| 1167 |
+
"grad_norm": 2.415894031524658,
|
| 1168 |
+
"img_mask_ratio": 0.0,
|
| 1169 |
+
"learning_rate": 2.2661290322580647e-06,
|
| 1170 |
+
"loss": 0.4659,
|
| 1171 |
+
"mean_token_accuracy": 0.9194700688123703,
|
| 1172 |
+
"num_tokens": 22172429.0,
|
| 1173 |
+
"step": 970,
|
| 1174 |
+
"student_ce_loss": 0.239326
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"alignment_loss": 0.095568,
|
| 1178 |
+
"epoch": 1.568,
|
| 1179 |
+
"grad_norm": 2.523404836654663,
|
| 1180 |
+
"img_mask_ratio": 0.0,
|
| 1181 |
+
"learning_rate": 2.185483870967742e-06,
|
| 1182 |
+
"loss": 0.4511,
|
| 1183 |
+
"mean_token_accuracy": 0.9206401348114014,
|
| 1184 |
+
"num_tokens": 22400211.0,
|
| 1185 |
+
"step": 980,
|
| 1186 |
+
"student_ce_loss": 0.24775
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"alignment_loss": 0.103336,
|
| 1190 |
+
"epoch": 1.584,
|
| 1191 |
+
"grad_norm": 2.520326852798462,
|
| 1192 |
+
"img_mask_ratio": 0.0,
|
| 1193 |
+
"learning_rate": 2.1048387096774195e-06,
|
| 1194 |
+
"loss": 0.4788,
|
| 1195 |
+
"mean_token_accuracy": 0.9183452874422073,
|
| 1196 |
+
"num_tokens": 22629914.0,
|
| 1197 |
+
"step": 990,
|
| 1198 |
+
"student_ce_loss": 0.245974
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"alignment_loss": 0.137087,
|
| 1202 |
+
"epoch": 1.6,
|
| 1203 |
+
"grad_norm": 2.9521939754486084,
|
| 1204 |
+
"img_mask_ratio": 0.0,
|
| 1205 |
+
"learning_rate": 2.024193548387097e-06,
|
| 1206 |
+
"loss": 0.4565,
|
| 1207 |
+
"mean_token_accuracy": 0.9267894893884658,
|
| 1208 |
+
"num_tokens": 22861275.0,
|
| 1209 |
+
"step": 1000,
|
| 1210 |
+
"student_ce_loss": 0.222759
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"alignment_loss": 0.130748,
|
| 1214 |
+
"epoch": 1.616,
|
| 1215 |
+
"grad_norm": 2.8839032649993896,
|
| 1216 |
+
"img_mask_ratio": 0.0,
|
| 1217 |
+
"learning_rate": 1.9435483870967743e-06,
|
| 1218 |
+
"loss": 0.4672,
|
| 1219 |
+
"mean_token_accuracy": 0.9172889083623886,
|
| 1220 |
+
"num_tokens": 23088810.0,
|
| 1221 |
+
"step": 1010,
|
| 1222 |
+
"student_ce_loss": 0.218222
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"alignment_loss": 0.097389,
|
| 1226 |
+
"epoch": 1.6320000000000001,
|
| 1227 |
+
"grad_norm": 3.0542702674865723,
|
| 1228 |
+
"img_mask_ratio": 0.0,
|
| 1229 |
+
"learning_rate": 1.8629032258064517e-06,
|
| 1230 |
+
"loss": 0.4529,
|
| 1231 |
+
"mean_token_accuracy": 0.9279448747634887,
|
| 1232 |
+
"num_tokens": 23316825.0,
|
| 1233 |
+
"step": 1020,
|
| 1234 |
+
"student_ce_loss": 0.211586
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"alignment_loss": 0.093771,
|
| 1238 |
+
"epoch": 1.6480000000000001,
|
| 1239 |
+
"grad_norm": 2.7203450202941895,
|
| 1240 |
+
"img_mask_ratio": 0.0,
|
| 1241 |
+
"learning_rate": 1.7822580645161291e-06,
|
| 1242 |
+
"loss": 0.4311,
|
| 1243 |
+
"mean_token_accuracy": 0.9320988327264785,
|
| 1244 |
+
"num_tokens": 23544180.0,
|
| 1245 |
+
"step": 1030,
|
| 1246 |
+
"student_ce_loss": 0.200263
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"alignment_loss": 0.107099,
|
| 1250 |
+
"epoch": 1.6640000000000001,
|
| 1251 |
+
"grad_norm": 2.402200698852539,
|
| 1252 |
+
"img_mask_ratio": 0.0,
|
| 1253 |
+
"learning_rate": 1.7016129032258065e-06,
|
| 1254 |
+
"loss": 0.4818,
|
| 1255 |
+
"mean_token_accuracy": 0.9184079498052597,
|
| 1256 |
+
"num_tokens": 23773713.0,
|
| 1257 |
+
"step": 1040,
|
| 1258 |
+
"student_ce_loss": 0.260097
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"alignment_loss": 0.122641,
|
| 1262 |
+
"epoch": 1.6800000000000002,
|
| 1263 |
+
"grad_norm": 3.106562376022339,
|
| 1264 |
+
"img_mask_ratio": 0.0,
|
| 1265 |
+
"learning_rate": 1.6209677419354842e-06,
|
| 1266 |
+
"loss": 0.4813,
|
| 1267 |
+
"mean_token_accuracy": 0.917295652627945,
|
| 1268 |
+
"num_tokens": 23999460.0,
|
| 1269 |
+
"step": 1050,
|
| 1270 |
+
"student_ce_loss": 0.293289
|
| 1271 |
+
},
|
| 1272 |
+
{
|
| 1273 |
+
"alignment_loss": 0.100863,
|
| 1274 |
+
"epoch": 1.696,
|
| 1275 |
+
"grad_norm": 3.0303876399993896,
|
| 1276 |
+
"img_mask_ratio": 0.0,
|
| 1277 |
+
"learning_rate": 1.5403225806451613e-06,
|
| 1278 |
+
"loss": 0.4401,
|
| 1279 |
+
"mean_token_accuracy": 0.9176318973302842,
|
| 1280 |
+
"num_tokens": 24227341.0,
|
| 1281 |
+
"step": 1060,
|
| 1282 |
+
"student_ce_loss": 0.249746
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"alignment_loss": 0.121929,
|
| 1286 |
+
"epoch": 1.712,
|
| 1287 |
+
"grad_norm": 2.878801107406616,
|
| 1288 |
+
"img_mask_ratio": 0.0,
|
| 1289 |
+
"learning_rate": 1.4596774193548387e-06,
|
| 1290 |
+
"loss": 0.4805,
|
| 1291 |
+
"mean_token_accuracy": 0.9156134098768234,
|
| 1292 |
+
"num_tokens": 24454978.0,
|
| 1293 |
+
"step": 1070,
|
| 1294 |
+
"student_ce_loss": 0.194584
|
| 1295 |
+
},
|
| 1296 |
+
{
|
| 1297 |
+
"alignment_loss": 0.103286,
|
| 1298 |
+
"epoch": 1.728,
|
| 1299 |
+
"grad_norm": 3.2937612533569336,
|
| 1300 |
+
"img_mask_ratio": 0.0,
|
| 1301 |
+
"learning_rate": 1.3790322580645163e-06,
|
| 1302 |
+
"loss": 0.4608,
|
| 1303 |
+
"mean_token_accuracy": 0.9184723496437073,
|
| 1304 |
+
"num_tokens": 24686554.0,
|
| 1305 |
+
"step": 1080,
|
| 1306 |
+
"student_ce_loss": 0.217491
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"alignment_loss": 0.124612,
|
| 1310 |
+
"epoch": 1.744,
|
| 1311 |
+
"grad_norm": 2.4419918060302734,
|
| 1312 |
+
"img_mask_ratio": 0.0,
|
| 1313 |
+
"learning_rate": 1.2983870967741937e-06,
|
| 1314 |
+
"loss": 0.4556,
|
| 1315 |
+
"mean_token_accuracy": 0.9190098822116852,
|
| 1316 |
+
"num_tokens": 24914133.0,
|
| 1317 |
+
"step": 1090,
|
| 1318 |
+
"student_ce_loss": 0.182706
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"alignment_loss": 0.128848,
|
| 1322 |
+
"epoch": 1.76,
|
| 1323 |
+
"grad_norm": 2.8063008785247803,
|
| 1324 |
+
"img_mask_ratio": 0.0,
|
| 1325 |
+
"learning_rate": 1.2177419354838711e-06,
|
| 1326 |
+
"loss": 0.4499,
|
| 1327 |
+
"mean_token_accuracy": 0.9256988495588303,
|
| 1328 |
+
"num_tokens": 25141691.0,
|
| 1329 |
+
"step": 1100,
|
| 1330 |
+
"student_ce_loss": 0.203632
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"alignment_loss": 0.118788,
|
| 1334 |
+
"epoch": 1.776,
|
| 1335 |
+
"grad_norm": 2.6819651126861572,
|
| 1336 |
+
"img_mask_ratio": 0.0,
|
| 1337 |
+
"learning_rate": 1.1370967741935485e-06,
|
| 1338 |
+
"loss": 0.4494,
|
| 1339 |
+
"mean_token_accuracy": 0.9230434507131576,
|
| 1340 |
+
"num_tokens": 25367879.0,
|
| 1341 |
+
"step": 1110,
|
| 1342 |
+
"student_ce_loss": 0.240551
|
| 1343 |
+
},
|
| 1344 |
+
{
|
| 1345 |
+
"alignment_loss": 0.086424,
|
| 1346 |
+
"epoch": 1.792,
|
| 1347 |
+
"grad_norm": 3.0009262561798096,
|
| 1348 |
+
"img_mask_ratio": 0.0,
|
| 1349 |
+
"learning_rate": 1.056451612903226e-06,
|
| 1350 |
+
"loss": 0.4539,
|
| 1351 |
+
"mean_token_accuracy": 0.9192558795213699,
|
| 1352 |
+
"num_tokens": 25594722.0,
|
| 1353 |
+
"step": 1120,
|
| 1354 |
+
"student_ce_loss": 0.242357
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"alignment_loss": 0.120083,
|
| 1358 |
+
"epoch": 1.808,
|
| 1359 |
+
"grad_norm": 2.7635793685913086,
|
| 1360 |
+
"img_mask_ratio": 0.0,
|
| 1361 |
+
"learning_rate": 9.758064516129033e-07,
|
| 1362 |
+
"loss": 0.4692,
|
| 1363 |
+
"mean_token_accuracy": 0.9180787563323974,
|
| 1364 |
+
"num_tokens": 25823424.0,
|
| 1365 |
+
"step": 1130,
|
| 1366 |
+
"student_ce_loss": 0.239103
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"alignment_loss": 0.107981,
|
| 1370 |
+
"epoch": 1.8239999999999998,
|
| 1371 |
+
"grad_norm": 2.9174516201019287,
|
| 1372 |
+
"img_mask_ratio": 0.0,
|
| 1373 |
+
"learning_rate": 8.951612903225807e-07,
|
| 1374 |
+
"loss": 0.4609,
|
| 1375 |
+
"mean_token_accuracy": 0.9148437291383743,
|
| 1376 |
+
"num_tokens": 26057492.0,
|
| 1377 |
+
"step": 1140,
|
| 1378 |
+
"student_ce_loss": 0.276147
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"alignment_loss": 0.124177,
|
| 1382 |
+
"epoch": 1.8399999999999999,
|
| 1383 |
+
"grad_norm": 2.7497293949127197,
|
| 1384 |
+
"img_mask_ratio": 0.0,
|
| 1385 |
+
"learning_rate": 8.145161290322581e-07,
|
| 1386 |
+
"loss": 0.4234,
|
| 1387 |
+
"mean_token_accuracy": 0.9296004235744476,
|
| 1388 |
+
"num_tokens": 26288813.0,
|
| 1389 |
+
"step": 1150,
|
| 1390 |
+
"student_ce_loss": 0.207838
|
| 1391 |
+
},
|
| 1392 |
+
{
|
| 1393 |
+
"alignment_loss": 0.105646,
|
| 1394 |
+
"epoch": 1.8559999999999999,
|
| 1395 |
+
"grad_norm": 2.7711806297302246,
|
| 1396 |
+
"img_mask_ratio": 0.0,
|
| 1397 |
+
"learning_rate": 7.338709677419354e-07,
|
| 1398 |
+
"loss": 0.4541,
|
| 1399 |
+
"mean_token_accuracy": 0.9250452935695648,
|
| 1400 |
+
"num_tokens": 26518370.0,
|
| 1401 |
+
"step": 1160,
|
| 1402 |
+
"student_ce_loss": 0.223788
|
| 1403 |
+
},
|
| 1404 |
+
{
|
| 1405 |
+
"alignment_loss": 0.122059,
|
| 1406 |
+
"epoch": 1.8719999999999999,
|
| 1407 |
+
"grad_norm": 2.9454798698425293,
|
| 1408 |
+
"img_mask_ratio": 0.0,
|
| 1409 |
+
"learning_rate": 6.532258064516129e-07,
|
| 1410 |
+
"loss": 0.4577,
|
| 1411 |
+
"mean_token_accuracy": 0.920407834649086,
|
| 1412 |
+
"num_tokens": 26744458.0,
|
| 1413 |
+
"step": 1170,
|
| 1414 |
+
"student_ce_loss": 0.236166
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"alignment_loss": 0.119928,
|
| 1418 |
+
"epoch": 1.888,
|
| 1419 |
+
"grad_norm": 2.437734365463257,
|
| 1420 |
+
"img_mask_ratio": 0.0,
|
| 1421 |
+
"learning_rate": 5.725806451612903e-07,
|
| 1422 |
+
"loss": 0.4597,
|
| 1423 |
+
"mean_token_accuracy": 0.9251294910907746,
|
| 1424 |
+
"num_tokens": 26978509.0,
|
| 1425 |
+
"step": 1180,
|
| 1426 |
+
"student_ce_loss": 0.244458
|
| 1427 |
+
},
|
| 1428 |
+
{
|
| 1429 |
+
"alignment_loss": 0.135921,
|
| 1430 |
+
"epoch": 1.904,
|
| 1431 |
+
"grad_norm": 2.8932273387908936,
|
| 1432 |
+
"img_mask_ratio": 0.0,
|
| 1433 |
+
"learning_rate": 4.919354838709677e-07,
|
| 1434 |
+
"loss": 0.4635,
|
| 1435 |
+
"mean_token_accuracy": 0.9203730016946793,
|
| 1436 |
+
"num_tokens": 27203143.0,
|
| 1437 |
+
"step": 1190,
|
| 1438 |
+
"student_ce_loss": 0.199072
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"alignment_loss": 0.11137,
|
| 1442 |
+
"epoch": 1.92,
|
| 1443 |
+
"grad_norm": 2.591946601867676,
|
| 1444 |
+
"img_mask_ratio": 0.0,
|
| 1445 |
+
"learning_rate": 4.112903225806452e-07,
|
| 1446 |
+
"loss": 0.4637,
|
| 1447 |
+
"mean_token_accuracy": 0.9153954982757568,
|
| 1448 |
+
"num_tokens": 27434860.0,
|
| 1449 |
+
"step": 1200,
|
| 1450 |
+
"student_ce_loss": 0.227573
|
| 1451 |
+
}
|
| 1452 |
+
],
|
| 1453 |
+
"logging_steps": 10,
|
| 1454 |
+
"max_steps": 1250,
|
| 1455 |
+
"num_input_tokens_seen": 0,
|
| 1456 |
+
"num_train_epochs": 2,
|
| 1457 |
+
"save_steps": 100,
|
| 1458 |
+
"stateful_callbacks": {
|
| 1459 |
+
"TrainerControl": {
|
| 1460 |
+
"args": {
|
| 1461 |
+
"should_epoch_stop": false,
|
| 1462 |
+
"should_evaluate": false,
|
| 1463 |
+
"should_log": false,
|
| 1464 |
+
"should_save": true,
|
| 1465 |
+
"should_training_stop": false
|
| 1466 |
+
},
|
| 1467 |
+
"attributes": {}
|
| 1468 |
+
}
|
| 1469 |
+
},
|
| 1470 |
+
"total_flos": 0.0,
|
| 1471 |
+
"train_batch_size": 8,
|
| 1472 |
+
"trial_name": null,
|
| 1473 |
+
"trial_params": null
|
| 1474 |
+
}
|
size-80k/stage3/checkpoint-1200/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:887bfdfdc8009f17403b189c5d8f534f60f3eba26322f84ac8b070554c24db26
|
| 3 |
+
size 11107
|
size-80k/stage3/checkpoint-1200/video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": null,
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"default_to_square": true,
|
| 5 |
+
"device": null,
|
| 6 |
+
"do_center_crop": null,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_pad": null,
|
| 10 |
+
"do_rescale": true,
|
| 11 |
+
"do_resize": true,
|
| 12 |
+
"do_sample_frames": false,
|
| 13 |
+
"fps": null,
|
| 14 |
+
"image_mean": [
|
| 15 |
+
0.48145466,
|
| 16 |
+
0.4578275,
|
| 17 |
+
0.40821073
|
| 18 |
+
],
|
| 19 |
+
"image_std": [
|
| 20 |
+
0.26862954,
|
| 21 |
+
0.26130258,
|
| 22 |
+
0.27577711
|
| 23 |
+
],
|
| 24 |
+
"input_data_format": null,
|
| 25 |
+
"max_frames": 768,
|
| 26 |
+
"max_pixels": 12845056,
|
| 27 |
+
"merge_size": 2,
|
| 28 |
+
"min_frames": 4,
|
| 29 |
+
"min_pixels": 3136,
|
| 30 |
+
"num_frames": null,
|
| 31 |
+
"patch_size": 14,
|
| 32 |
+
"processor_class": "Qwen2_5_VLProcessor",
|
| 33 |
+
"resample": 3,
|
| 34 |
+
"rescale_factor": 0.00392156862745098,
|
| 35 |
+
"size": {
|
| 36 |
+
"longest_edge": 12845056,
|
| 37 |
+
"shortest_edge": 3136
|
| 38 |
+
},
|
| 39 |
+
"size_divisor": null,
|
| 40 |
+
"temporal_patch_size": 2,
|
| 41 |
+
"video_metadata": null,
|
| 42 |
+
"video_processor_type": "Qwen2VLVideoProcessor"
|
| 43 |
+
}
|
size-80k/stage3/checkpoint-1200/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
size-80k/stage3/checkpoint-1200/zero_to_fp32.py
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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 not ZERO_STAGE 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(f"Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info(f"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)
|