DanielCano commited on
Commit
722c58a
1 Parent(s): 3b8a6cf

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +51 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "M47Labs/spanish_news_classification_headlines",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "ciencia_tecnologia",
14
+ "1": "clickbait",
15
+ "2": "cultura",
16
+ "3": "deportes",
17
+ "4": "economia",
18
+ "5": "educacion",
19
+ "6": "medio_ambiente",
20
+ "7": "opinion",
21
+ "8": "politica",
22
+ "9": "sociedad"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "ciencia_tecnologia": 0,
28
+ "clickbait": 1,
29
+ "cultura": 2,
30
+ "deportes": 3,
31
+ "economia": 4,
32
+ "educacion": 5,
33
+ "medio_ambiente": 6,
34
+ "opinion": 7,
35
+ "politica": 8,
36
+ "sociedad": 9
37
+ },
38
+ "layer_norm_eps": 1e-12,
39
+ "max_position_embeddings": 512,
40
+ "model_type": "bert",
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "output_past": true,
44
+ "pad_token_id": 1,
45
+ "position_embedding_type": "absolute",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.19.2",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 31002
51
+ }