system HF staff commited on
Commit
62441c2
1 Parent(s): 9a620cf

Update config.json

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