carlesoctav
commited on
Commit
•
1c06708
1
Parent(s):
858497a
Upload BertForEmbedding
Browse files- config.json +39 -1
config.json
CHANGED
@@ -1,12 +1,50 @@
|
|
1 |
{
|
|
|
|
|
2 |
"architectures": [
|
3 |
"BertForEmbedding"
|
4 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"ir_d_prefix": "",
|
6 |
"ir_embed_pooling_strategy": "cls",
|
7 |
"ir_max_d_length": 128,
|
8 |
"ir_max_q_length": 128,
|
9 |
"ir_q_prefix": "babidong:",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"torch_dtype": "float32",
|
11 |
-
"transformers_version": "4.41.0"
|
|
|
|
|
|
|
12 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "indobenchmark/indobert-base-p1",
|
3 |
+
"_num_labels": 5,
|
4 |
"architectures": [
|
5 |
"BertForEmbedding"
|
6 |
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"directionality": "bidi",
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2",
|
17 |
+
"3": "LABEL_3",
|
18 |
+
"4": "LABEL_4"
|
19 |
+
},
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
"ir_d_prefix": "",
|
23 |
"ir_embed_pooling_strategy": "cls",
|
24 |
"ir_max_d_length": 128,
|
25 |
"ir_max_q_length": 128,
|
26 |
"ir_q_prefix": "babidong:",
|
27 |
+
"label2id": {
|
28 |
+
"LABEL_0": 0,
|
29 |
+
"LABEL_1": 1,
|
30 |
+
"LABEL_2": 2,
|
31 |
+
"LABEL_3": 3,
|
32 |
+
"LABEL_4": 4
|
33 |
+
},
|
34 |
+
"layer_norm_eps": 1e-12,
|
35 |
+
"max_position_embeddings": 512,
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_hidden_layers": 12,
|
38 |
+
"output_past": true,
|
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 |
"torch_dtype": "float32",
|
46 |
+
"transformers_version": "4.41.0",
|
47 |
+
"type_vocab_size": 2,
|
48 |
+
"use_cache": true,
|
49 |
+
"vocab_size": 50000
|
50 |
}
|