system HF staff commited on
Commit
a5fe97a
1 Parent(s): c633d68

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +54 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.1,
3
+ "activation_function": "gelu",
4
+ "architectures": [
5
+ "ProphetNetForConditionalGeneration"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "bos_token_id": 102,
9
+ "decoder_ffn_dim": 4096,
10
+ "decoder_layerdrop": 0.0,
11
+ "decoder_max_position_embeddings": 514,
12
+ "decoder_start_token_id": 102,
13
+ "disable_ngram_loss": false,
14
+ "dropout": 0.1,
15
+ "encoder_ffn_dim": 4096,
16
+ "encoder_layerdrop": 0.0,
17
+ "encoder_max_position_embeddings": 513,
18
+ "eos_token_id": 102,
19
+ "eps": 0.0,
20
+ "hidden_size": 1024,
21
+ "id2label": {
22
+ "0": "LABEL_0",
23
+ "1": "LABEL_1",
24
+ "2": "LABEL_2"
25
+ },
26
+ "init_std": 0.02,
27
+ "is_encoder_decoder": true,
28
+ "label2id": {
29
+ "LABEL_0": 0,
30
+ "LABEL_1": 1,
31
+ "LABEL_2": 2
32
+ },
33
+ "max_position_embeddings": 512,
34
+ "model_type": "prophetnet",
35
+ "ngram": 2,
36
+ "num_buckets": 32,
37
+ "num_decoder_attention_heads": 16,
38
+ "num_decoder_layers": 12,
39
+ "num_encoder_attention_heads": 16,
40
+ "num_encoder_layers": 12,
41
+ "output_past": false,
42
+ "pad_token_id": 0,
43
+ "prefix": " ",
44
+ "relative_max_distance": 128,
45
+ "task_specific_params": {
46
+ "summarization": {
47
+ "early_stopping": true,
48
+ "length_penalty": 1.5,
49
+ "no_repeat_ngram_size": 3,
50
+ "num_beams": 5
51
+ }
52
+ },
53
+ "vocab_size": 30522
54
+ }