YijunYang280 commited on
Commit
0c04e7d
1 Parent(s): c5cc571

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +30 -0
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/bian_data/google_bert_for_seq_generation/bert_for_seq_generation_L-24_bbc_encoder",
3
+ "add_cross_attention": true,
4
+ "architectures": [
5
+ "BertGenerationDecoder"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 2,
9
+ "directionality": "bidi",
10
+ "eos_token_id": 1,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 1024,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 4096,
17
+ "is_decoder": true,
18
+ "layer_norm_eps": 1e-12,
19
+ "max_position_embeddings": 512,
20
+ "model_type": "bert-generation",
21
+ "num_attention_heads": 16,
22
+ "num_hidden_layers": 24,
23
+ "pad_token_id": 0,
24
+ "position_embedding_type": "absolute",
25
+ "return_scores": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.25.1",
28
+ "use_cache": true,
29
+ "vocab_size": 50358
30
+ }