rerank auto-detection TEI/infinity
#10
by
michaelfeil
- opened
- config.json +9 -6
config.json
CHANGED
@@ -1,15 +1,18 @@
|
|
1 |
{
|
2 |
"_name_or_path": "jinaai/jina-bert-implementation",
|
3 |
-
"architectures": ["
|
4 |
"attention_probs_dropout_prob": 0.1,
|
5 |
"attn_implementation": "torch",
|
6 |
"auto_map": {
|
7 |
"AutoConfig": "configuration_bert.JinaBertConfig",
|
8 |
-
|
9 |
-
"
|
10 |
-
|
11 |
-
|
12 |
-
"
|
|
|
|
|
|
|
13 |
},
|
14 |
"classifier_dropout": null,
|
15 |
"emb_pooler": "mean",
|
|
|
1 |
{
|
2 |
"_name_or_path": "jinaai/jina-bert-implementation",
|
3 |
+
"architectures": ["JinaBertForSequenceClassification"],
|
4 |
"attention_probs_dropout_prob": 0.1,
|
5 |
"attn_implementation": "torch",
|
6 |
"auto_map": {
|
7 |
"AutoConfig": "configuration_bert.JinaBertConfig",
|
8 |
+
"AutoModel": "modeling_bert.JinaBertModel",
|
9 |
+
"AutoModelForSequenceClassification": "modeling_bert.JinaBertForSequenceClassification"
|
10 |
+
},
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_RERANK_0"
|
13 |
+
},
|
14 |
+
"label2id": {
|
15 |
+
"LABEL_RERANK_0": 0
|
16 |
},
|
17 |
"classifier_dropout": null,
|
18 |
"emb_pooler": "mean",
|