Update model config to show correct dtype for non-quantized tensors (float16) and model name
Browse filesAccidentally kept the config file from a previous version, doesn't affect loading. I want to try to do an error analysis to see whether float16 or bfloat16 makes more sense here... bfloat16 might be better.
- config.json +4 -4
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"MolmoForCausalLM"
|
| 5 |
],
|
|
@@ -25,10 +25,10 @@
|
|
| 25 |
"quantization_config": {
|
| 26 |
"_load_in_4bit": true,
|
| 27 |
"_load_in_8bit": false,
|
| 28 |
-
"bnb_4bit_compute_dtype": "
|
| 29 |
"bnb_4bit_quant_storage": "uint8",
|
| 30 |
"bnb_4bit_quant_type": "nf4",
|
| 31 |
-
"bnb_4bit_use_double_quant":
|
| 32 |
"llm_int8_enable_fp32_cpu_offload": true,
|
| 33 |
"llm_int8_has_fp16_weight": false,
|
| 34 |
"llm_int8_skip_modules": ["model.wte", "model.ln_f", "model.transformer.ff_out", "model.vision_backbone"],
|
|
@@ -39,7 +39,7 @@
|
|
| 39 |
},
|
| 40 |
"rope_theta": 1000000.0,
|
| 41 |
"tie_word_embeddings": false,
|
| 42 |
-
"torch_dtype": "
|
| 43 |
"transformers_version": "4.45.1",
|
| 44 |
"use_cache": true,
|
| 45 |
"use_position_ids": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "SeanScripts/Molmo-72B-0924-nf4",
|
| 3 |
"architectures": [
|
| 4 |
"MolmoForCausalLM"
|
| 5 |
],
|
|
|
|
| 25 |
"quantization_config": {
|
| 26 |
"_load_in_4bit": true,
|
| 27 |
"_load_in_8bit": false,
|
| 28 |
+
"bnb_4bit_compute_dtype": "float16",
|
| 29 |
"bnb_4bit_quant_storage": "uint8",
|
| 30 |
"bnb_4bit_quant_type": "nf4",
|
| 31 |
+
"bnb_4bit_use_double_quant": true,
|
| 32 |
"llm_int8_enable_fp32_cpu_offload": true,
|
| 33 |
"llm_int8_has_fp16_weight": false,
|
| 34 |
"llm_int8_skip_modules": ["model.wte", "model.ln_f", "model.transformer.ff_out", "model.vision_backbone"],
|
|
|
|
| 39 |
},
|
| 40 |
"rope_theta": 1000000.0,
|
| 41 |
"tie_word_embeddings": false,
|
| 42 |
+
"torch_dtype": "float16",
|
| 43 |
"transformers_version": "4.45.1",
|
| 44 |
"use_cache": true,
|
| 45 |
"use_position_ids": true,
|