Ammar-alhaj-ali
commited on
Commit
•
388dd33
1
Parent(s):
0b867ba
Upload config.json
Browse files- config.json +51 -0
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "UBC-NLP/MARBERT",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "Culture",
|
15 |
+
"1": "Finance",
|
16 |
+
"2": "Medical",
|
17 |
+
"3": "Politics",
|
18 |
+
"4": "Religion",
|
19 |
+
"5": "Sports",
|
20 |
+
"6": "Tech"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
+
"label2id": {
|
25 |
+
"Culture": 0,
|
26 |
+
"Finance": 1,
|
27 |
+
"Medical": 2,
|
28 |
+
"Politics": 3,
|
29 |
+
"Religion": 4,
|
30 |
+
"Sports": 5,
|
31 |
+
"Tech": 6
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-12,
|
34 |
+
"max_position_embeddings": 512,
|
35 |
+
"model_type": "bert",
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_hidden_layers": 12,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"pooler_fc_size": 768,
|
40 |
+
"pooler_num_attention_heads": 12,
|
41 |
+
"pooler_num_fc_layers": 3,
|
42 |
+
"pooler_size_per_head": 128,
|
43 |
+
"pooler_type": "first_token_transform",
|
44 |
+
"position_embedding_type": "absolute",
|
45 |
+
"problem_type": "single_label_classification",
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.20.1",
|
48 |
+
"type_vocab_size": 2,
|
49 |
+
"use_cache": true,
|
50 |
+
"vocab_size": 100000
|
51 |
+
}
|