Ivan Anisimov commited on
Commit
8780eb0
1 Parent(s): 9972984

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +114 -0
config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/bart-base",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_cross_attention": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "BartForConditionalGeneration"
10
+ ],
11
+ "attention_dropout": 0.1,
12
+ "bad_words_ids": null,
13
+ "bos_token_id": 0,
14
+ "chunk_size_feed_forward": 0,
15
+ "classif_dropout": 0.1,
16
+ "classifier_dropout": 0.0,
17
+ "clip_val": 2.5,
18
+ "cross_attention_hidden_size": null,
19
+ "d_model": 768,
20
+ "decoder_attention_heads": 12,
21
+ "decoder_ffn_dim": 3072,
22
+ "decoder_layerdrop": 0.0,
23
+ "decoder_layers": 1,
24
+ "decoder_start_token_id": 2,
25
+ "diversity_penalty": 0.0,
26
+ "do_sample": false,
27
+ "dropout": 0.1,
28
+ "early_stopping": true,
29
+ "encoder_attention_heads": 12,
30
+ "encoder_ffn_dim": 3072,
31
+ "encoder_layerdrop": 0.0,
32
+ "encoder_layers": 3,
33
+ "encoder_no_repeat_ngram_size": 0,
34
+ "eos_token_id": 2,
35
+ "finetuning_task": null,
36
+ "forced_bos_token_id": null,
37
+ "forced_eos_token_id": 2,
38
+ "gradient_checkpointing": false,
39
+ "id2label": {
40
+ "0": "LABEL_0",
41
+ "1": "LABEL_1",
42
+ "2": "LABEL_2"
43
+ },
44
+ "init_std": 0.02,
45
+ "input_bits": 8,
46
+ "is_decoder": false,
47
+ "is_encoder_decoder": true,
48
+ "label2id": {
49
+ "LABEL_0": 0,
50
+ "LABEL_1": 1,
51
+ "LABEL_2": 2
52
+ },
53
+ "length_penalty": 1.0,
54
+ "max_length": 20,
55
+ "max_position_embeddings": 1024,
56
+ "min_length": 0,
57
+ "model_type": "bart",
58
+ "no_repeat_ngram_size": 3,
59
+ "normalize_before": false,
60
+ "normalize_embedding": true,
61
+ "num_beam_groups": 1,
62
+ "num_beams": 4,
63
+ "num_hidden_layers": 6,
64
+ "num_return_sequences": 1,
65
+ "output_attentions": false,
66
+ "output_hidden_states": false,
67
+ "output_scores": false,
68
+ "pad_token_id": 1,
69
+ "prefix": null,
70
+ "problem_type": null,
71
+ "pruned_heads": {},
72
+ "quantize_act": true,
73
+ "remove_invalid_values": false,
74
+ "repetition_penalty": 1.0,
75
+ "return_dict": true,
76
+ "return_dict_in_generate": false,
77
+ "scale_embedding": false,
78
+ "sep_token_id": null,
79
+ "task_specific_params": {
80
+ "summarization": {
81
+ "length_penalty": 1.0,
82
+ "max_length": 128,
83
+ "min_length": 12,
84
+ "num_beams": 4
85
+ },
86
+ "summarization_cnn": {
87
+ "length_penalty": 2.0,
88
+ "max_length": 142,
89
+ "min_length": 56,
90
+ "num_beams": 4
91
+ },
92
+ "summarization_xsum": {
93
+ "length_penalty": 1.0,
94
+ "max_length": 62,
95
+ "min_length": 11,
96
+ "num_beams": 6
97
+ }
98
+ },
99
+ "temperature": 1.0,
100
+ "tie_encoder_decoder": false,
101
+ "tie_word_embeddings": true,
102
+ "tokenizer_class": null,
103
+ "top_k": 50,
104
+ "top_p": 1.0,
105
+ "torch_dtype": "float32",
106
+ "torchscript": false,
107
+ "transformers_version": "4.11.3",
108
+ "typical_p": 1.0,
109
+ "use_bfloat16": false,
110
+ "use_cache": true,
111
+ "vocab_size": 50266,
112
+ "vocab_size_or_config_json_file": -1,
113
+ "weight_bits": 16
114
+ }