Upload Qwen2_5_VLForConditionalGeneration
#9
by qgallouedec HF Staff - opened
- config.json +45 -12
- generation_config.json +1 -1
- model.safetensors +1 -1
- preprocessor_config.json +0 -2
- tokenizer.json +2 -2
- video_preprocessor_config.json +2 -1
config.json
CHANGED
|
@@ -7,22 +7,21 @@
|
|
| 7 |
"dtype": "bfloat16",
|
| 8 |
"eos_token_id": 151645,
|
| 9 |
"hidden_act": "silu",
|
| 10 |
-
"hidden_size":
|
| 11 |
"image_token_id": 151655,
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
"intermediate_size": 11008,
|
| 14 |
"max_position_embeddings": 128000,
|
| 15 |
"max_window_layers": 70,
|
| 16 |
"model_type": "qwen2_5_vl",
|
| 17 |
-
"num_attention_heads":
|
| 18 |
-
"num_hidden_layers":
|
| 19 |
"num_key_value_heads": 2,
|
| 20 |
"rms_norm_eps": 1e-06,
|
| 21 |
"rope_scaling": {
|
| 22 |
"mrope_section": [
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
24
|
| 26 |
],
|
| 27 |
"rope_type": "default",
|
| 28 |
"type": "default"
|
|
@@ -39,9 +38,44 @@
|
|
| 39 |
"eos_token_id": 151645,
|
| 40 |
"hidden_act": "silu",
|
| 41 |
"hidden_size": 16,
|
|
|
|
| 42 |
"initializer_range": 0.02,
|
| 43 |
"intermediate_size": 11008,
|
| 44 |
"layer_types": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
"full_attention",
|
| 46 |
"full_attention"
|
| 47 |
],
|
|
@@ -65,16 +99,18 @@
|
|
| 65 |
"tie_word_embeddings": true,
|
| 66 |
"use_cache": true,
|
| 67 |
"use_sliding_window": false,
|
|
|
|
|
|
|
|
|
|
| 68 |
"vision_token_id": 151654,
|
| 69 |
"vocab_size": 151936
|
| 70 |
},
|
| 71 |
-
"transformers_version": "4.
|
| 72 |
"use_cache": true,
|
| 73 |
"use_sliding_window": false,
|
| 74 |
"video_token_id": 151656,
|
| 75 |
"vision_config": {
|
| 76 |
"depth": 2,
|
| 77 |
-
"embed_dim": 64,
|
| 78 |
"fullatt_block_indexes": [
|
| 79 |
7,
|
| 80 |
15,
|
|
@@ -88,10 +124,7 @@
|
|
| 88 |
"initializer_range": 0.02,
|
| 89 |
"intermediate_size": 3420,
|
| 90 |
"model_type": "qwen2_5_vl",
|
| 91 |
-
"
|
| 92 |
-
"num_heads": 16,
|
| 93 |
-
"num_hidden_layers": 2,
|
| 94 |
-
"num_key_value_heads": 2,
|
| 95 |
"out_hidden_size": 16,
|
| 96 |
"patch_size": 14,
|
| 97 |
"spatial_merge_size": 2,
|
|
|
|
| 7 |
"dtype": "bfloat16",
|
| 8 |
"eos_token_id": 151645,
|
| 9 |
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 16,
|
| 11 |
"image_token_id": 151655,
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
"intermediate_size": 11008,
|
| 14 |
"max_position_embeddings": 128000,
|
| 15 |
"max_window_layers": 70,
|
| 16 |
"model_type": "qwen2_5_vl",
|
| 17 |
+
"num_attention_heads": 4,
|
| 18 |
+
"num_hidden_layers": 2,
|
| 19 |
"num_key_value_heads": 2,
|
| 20 |
"rms_norm_eps": 1e-06,
|
| 21 |
"rope_scaling": {
|
| 22 |
"mrope_section": [
|
| 23 |
+
1,
|
| 24 |
+
1
|
|
|
|
| 25 |
],
|
| 26 |
"rope_type": "default",
|
| 27 |
"type": "default"
|
|
|
|
| 38 |
"eos_token_id": 151645,
|
| 39 |
"hidden_act": "silu",
|
| 40 |
"hidden_size": 16,
|
| 41 |
+
"image_token_id": null,
|
| 42 |
"initializer_range": 0.02,
|
| 43 |
"intermediate_size": 11008,
|
| 44 |
"layer_types": [
|
| 45 |
+
"full_attention",
|
| 46 |
+
"full_attention",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"full_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"full_attention",
|
| 51 |
+
"full_attention",
|
| 52 |
+
"full_attention",
|
| 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 |
],
|
|
|
|
| 99 |
"tie_word_embeddings": true,
|
| 100 |
"use_cache": true,
|
| 101 |
"use_sliding_window": false,
|
| 102 |
+
"video_token_id": null,
|
| 103 |
+
"vision_end_token_id": 151653,
|
| 104 |
+
"vision_start_token_id": 151652,
|
| 105 |
"vision_token_id": 151654,
|
| 106 |
"vocab_size": 151936
|
| 107 |
},
|
| 108 |
+
"transformers_version": "4.56.2",
|
| 109 |
"use_cache": true,
|
| 110 |
"use_sliding_window": false,
|
| 111 |
"video_token_id": 151656,
|
| 112 |
"vision_config": {
|
| 113 |
"depth": 2,
|
|
|
|
| 114 |
"fullatt_block_indexes": [
|
| 115 |
7,
|
| 116 |
15,
|
|
|
|
| 124 |
"initializer_range": 0.02,
|
| 125 |
"intermediate_size": 3420,
|
| 126 |
"model_type": "qwen2_5_vl",
|
| 127 |
+
"num_heads": 4,
|
|
|
|
|
|
|
|
|
|
| 128 |
"out_hidden_size": 16,
|
| 129 |
"patch_size": 14,
|
| 130 |
"spatial_merge_size": 2,
|
generation_config.json
CHANGED
|
@@ -8,5 +8,5 @@
|
|
| 8 |
"pad_token_id": 151643,
|
| 9 |
"repetition_penalty": 1.05,
|
| 10 |
"temperature": 1e-06,
|
| 11 |
-
"transformers_version": "4.
|
| 12 |
}
|
|
|
|
| 8 |
"pad_token_id": 151643,
|
| 9 |
"repetition_penalty": 1.05,
|
| 10 |
"temperature": 1e-06,
|
| 11 |
+
"transformers_version": "4.56.2"
|
| 12 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 7721168
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64bcc6a5ae04fcb0c61164070b95350f722e612ba11985da760121de2e324f63
|
| 3 |
size 7721168
|
preprocessor_config.json
CHANGED
|
@@ -7,7 +7,6 @@
|
|
| 7 |
"do_center_crop": null,
|
| 8 |
"do_convert_rgb": true,
|
| 9 |
"do_normalize": true,
|
| 10 |
-
"do_pad": null,
|
| 11 |
"do_rescale": true,
|
| 12 |
"do_resize": true,
|
| 13 |
"image_mean": [
|
|
@@ -25,7 +24,6 @@
|
|
| 25 |
"max_pixels": 12845056,
|
| 26 |
"merge_size": 2,
|
| 27 |
"min_pixels": 3136,
|
| 28 |
-
"pad_size": null,
|
| 29 |
"patch_size": 14,
|
| 30 |
"processor_class": "Qwen2_5_VLProcessor",
|
| 31 |
"resample": 3,
|
|
|
|
| 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": [
|
|
|
|
| 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,
|
tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba0c439f7be467bf47d12a7e6f9adc6116201056fc60c67f431c679b7c16afc8
|
| 3 |
+
size 11422064
|
video_preprocessor_config.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
| 6 |
"do_center_crop": null,
|
| 7 |
"do_convert_rgb": true,
|
| 8 |
"do_normalize": true,
|
|
|
|
| 9 |
"do_rescale": true,
|
| 10 |
"do_resize": true,
|
| 11 |
"do_sample_frames": false,
|
|
@@ -27,7 +28,6 @@
|
|
| 27 |
"min_frames": 4,
|
| 28 |
"min_pixels": 3136,
|
| 29 |
"num_frames": null,
|
| 30 |
-
"pad_size": null,
|
| 31 |
"patch_size": 14,
|
| 32 |
"processor_class": "Qwen2_5_VLProcessor",
|
| 33 |
"resample": 3,
|
|
@@ -37,6 +37,7 @@
|
|
| 37 |
"longest_edge": 12845056,
|
| 38 |
"shortest_edge": 3136
|
| 39 |
},
|
|
|
|
| 40 |
"temporal_patch_size": 2,
|
| 41 |
"video_metadata": null,
|
| 42 |
"video_processor_type": "Qwen2VLVideoProcessor"
|
|
|
|
| 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,
|
|
|
|
| 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,
|
|
|
|
| 37 |
"longest_edge": 12845056,
|
| 38 |
"shortest_edge": 3136
|
| 39 |
},
|
| 40 |
+
"size_divisor": null,
|
| 41 |
"temporal_patch_size": 2,
|
| 42 |
"video_metadata": null,
|
| 43 |
"video_processor_type": "Qwen2VLVideoProcessor"
|