sentence_bert_config.json -> 4096 performance option
#47
by
michaelfeil
- opened
- config.json +1 -1
- modules.json +0 -6
- sentence_bert_config.json +1 -1
config.json
CHANGED
@@ -28,6 +28,6 @@
|
|
28 |
"transformers_version": "4.41.2",
|
29 |
"use_cache": true,
|
30 |
"use_sliding_window": false,
|
31 |
-
"is_causal": false
|
32 |
"vocab_size": 151646
|
33 |
}
|
|
|
28 |
"transformers_version": "4.41.2",
|
29 |
"use_cache": true,
|
30 |
"use_sliding_window": false,
|
31 |
+
"is_causal": false,
|
32 |
"vocab_size": 151646
|
33 |
}
|
modules.json
CHANGED
@@ -10,11 +10,5 @@
|
|
10 |
"name": "1",
|
11 |
"path": "1_Pooling",
|
12 |
"type": "sentence_transformers.models.Pooling"
|
13 |
-
},
|
14 |
-
{
|
15 |
-
"idx": 2,
|
16 |
-
"name": "2",
|
17 |
-
"path": "2_Normalize",
|
18 |
-
"type": "sentence_transformers.models.Normalize"
|
19 |
}
|
20 |
]
|
|
|
10 |
"name": "1",
|
11 |
"path": "1_Pooling",
|
12 |
"type": "sentence_transformers.models.Pooling"
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
]
|
sentence_bert_config.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
-
"max_seq_length":
|
3 |
"do_lower_case": false
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"max_seq_length": 4096,
|
3 |
"do_lower_case": false
|
4 |
}
|