chatglm-6b-int4/config.json

30 lines
838 B
JSON
Raw Normal View History

2023-03-19 21:15:20 +08:00
{
2023-04-07 23:14:10 +08:00
"_name_or_path": "THUDM/chatglm-6b-int4",
2023-03-19 21:15:20 +08:00
"architectures": [
"ChatGLMModel"
],
"auto_map": {
"AutoConfig": "configuration_chatglm.ChatGLMConfig",
"AutoModel": "modeling_chatglm.ChatGLMForConditionalGeneration",
"AutoModelForSeq2SeqLM": "modeling_chatglm.ChatGLMForConditionalGeneration"
},
2023-04-07 23:14:10 +08:00
"bos_token_id": 130004,
"eos_token_id": 130005,
"gmask_token_id": 130001,
2023-03-19 21:15:20 +08:00
"hidden_size": 4096,
"inner_hidden_size": 16384,
"layernorm_epsilon": 1e-05,
2023-04-07 23:14:10 +08:00
"mask_token_id": 130000,
2023-03-19 21:15:20 +08:00
"max_sequence_length": 2048,
"model_type": "chatglm",
"num_attention_heads": 32,
"num_layers": 28,
2023-04-07 23:14:10 +08:00
"pad_token_id": 3,
2023-03-19 21:15:20 +08:00
"position_encoding_2d": true,
"quantization_bit": 4,
"quantization_embeddings": false,
"torch_dtype": "float16",
2023-04-07 23:14:10 +08:00
"transformers_version": "4.27.1",
2023-03-19 21:15:20 +08:00
"use_cache": true,
2023-04-07 23:14:10 +08:00
"vocab_size": 130528
}