Upload Qwen2VLForConditionalGenerationWithAudio
Browse files- config.json +19 -1
- generation_config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -13,11 +13,29 @@
|
|
| 13 |
"audio_pad_token_id": 151658,
|
| 14 |
"audio_start_token_id": 151657,
|
| 15 |
"bos_token_id": null,
|
| 16 |
-
"dtype": "
|
| 17 |
"eos_token_id": 151645,
|
| 18 |
"image_token_id": 151655,
|
| 19 |
"model_type": "qwen2_vl",
|
| 20 |
"pad_token_id": 151643,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
"text_config": {
|
| 22 |
"attention_dropout": 0.0,
|
| 23 |
"bos_token_id": 151643,
|
|
|
|
| 13 |
"audio_pad_token_id": 151658,
|
| 14 |
"audio_start_token_id": 151657,
|
| 15 |
"bos_token_id": null,
|
| 16 |
+
"dtype": "float32",
|
| 17 |
"eos_token_id": 151645,
|
| 18 |
"image_token_id": 151655,
|
| 19 |
"model_type": "qwen2_vl",
|
| 20 |
"pad_token_id": 151643,
|
| 21 |
+
"quantization_config": {
|
| 22 |
+
"_load_in_4bit": true,
|
| 23 |
+
"_load_in_8bit": false,
|
| 24 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 25 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 26 |
+
"bnb_4bit_quant_type": "nf4",
|
| 27 |
+
"bnb_4bit_use_double_quant": true,
|
| 28 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 29 |
+
"llm_int8_has_fp16_weight": false,
|
| 30 |
+
"llm_int8_skip_modules": [
|
| 31 |
+
"audio_encoder",
|
| 32 |
+
"audio_projector"
|
| 33 |
+
],
|
| 34 |
+
"llm_int8_threshold": 6.0,
|
| 35 |
+
"load_in_4bit": true,
|
| 36 |
+
"load_in_8bit": false,
|
| 37 |
+
"quant_method": "bitsandbytes"
|
| 38 |
+
},
|
| 39 |
"text_config": {
|
| 40 |
"attention_dropout": 0.0,
|
| 41 |
"bos_token_id": 151643,
|
generation_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"bos_token_id": 151643,
|
| 3 |
"do_sample": true,
|
| 4 |
"eos_token_id": [
|
|
|
|
| 5 |
151645,
|
| 6 |
151643
|
| 7 |
],
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"do_sample": true,
|
| 3 |
"eos_token_id": [
|
| 4 |
+
151645,
|
| 5 |
151645,
|
| 6 |
151643
|
| 7 |
],
|
model.safetensors
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:787180f929e3ee8c2578857798ea08a7538dc41d2232691fcb4e670aa780edea
|
| 3 |
+
size 8802787595
|