| { |
| "_name_or_path": "./clip_image_encoder", |
| "architectures": [ |
| "CLIPVisionModelWithProjection" |
| ], |
| "attention_dropout": 0.0, |
| "dropout": 0.0, |
| "hidden_act": "gelu", |
| "hidden_size": 1280, |
| "image_size": 224, |
| "initializer_factor": 1.0, |
| "initializer_range": 0.02, |
| "intermediate_size": 5120, |
| "layer_norm_eps": 1e-05, |
| "model_type": "clip_vision_model", |
| "num_attention_heads": 16, |
| "num_channels": 3, |
| "num_hidden_layers": 32, |
| "patch_size": 14, |
| "projection_dim": 1024, |
| "quantization_config": { |
| "_load_in_4bit": false, |
| "_load_in_8bit": true, |
| "bnb_4bit_compute_dtype": "float32", |
| "bnb_4bit_quant_storage": "uint8", |
| "bnb_4bit_quant_type": "fp4", |
| "bnb_4bit_use_double_quant": false, |
| "llm_int8_enable_fp32_cpu_offload": true, |
| "llm_int8_has_fp16_weight": false, |
| "llm_int8_skip_modules": null, |
| "llm_int8_threshold": 6.0, |
| "load_in_4bit": false, |
| "load_in_8bit": true, |
| "quant_method": "bitsandbytes" |
| }, |
| "torch_dtype": "float16", |
| "transformers_version": "4.47.1" |
| } |
|
|