chatglm-6b / config.json
felixdae
Upload ChatGLMForConditionalGeneration
8fd5b7c
raw
history blame
923 Bytes
{
"_name_or_path": "THUDM/chatglm-6b",
"architectures": [
"ChatGLMForConditionalGeneration"
],
"auto_map": {
"AutoConfig": "THUDM/chatglm-6b--configuration_chatglm.ChatGLMConfig",
"AutoModel": "THUDM/chatglm-6b--modeling_chatglm.ChatGLMForConditionalGeneration",
"AutoModelForSeq2SeqLM": "THUDM/chatglm-6b--modeling_chatglm.ChatGLMForConditionalGeneration"
},
"bos_token_id": 130004,
"eos_token_id": 130005,
"gmask_token_id": 130001,
"hidden_size": 4096,
"inner_hidden_size": 16384,
"layernorm_epsilon": 1e-05,
"mask_token_id": 130000,
"max_sequence_length": 2048,
"model_type": "chatglm",
"num_attention_heads": 32,
"num_layers": 2,
"pad_token_id": 3,
"position_encoding_2d": true,
"pre_seq_len": null,
"prefix_projection": false,
"quantization_bit": 0,
"torch_dtype": "float16",
"transformers_version": "4.31.0",
"use_cache": true,
"vocab_size": 130528
}