wirthual commited on
Commit
ef55738
1 Parent(s): 2428e0d

Add number of labels to be properly detected as reranker by infinity

Browse files
Files changed (1) hide show
  1. config.json +2 -1
config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
  "_name_or_path": "jinaai/jina-bert-implementation",
3
- "architectures": ["JinaBertModel"],
 
4
  "attention_probs_dropout_prob": 0.1,
5
  "attn_implementation": "torch",
6
  "auto_map": {
 
1
  {
2
  "_name_or_path": "jinaai/jina-bert-implementation",
3
+ "architectures": ["JinaBertForSequenceClassification"],
4
+ "num_labels": 1,
5
  "attention_probs_dropout_prob": 0.1,
6
  "attn_implementation": "torch",
7
  "auto_map": {