CoolFace
Modelpublic

OpenGVLab/InternVL2_5-38B-AWQ

sourceHugging Facemitupdated 1y agoView on Hugging Face
9likes34downloads
config.json147 linesDownload Raw Back to root
1{2  "_commit_hash": null,3  "architectures": [4    "InternVLChatModel"5  ],6  "auto_map": {7    "AutoConfig": "configuration_internvl_chat.InternVLChatConfig",8    "AutoModel": "modeling_internvl_chat.InternVLChatModel",9    "AutoModelForCausalLM": "modeling_internvl_chat.InternVLChatModel"10  },11  "downsample_ratio": 0.5,12  "dynamic_image_size": true,13  "force_image_size": 448,14  "llm_config": {15    "_attn_implementation_autoset": true,16    "_name_or_path": "Qwen/Qwen2.5-32B-Instruct",17    "add_cross_attention": false,18    "architectures": [19      "Qwen2ForCausalLM"20    ],21    "attn_implementation": "eager",22    "attention_dropout": 0.0,23    "bad_words_ids": null,24    "begin_suppress_tokens": null,25    "bos_token_id": 151643,26    "chunk_size_feed_forward": 0,27    "cross_attention_hidden_size": null,28    "decoder_start_token_id": null,29    "diversity_penalty": 0.0,30    "do_sample": false,31    "early_stopping": false,32    "encoder_no_repeat_ngram_size": 0,33    "eos_token_id": 151645,34    "exponential_decay_length_penalty": null,35    "finetuning_task": null,36    "forced_bos_token_id": null,37    "forced_eos_token_id": null,38    "hidden_act": "silu",39    "hidden_size": 5120,40    "id2label": {41      "0": "LABEL_0",42      "1": "LABEL_1"43    },44    "initializer_range": 0.02,45    "intermediate_size": 27648,46    "is_decoder": false,47    "is_encoder_decoder": false,48    "label2id": {49      "LABEL_0": 0,50      "LABEL_1": 151    },52    "length_penalty": 1.0,53    "max_length": 20,54    "max_position_embeddings": 32768,55    "max_window_layers": 70,56    "min_length": 0,57    "model_type": "qwen2",58    "no_repeat_ngram_size": 0,59    "num_attention_heads": 40,60    "num_beam_groups": 1,61    "num_beams": 1,62    "num_hidden_layers": 64,63    "num_key_value_heads": 8,64    "num_return_sequences": 1,65    "output_attentions": false,66    "output_hidden_states": false,67    "output_scores": false,68    "pad_token_id": null,69    "prefix": null,70    "problem_type": null,71    "pruned_heads": {},72    "quantization_config": {73      "bits": 4,74      "group_size": 128,75      "quant_method": "awq",76      "version": "gemm",77      "zero_point": true78    },79    "remove_invalid_values": false,80    "repetition_penalty": 1.0,81    "return_dict": true,82    "return_dict_in_generate": false,83    "rms_norm_eps": 1e-06,84    "rope_scaling": null,85    "rope_theta": 1000000.0,86    "sep_token_id": null,87    "sliding_window": null,88    "suppress_tokens": null,89    "task_specific_params": null,90    "temperature": 1.0,91    "tf_legacy_loss": false,92    "tie_encoder_decoder": false,93    "tie_word_embeddings": false,94    "tokenizer_class": null,95    "top_k": 50,96    "top_p": 1.0,97    "torch_dtype": "bfloat16",98    "torchscript": false,99    "transformers_version": "4.47.0",100    "typical_p": 1.0,101    "use_bfloat16": true,102    "use_cache": false,103    "use_sliding_window": false,104    "vocab_size": 151674105  },106  "max_dynamic_patch": 12,107  "min_dynamic_patch": 1,108  "model_type": "internvl_chat",109  "ps_version": "v2",110  "select_layer": -1,111  "template": "internvl2_5",112  "torch_dtype": "float16",113  "use_backbone_lora": 0,114  "use_llm_lora": 0,115  "use_thumbnail": true,116  "vision_config": {117    "architectures": [118      "InternVisionModel"119    ],120    "attention_dropout": 0.0,121    "drop_path_rate": 0.0,122    "dropout": 0.0,123    "hidden_act": "gelu",124    "hidden_size": 3200,125    "image_size": 448,126    "initializer_factor": 0.1,127    "initializer_range": 1e-10,128    "intermediate_size": 12800,129    "layer_norm_eps": 1e-06,130    "model_type": "intern_vit_6b",131    "norm_type": "rms_norm",132    "num_attention_heads": 25,133    "num_channels": 3,134    "num_hidden_layers": 45,135    "output_attentions": false,136    "output_hidden_states": false,137    "patch_size": 14,138    "qk_normalization": true,139    "qkv_bias": false,140    "return_dict": true,141    "torch_dtype": "bfloat16",142    "transformers_version": "4.47.0",143    "use_bfloat16": true,144    "use_flash_attn": false145  }146}147