rafaelm47labs
commited on
Commit
·
da62e94
1
Parent(s):
766dc81
Upload config.json
Browse files- config.json +37 -29
config.json
CHANGED
@@ -1,44 +1,51 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
7 |
"gradient_checkpointing": false,
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "finance",
|
17 |
-
"5": "
|
18 |
-
"6": "
|
19 |
-
"7": "
|
20 |
-
"8": "
|
21 |
-
"9": "
|
22 |
-
"10": "
|
23 |
-
"11": "
|
24 |
-
"12": "
|
|
|
|
|
|
|
25 |
},
|
26 |
"initializer_range": 0.02,
|
27 |
"intermediate_size": 3072,
|
28 |
"label2id": {
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"finance": 4,
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
|
|
|
|
|
|
42 |
},
|
43 |
"layer_norm_eps": 1e-12,
|
44 |
"max_position_embeddings": 512,
|
@@ -47,8 +54,9 @@
|
|
47 |
"num_hidden_layers": 12,
|
48 |
"pad_token_id": 0,
|
49 |
"position_embedding_type": "absolute",
|
50 |
-
"
|
|
|
51 |
"type_vocab_size": 2,
|
52 |
"use_cache": true,
|
53 |
-
"vocab_size":
|
54 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
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": "arts, culture, entertainment and media",
|
14 |
+
"1": "conflict, war and peace",
|
15 |
+
"2": "crime, law and justice",
|
16 |
+
"3": "disaster, accident and emergency incident",
|
17 |
+
"4": "economy, business and finance",
|
18 |
+
"5": "education",
|
19 |
+
"6": "enviroment",
|
20 |
+
"7": "health",
|
21 |
+
"8": "labour",
|
22 |
+
"9": "lifestyle and leisure",
|
23 |
+
"10": "politics",
|
24 |
+
"11": "religion and belief",
|
25 |
+
"12": "science and technology",
|
26 |
+
"13": "society",
|
27 |
+
"14": "sport",
|
28 |
+
"15": "weather"
|
29 |
},
|
30 |
"initializer_range": 0.02,
|
31 |
"intermediate_size": 3072,
|
32 |
"label2id": {
|
33 |
+
"arts, culture, entertainment and media": 0,
|
34 |
+
"conflict, war and peace": 1,
|
35 |
+
"crime, law and justice": 2,
|
36 |
+
"disaster, accident and emergency incident": 3,
|
37 |
+
"economy, business and finance": 4,
|
38 |
+
"education": 5,
|
39 |
+
"enviroment": 6,
|
40 |
+
"health": 7,
|
41 |
+
"labour": 8,
|
42 |
+
"lifestyle and leisure": 9,
|
43 |
+
"politics": 10,
|
44 |
+
"religion and belief": 11,
|
45 |
+
"science and technology": 12,
|
46 |
+
"society": 13,
|
47 |
+
"sport": 14,
|
48 |
+
"weather": 15
|
49 |
},
|
50 |
"layer_norm_eps": 1e-12,
|
51 |
"max_position_embeddings": 512,
|
|
|
54 |
"num_hidden_layers": 12,
|
55 |
"pad_token_id": 0,
|
56 |
"position_embedding_type": "absolute",
|
57 |
+
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.10.0",
|
59 |
"type_vocab_size": 2,
|
60 |
"use_cache": true,
|
61 |
+
"vocab_size": 30522
|
62 |
}
|