law-glm-10b / config.json
law-llm's picture
Upload GLMForConditionalGeneration
f602500
{
"_name_or_path": "/data/users/dzhu/outputs/law_qa/tmp/checkpoint-8400",
"architectures": [
"GLMForConditionalGeneration"
],
"attention_dropout_prob": 0.1,
"attention_scale": 1.0,
"auto_map": {
"AutoConfig": "THUDM/glm-10b-chinese--configuration_glm.GLMConfig",
"AutoModel": "THUDM/glm-10b-chinese--modeling_glm.GLMModel",
"AutoModelForSeq2SeqLM": "THUDM/glm-10b-chinese--modeling_glm.GLMForConditionalGeneration",
"AutoModelForSequenceClassification": "THUDM/glm-10b-chinese--modeling_glm.GLMForSequenceClassification"
},
"bad_words_id": [
50009
],
"block_position_encoding": true,
"checkpoint_activations": false,
"checkpoint_num_layers": 1,
"embedding_dropout_prob": 0.1,
"hidden_size": 4096,
"initializer_range": 0.02,
"max_sequence_length": 1024,
"model_type": "glm",
"num_attention_heads": 64,
"num_layers": 48,
"output_dropout_prob": 0.1,
"output_predict": true,
"parallel_output": true,
"pool_token": "cls",
"relative_encoding": false,
"spell_func": "lstm",
"spell_length": null,
"torch_dtype": "float32",
"transformers_version": "4.29.2",
"vocab_size": 50048
}