radariscs commited on
Commit
b4e475f
·
verified ·
1 Parent(s): 36cd6c0

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +56 -0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bias_linear": false,
3
+ "add_qkv_bias": true,
4
+ "apply_query_key_layer_scaling": true,
5
+ "apply_residual_connection_post_layernorm": false,
6
+ "architectures": [
7
+ "ChatGLMModel"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "attention_softmax_in_fp32": true,
11
+ "auto_map": {
12
+ "AutoConfig": "configuration_chatglm.ChatGLMConfig",
13
+ "AutoModel": "modeling_chatglm.ChatGLMForConditionalGeneration",
14
+ "AutoModelForCausalLM": "modeling_chatglm.ChatGLMForConditionalGeneration",
15
+ "AutoModelForSeq2SeqLM": "modeling_chatglm.ChatGLMForConditionalGeneration",
16
+ "AutoModelForSequenceClassification": "modeling_chatglm.ChatGLMForSequenceClassification"
17
+ },
18
+ "bias_dropout_fusion": true,
19
+ "classifier_dropout": null,
20
+ "eos_token_id": 2,
21
+ "ffn_hidden_size": 13696,
22
+ "fp32_residual_connection": false,
23
+ "hidden_dropout": 0.0,
24
+ "hidden_size": 4096,
25
+ "id2label": {
26
+ "0": "LABEL_0",
27
+ "1": "LABEL_1",
28
+ "2": "LABEL_2"
29
+ },
30
+ "kv_channels": 128,
31
+ "label2id": {
32
+ "LABEL_0": 0,
33
+ "LABEL_1": 1,
34
+ "LABEL_2": 2
35
+ },
36
+ "layernorm_epsilon": 1e-05,
37
+ "model_type": "chatglm",
38
+ "multi_query_attention": true,
39
+ "multi_query_group_num": 2,
40
+ "num_attention_heads": 32,
41
+ "num_layers": 28,
42
+ "original_rope": true,
43
+ "pad_token_id": 0,
44
+ "padded_vocab_size": 65024,
45
+ "post_layer_norm": true,
46
+ "pre_seq_len": null,
47
+ "prefix_projection": false,
48
+ "quantization_bit": 0,
49
+ "rmsnorm": true,
50
+ "seq_length": 8192,
51
+ "tie_word_embeddings": false,
52
+ "torch_dtype": "float16",
53
+ "transformers_version": "4.54.1",
54
+ "use_cache": true,
55
+ "vocab_size": 65024
56
+ }