yeelou/design2code-hf-bit8
014
1{2 "_name_or_path": "/content/d2c_hf_bin",3 "architectures": [4 "CogAgentForCausalLM"5 ],6 "auto_map": {7 "AutoConfig": "configuration_cogagent.CogAgentConfig",8 "AutoModelForCausalLM": "modeling_cogagent.CogAgentForCausalLM"9 },10 "bos_token_id": 1,11 "cross_compute_hidden_size": 1024,12 "cross_hidden_size": 1024,13 "cross_image_size": 1120,14 "eos_token_id": 2,15 "hidden_act": "silu",16 "hidden_size": 4096,17 "initializer_range": 0.02,18 "intermediate_size": 11008,19 "max_position_embeddings": 2048,20 "num_attention_heads": 32,21 "num_hidden_layers": 32,22 "pad_token_id": 0,23 "quantization_config": {24 "_load_in_4bit": false,25 "_load_in_8bit": true,26 "bnb_4bit_compute_dtype": "float32",27 "bnb_4bit_quant_storage": "uint8",28 "bnb_4bit_quant_type": "fp4",29 "bnb_4bit_use_double_quant": false,30 "llm_int8_enable_fp32_cpu_offload": false,31 "llm_int8_has_fp16_weight": false,32 "llm_int8_skip_modules": null,33 "llm_int8_threshold": 6.0,34 "load_in_4bit": false,35 "load_in_8bit": true,36 "quant_method": "bitsandbytes"37 },38 "rms_norm_eps": 1e-05,39 "template_version": "chat",40 "tie_word_embeddings": false,41 "torch_dtype": "float16",42 "transformers_version": "4.41.0.dev0",43 "use_cache": true,44 "vision_config": {45 "dropout_prob": 0.0,46 "hidden_act": "gelu",47 "hidden_size": 1792,48 "image_size": 224,49 "in_channels": 3,50 "intermediate_size": 15360,51 "layer_norm_eps": 1e-06,52 "num_heads": 16,53 "num_hidden_layers": 63,54 "num_positions": 257,55 "patch_size": 1456 },57 "vocab_size": 3200058}59 