napoler commited on
Commit
6074ebf
1 Parent(s): 4c9302b

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +48 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "napoler/bart-chinese-4-768",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "architectures": [
6
+ "BartForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bos_token_id": 0,
10
+ "classifier_dropout": 0.0,
11
+ "d_model": 768,
12
+ "decoder_attention_heads": 12,
13
+ "decoder_ffn_dim": 3072,
14
+ "decoder_layerdrop": 0.1,
15
+ "decoder_layers": 4,
16
+ "decoder_start_token_id": 101,
17
+ "dropout": 0.1,
18
+ "early_stopping": true,
19
+ "encoder_attention_heads": 12,
20
+ "encoder_ffn_dim": 3072,
21
+ "encoder_layerdrop": 0.1,
22
+ "encoder_layers": 4,
23
+ "eos_token_id": 0,
24
+ "forced_eos_token_id": 0,
25
+ "gradient_checkpointing": false,
26
+ "id2label": {
27
+ "0": "LABEL_0",
28
+ "1": "LABEL_1",
29
+ "2": "LABEL_2"
30
+ },
31
+ "init_std": 0.02,
32
+ "is_encoder_decoder": true,
33
+ "label2id": {
34
+ "LABEL_0": 0,
35
+ "LABEL_1": 1,
36
+ "LABEL_2": 2
37
+ },
38
+ "max_position_embeddings": 1024,
39
+ "model_type": "bart",
40
+ "num_hidden_layers": 4,
41
+ "pad_token_id": 0,
42
+ "scale_embedding": false,
43
+ "tie_word_embeddings": 0,
44
+ "tokenizer_class": "BertTokenizer",
45
+ "transformers_version": "4.5.1",
46
+ "use_cache": true,
47
+ "vocab_size": 21128
48
+ }