system HF staff commited on
Commit
57a3f81
1 Parent(s): 7b6335e

Update config.json

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