Muthukumaran
commited on
Commit
•
522a6a3
1
Parent(s):
923c273
add pooling config
Browse files- config.json +5 -24
config.json
CHANGED
@@ -1,26 +1,7 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"classifier_dropout": null,
|
8 |
-
"eos_token_id": 2,
|
9 |
-
"hidden_act": "gelu",
|
10 |
-
"hidden_dropout_prob": 0.1,
|
11 |
-
"hidden_size": 576,
|
12 |
-
"initializer_range": 0.02,
|
13 |
-
"intermediate_size": 768,
|
14 |
-
"layer_norm_eps": 1e-12,
|
15 |
-
"max_position_embeddings": 514,
|
16 |
-
"model_type": "roberta",
|
17 |
-
"num_attention_heads": 12,
|
18 |
-
"num_hidden_layers": 4,
|
19 |
-
"pad_token_id": 1,
|
20 |
-
"position_embedding_type": "absolute",
|
21 |
-
"torch_dtype": "float16",
|
22 |
-
"transformers_version": "4.28.1",
|
23 |
-
"type_vocab_size": 2,
|
24 |
-
"use_cache": true,
|
25 |
-
"vocab_size": 50265
|
26 |
}
|
|
|
1 |
{
|
2 |
+
"word_embedding_dimension": 576,
|
3 |
+
"pooling_mode_cls_token": true,
|
4 |
+
"pooling_mode_mean_tokens": false,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|