Upload Idefics3ForConditionalGeneration
Browse files- config.json +15 -0
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -7,6 +7,21 @@
|
|
| 7 |
"image_token_id": 49153,
|
| 8 |
"model_type": "idefics3",
|
| 9 |
"pad_token_id": 128002,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"scale_factor": 3,
|
| 11 |
"text_config": {
|
| 12 |
"_flash_attn_2_enabled": true,
|
|
|
|
| 7 |
"image_token_id": 49153,
|
| 8 |
"model_type": "idefics3",
|
| 9 |
"pad_token_id": 128002,
|
| 10 |
+
"quantization_config": {
|
| 11 |
+
"_load_in_4bit": true,
|
| 12 |
+
"_load_in_8bit": false,
|
| 13 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 14 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 15 |
+
"bnb_4bit_quant_type": "nf4",
|
| 16 |
+
"bnb_4bit_use_double_quant": true,
|
| 17 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 18 |
+
"llm_int8_has_fp16_weight": false,
|
| 19 |
+
"llm_int8_skip_modules": null,
|
| 20 |
+
"llm_int8_threshold": 6.0,
|
| 21 |
+
"load_in_4bit": true,
|
| 22 |
+
"load_in_8bit": false,
|
| 23 |
+
"quant_method": "bitsandbytes"
|
| 24 |
+
},
|
| 25 |
"scale_factor": 3,
|
| 26 |
"text_config": {
|
| 27 |
"_flash_attn_2_enabled": true,
|
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:05fb5eba4033d6f9b4bec0a09ac5d537451bc9d78b24bc516341f36547a5e674
|
| 3 |
+
size 1461313043
|