Team Ai
Modelpublic

zai-org/codegeex2-6b

sourceHugging Faceupdated 2y agoView on Hugging Face
258likes461downloads
config.json43 linesDownload Raw Back to root
1{2  "_name_or_path": "THUDM/codegeex2-6b",3  "model_type": "chatglm",4  "architectures": [5    "ChatGLMModel"6  ],7  "auto_map": {8    "AutoConfig": "configuration_chatglm.ChatGLMConfig",9    "AutoModel": "modeling_chatglm.ChatGLMForConditionalGeneration",10    "AutoModelForCausalLM": "modeling_chatglm.ChatGLMForConditionalGeneration",11    "AutoModelForSeq2SeqLM": "modeling_chatglm.ChatGLMForConditionalGeneration"12  },13  "add_bias_linear": false,14  "add_qkv_bias": true,15  "apply_query_key_layer_scaling": true,16  "apply_residual_connection_post_layernorm": false,17  "attention_dropout": 0.0,18  "attention_softmax_in_fp32": true,19  "bias_dropout_fusion": true,20  "ffn_hidden_size": 13696,21  "fp32_residual_connection": false,22  "hidden_dropout": 0.0,23  "hidden_size": 4096,24  "interleaved_qkv": false,25  "kv_channels": 128,26  "layernorm_epsilon": 1e-05,27  "multi_query_attention": true,28  "multi_query_group_num": 2,29  "num_attention_heads": 32,30  "num_layers": 28,31  "original_rope": true,32  "padded_vocab_size": 65024,33  "post_layer_norm": true,34  "rmsnorm": true,35  "rotary_percent": 0.5,36  "seq_length": 8192,37  "use_cache": true,38  "torch_dtype": "bfloat16",39  "transformers_version": "4.30.2",40  "tie_word_embeddings": false,41  "eos_token_id": 242}43