luohy commited on
Commit
97af1b3
1 Parent(s): 29e9862

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +77 -0
config.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "model_file/ques_gen_new.pt",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 1024,
15
+ "decoder_attention_heads": 16,
16
+ "decoder_ffn_dim": 4096,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 12,
19
+ "decoder_start_token_id": 2,
20
+ "do_blenderbot_90_layernorm": false,
21
+ "dropout": 0.1,
22
+ "early_stopping": true,
23
+ "encoder_attention_heads": 16,
24
+ "encoder_ffn_dim": 4096,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 12,
27
+ "eos_token_id": 2,
28
+ "extra_pos_embeddings": 2,
29
+ "force_bos_token_to_be_generated": false,
30
+ "forced_eos_token_id": 2,
31
+ "gradient_checkpointing": false,
32
+ "id2label": {
33
+ "0": "LABEL_0",
34
+ "1": "LABEL_1",
35
+ "2": "LABEL_2"
36
+ },
37
+ "init_std": 0.02,
38
+ "is_encoder_decoder": true,
39
+ "label2id": {
40
+ "LABEL_0": 0,
41
+ "LABEL_1": 1,
42
+ "LABEL_2": 2
43
+ },
44
+ "max_position_embeddings": 1024,
45
+ "model_type": "bart",
46
+ "no_repeat_ngram_size": 3,
47
+ "normalize_before": false,
48
+ "normalize_embedding": true,
49
+ "num_beams": 4,
50
+ "num_hidden_layers": 12,
51
+ "pad_token_id": 1,
52
+ "scale_embedding": false,
53
+ "static_position_embeddings": false,
54
+ "task_specific_params": {
55
+ "summarization": {
56
+ "length_penalty": 1.0,
57
+ "max_length": 128,
58
+ "min_length": 12,
59
+ "num_beams": 4
60
+ },
61
+ "summarization_cnn": {
62
+ "length_penalty": 2.0,
63
+ "max_length": 142,
64
+ "min_length": 56,
65
+ "num_beams": 4
66
+ },
67
+ "summarization_xsum": {
68
+ "length_penalty": 1.0,
69
+ "max_length": 62,
70
+ "min_length": 11,
71
+ "num_beams": 6
72
+ }
73
+ },
74
+ "transformers_version": "4.4.2",
75
+ "use_cache": true,
76
+ "vocab_size": 50265
77
+ }