fuliucansheng commited on
Commit
c8978c9
1 Parent(s): 22c4c24

add deepgen v3 config.json

Browse files
unilm/mainstream/deepgen_v3_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceToSequenceWithPseudoMask"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": null,
7
+ "do_sample": false,
8
+ "eos_token_ids": null,
9
+ "finetuning_task": null,
10
+ "fix_word_embedding": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "LABEL_0",
16
+ "1": "LABEL_1"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "is_decoder": false,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1
24
+ },
25
+ "label_smoothing": 0.1,
26
+ "layer_norm_eps": 1e-12,
27
+ "length_penalty": 1.0,
28
+ "max_length": 20,
29
+ "max_position_embeddings": 512,
30
+ "max_rel_pos": 128,
31
+ "model_type": "bert",
32
+ "num_attention_heads": 12,
33
+ "num_beams": 1,
34
+ "num_hidden_layers": 12,
35
+ "num_labels": 2,
36
+ "num_return_sequences": 1,
37
+ "output_attentions": false,
38
+ "output_hidden_states": false,
39
+ "output_past": true,
40
+ "pad_token_id": null,
41
+ "pruned_heads": {},
42
+ "rel_pos_bins": 32,
43
+ "repetition_penalty": 1.0,
44
+ "source_type_id": 0,
45
+ "target_type_id": 1,
46
+ "temperature": 1.0,
47
+ "top_k": 50,
48
+ "top_p": 1.0,
49
+ "torchscript": false,
50
+ "type_vocab_size": 2,
51
+ "use_bfloat16": false,
52
+ "vocab_size": 30522,
53
+ "vocab_size_or_config_json_file": 30522
54
+ }
55
+