Upload model
Browse files- config.json +47 -0
- generation_config.json +15 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Qwen2VLForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.0,
|
6 |
+
"bos_token_id": 151643,
|
7 |
+
"eos_token_id": 151645,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 1536,
|
10 |
+
"image_token_id": 151655,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 8960,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"max_window_layers": 28,
|
15 |
+
"model_type": "qwen2_vl",
|
16 |
+
"num_attention_heads": 12,
|
17 |
+
"num_hidden_layers": 28,
|
18 |
+
"num_key_value_heads": 2,
|
19 |
+
"rms_norm_eps": 1e-06,
|
20 |
+
"rope_scaling": {
|
21 |
+
"mrope_section": [
|
22 |
+
16,
|
23 |
+
24,
|
24 |
+
24
|
25 |
+
],
|
26 |
+
"rope_type": "default",
|
27 |
+
"type": "default"
|
28 |
+
},
|
29 |
+
"rope_theta": 1000000.0,
|
30 |
+
"sliding_window": 32768,
|
31 |
+
"tie_word_embeddings": true,
|
32 |
+
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.45.2",
|
34 |
+
"use_cache": false,
|
35 |
+
"use_sliding_window": false,
|
36 |
+
"video_token_id": 151656,
|
37 |
+
"vision_config": {
|
38 |
+
"hidden_size": 1536,
|
39 |
+
"in_chans": 3,
|
40 |
+
"model_type": "qwen2_vl",
|
41 |
+
"spatial_patch_size": 14
|
42 |
+
},
|
43 |
+
"vision_end_token_id": 151653,
|
44 |
+
"vision_start_token_id": 151652,
|
45 |
+
"vision_token_id": 151654,
|
46 |
+
"vocab_size": 151936
|
47 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"attn_implementation": "flash_attention_2",
|
3 |
+
"bos_token_id": 151643,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": [
|
6 |
+
151645,
|
7 |
+
151643
|
8 |
+
],
|
9 |
+
"pad_token_id": 151643,
|
10 |
+
"temperature": 0.01,
|
11 |
+
"top_k": 1,
|
12 |
+
"top_p": 0.001,
|
13 |
+
"transformers_version": "4.45.2",
|
14 |
+
"use_cache": false
|
15 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2f47b4dd243bf01877ddce37c790cda6087d44ef42246dde88ca9d953710920
|
3 |
+
size 4418050848
|