File size: 1,881 Bytes
39f7e3a
 
 
a910db0
39f7e3a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a910db0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39f7e3a
a910db0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
  "encoder_model_path":  "/encoder/",
  "decoder_model_path":  "/decoder/",
  "sentencepiece_model_path":"cog-pretrain.model",
  "latent_size":256,
  "seed": 42, 
  "ratio_increase": 0.5, 
  "ratio_zero": 0.05, 
  "dim_target_kl": 1.0, 
  "length_weighted_loss": true, 
  "beta_start": 0.0001, 
  "beta_m": 0.1, 
  "lambda_adv": 0.0, 
  "fb_mode": 1, 
  "mlm_probability": 0.15, 
  "drop_prob": 0.0, 
  "sub_prob": 0.0, 
  "shuffle_dist": 0, 
  "zeta": 0.0, 
  "learning_rate": 5e-05, 
  "weight_decay": 0.1, 
  "adam_epsilon": 1e-08, 
  "max_grad_norm": 1.0, 
  "warmup": 0.01, 
  "temperature": 1.0, 
  "top_k": 0, 
  "repetition_penalty": 2.0, 
  "top_p": 0.9, 
  "std_scale": 1.5, 
  "max_out_length": 100, 
  "logger": true, 
  "checkpoint_callback": null,
  "enable_checkpointing": true, 
  "process_position": 0,
  "encoder":{
  "architectures": [
    "BertForMaskedLM"
  ],
  "attention_probs_dropout_prob": 0.1,
  "directionality": "bidi",
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "layer_norm_eps": 1e-12,
  "max_position_embeddings": 512,
  "model_type": "bert",
  "num_attention_heads": 12,
  "num_hidden_layers": 12,
  "pad_token_id": 0,
  "pooler_fc_size": 768,
  "pooler_num_attention_heads": 12,
  "pooler_num_fc_layers": 3,
  "pooler_size_per_head": 128,
  "pooler_type": "first_token_transform",
  "type_vocab_size": 2,
  "vocab_size": 21128
},
  "decoder":{
    "num_layers":32,
    "vocab_size":50048,
    "hidden_size":1600,
    "num_attention_heads":25,
    "embedding_dropout_prob":0.1,
    "attention_dropout_prob":0.1,
    "output_dropout_prob":0.1,
    "max_sequence_length":512,
    "max_memory_length":512,
    "latent_size":256,
    "checkpoint_activations":false,
    "checkpoint_num_layers":1,
    "parallel_output":true,
    "relative_encoding":true
}
}