danielhanchen
commited on
Commit
•
795dcd9
1
Parent(s):
c9ae7c1
Upload Qwen2VLForConditionalGeneration
Browse files- config.json +2 -0
- generation_config.json +2 -1
config.json
CHANGED
@@ -17,6 +17,7 @@
|
|
17 |
"num_attention_heads": 28,
|
18 |
"num_hidden_layers": 28,
|
19 |
"num_key_value_heads": 4,
|
|
|
20 |
"quantization_config": {
|
21 |
"_load_in_4bit": true,
|
22 |
"_load_in_8bit": false,
|
@@ -47,6 +48,7 @@
|
|
47 |
"tie_word_embeddings": false,
|
48 |
"torch_dtype": "bfloat16",
|
49 |
"transformers_version": "4.46.3",
|
|
|
50 |
"use_cache": true,
|
51 |
"use_sliding_window": false,
|
52 |
"video_token_id": 151656,
|
|
|
17 |
"num_attention_heads": 28,
|
18 |
"num_hidden_layers": 28,
|
19 |
"num_key_value_heads": 4,
|
20 |
+
"pad_token_id": 151654,
|
21 |
"quantization_config": {
|
22 |
"_load_in_4bit": true,
|
23 |
"_load_in_8bit": false,
|
|
|
48 |
"tie_word_embeddings": false,
|
49 |
"torch_dtype": "bfloat16",
|
50 |
"transformers_version": "4.46.3",
|
51 |
+
"unsloth_fixed": true,
|
52 |
"use_cache": true,
|
53 |
"use_sliding_window": false,
|
54 |
"video_token_id": 151656,
|
generation_config.json
CHANGED
@@ -5,7 +5,8 @@
|
|
5 |
151645,
|
6 |
151643
|
7 |
],
|
8 |
-
"
|
|
|
9 |
"temperature": 0.01,
|
10 |
"top_k": 1,
|
11 |
"top_p": 0.001,
|
|
|
5 |
151645,
|
6 |
151643
|
7 |
],
|
8 |
+
"max_length": 32768,
|
9 |
+
"pad_token_id": 151654,
|
10 |
"temperature": 0.01,
|
11 |
"top_k": 1,
|
12 |
"top_p": 0.001,
|