shibing624
commited on
Commit
•
f481cc2
1
Parent(s):
3d267c3
Upload config.json
Browse files- config.json +6 -39
config.json
CHANGED
@@ -1,40 +1,7 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
|
5 |
-
|
6 |
-
"
|
7 |
-
|
8 |
-
"classifier_dropout": null,
|
9 |
-
"directionality": "bidi",
|
10 |
-
"eos_token_id": 2,
|
11 |
-
"hidden_act": "gelu",
|
12 |
-
"hidden_dropout_prob": 0.1,
|
13 |
-
"hidden_size": 1024,
|
14 |
-
"id2label": {
|
15 |
-
"0": "LABEL_0"
|
16 |
-
},
|
17 |
-
"initializer_range": 0.02,
|
18 |
-
"intermediate_size": 4096,
|
19 |
-
"label2id": {
|
20 |
-
"LABEL_0": 0
|
21 |
-
},
|
22 |
-
"layer_norm_eps": 1e-12,
|
23 |
-
"max_position_embeddings": 512,
|
24 |
-
"model_type": "bert",
|
25 |
-
"num_attention_heads": 16,
|
26 |
-
"num_hidden_layers": 24,
|
27 |
-
"output_past": true,
|
28 |
-
"pad_token_id": 0,
|
29 |
-
"pooler_fc_size": 768,
|
30 |
-
"pooler_num_attention_heads": 12,
|
31 |
-
"pooler_num_fc_layers": 3,
|
32 |
-
"pooler_size_per_head": 128,
|
33 |
-
"pooler_type": "first_token_transform",
|
34 |
-
"position_embedding_type": "absolute",
|
35 |
-
"torch_dtype": "float32",
|
36 |
-
"transformers_version": "4.31.0",
|
37 |
-
"type_vocab_size": 2,
|
38 |
-
"use_cache": true,
|
39 |
-
"vocab_size": 21128
|
40 |
-
}
|
|
|
1 |
{
|
2 |
+
"word_embedding_dimension": 1024,
|
3 |
+
"pooling_mode_cls_token": false,
|
4 |
+
"pooling_mode_mean_tokens": true,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false
|
7 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|