AnnyNguyen commited on
Commit
6c0c32c
·
verified ·
1 Parent(s): c79273b

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +45 -0
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "gelu",
4
+ "architectures": [
5
+ "MBartForSequenceClassification"
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
+ "encoder_attention_heads": 16,
18
+ "encoder_ffn_dim": 4096,
19
+ "encoder_layerdrop": 0.0,
20
+ "encoder_layers": 12,
21
+ "eos_token_id": 2,
22
+ "forced_eos_token_id": 2,
23
+ "gradient_checkpointing": false,
24
+ "id2label": {
25
+ "0": "non-spam",
26
+ "1": "spam"
27
+ },
28
+ "init_std": 0.02,
29
+ "is_encoder_decoder": true,
30
+ "label2id": {
31
+ "non-spam": 0,
32
+ "spam": 1
33
+ },
34
+ "max_position_embeddings": 1024,
35
+ "model_type": "mbart",
36
+ "num_hidden_layers": 12,
37
+ "pad_token_id": 1,
38
+ "problem_type": "single_label_classification",
39
+ "scale_embedding": false,
40
+ "tokenizer_class": "BartphoTokenizer",
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.52.4",
43
+ "use_cache": true,
44
+ "vocab_size": 40030
45
+ }