Add support for infinity reranking model.

#9
by wirthual - opened
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": {