Upload config.json with huggingface_hub
Browse files- config.json +46 -0
config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/content/local_data/llama_models/llama32_vision_finetuned_20250903_070530/merged_full_precision_model",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"MllamaForConditionalGeneration"
|
| 5 |
+
],
|
| 6 |
+
"image_token_index": 128256,
|
| 7 |
+
"model_type": "mllama",
|
| 8 |
+
"quantization_config": {
|
| 9 |
+
"_load_in_4bit": true,
|
| 10 |
+
"_load_in_8bit": false,
|
| 11 |
+
"bnb_4bit_compute_dtype": "float16",
|
| 12 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 13 |
+
"bnb_4bit_quant_type": "nf4",
|
| 14 |
+
"bnb_4bit_use_double_quant": true,
|
| 15 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 16 |
+
"llm_int8_has_fp16_weight": false,
|
| 17 |
+
"llm_int8_skip_modules": null,
|
| 18 |
+
"llm_int8_threshold": 6.0,
|
| 19 |
+
"load_in_4bit": true,
|
| 20 |
+
"load_in_8bit": false,
|
| 21 |
+
"quant_method": "bitsandbytes"
|
| 22 |
+
},
|
| 23 |
+
"text_config": {
|
| 24 |
+
"eos_token_id": [
|
| 25 |
+
128001,
|
| 26 |
+
128008,
|
| 27 |
+
128009
|
| 28 |
+
],
|
| 29 |
+
"model_type": "mllama_text_model",
|
| 30 |
+
"rope_scaling": {
|
| 31 |
+
"factor": 8.0,
|
| 32 |
+
"high_freq_factor": 4.0,
|
| 33 |
+
"low_freq_factor": 1.0,
|
| 34 |
+
"original_max_position_embeddings": 8192,
|
| 35 |
+
"rope_type": "llama3"
|
| 36 |
+
},
|
| 37 |
+
"torch_dtype": "bfloat16"
|
| 38 |
+
},
|
| 39 |
+
"torch_dtype": "float16",
|
| 40 |
+
"transformers_version": "4.47.1",
|
| 41 |
+
"vision_config": {
|
| 42 |
+
"image_size": 560,
|
| 43 |
+
"model_type": "mllama_vision_model",
|
| 44 |
+
"torch_dtype": "bfloat16"
|
| 45 |
+
}
|
| 46 |
+
}
|