AnnyNguyen commited on
Commit
16f2e04
·
verified ·
1 Parent(s): 5e53d10

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +48 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "gelu",
4
+ "architectures": [
5
+ "MBartModel"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": 0.0,
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": 2,
16
+ "dropout": 0.1,
17
+ "dtype": "float32",
18
+ "encoder_attention_heads": 16,
19
+ "encoder_ffn_dim": 4096,
20
+ "encoder_layerdrop": 0.0,
21
+ "encoder_layers": 12,
22
+ "eos_token_id": 2,
23
+ "forced_eos_token_id": 2,
24
+ "gradient_checkpointing": false,
25
+ "id2label": {
26
+ "0": "NO-SPAM",
27
+ "1": "SPAM-1",
28
+ "2": "SPAM-2",
29
+ "3": "SPAM-3"
30
+ },
31
+ "init_std": 0.02,
32
+ "is_encoder_decoder": true,
33
+ "label2id": {
34
+ "NO-SPAM": 0,
35
+ "SPAM-1": 1,
36
+ "SPAM-2": 2,
37
+ "SPAM-3": 3
38
+ },
39
+ "max_position_embeddings": 1024,
40
+ "model_type": "mbart",
41
+ "num_hidden_layers": 12,
42
+ "pad_token_id": 1,
43
+ "scale_embedding": false,
44
+ "tokenizer_class": "BartphoTokenizer",
45
+ "transformers_version": "4.57.1",
46
+ "use_cache": true,
47
+ "vocab_size": 40030
48
+ }