Add model_max_length (32768) to YAML and Model Details section

#5
by dilawarm - opened
Files changed (1) hide show
  1. README.md +19 -12
README.md CHANGED
@@ -12,6 +12,7 @@ tags:
12
  - stem
13
  - medical
14
  library_name: sentence-transformers
 
15
  ---
16
 
17
  <img src="https://i.imgur.com/oxvhvQu.png"/>
@@ -24,6 +25,15 @@ This 1.7B reranker is the smaller version of our flagship model [zeroentropy/zer
24
 
25
  We release this model under the open-source Apache 2.0 license, in order to support the open-source community and push the frontier of what's possible with open-source models.
26
 
 
 
 
 
 
 
 
 
 
27
  ## How to Use
28
 
29
  ```python
@@ -37,7 +47,6 @@ query_documents = [
37
  ]
38
 
39
  scores = model.predict(query_documents)
40
-
41
  print(scores)
42
  ```
43
 
@@ -47,15 +56,13 @@ The model can also be inferenced using ZeroEntropy's [/models/rerank](https://do
47
 
48
  NDCG@10 scores between `zerank-1-small` and competing closed-source proprietary rerankers. Since we are evaluating rerankers, OpenAI's `text-embedding-3-small` is used as an initial retriever for the Top 100 candidate documents.
49
 
50
- | Task | Embedding | cohere-rerank-v3.5 | Salesforce/Llama-rank-v1 | **zerank-1-small** | zerank-1 |
51
  |----------------|-----------|--------------------|--------------------------|----------------|----------|
52
- | Code | 0.678 | 0.724 | 0.694 | **0.730** | 0.754 |
53
- | Conversational | 0.250 | 0.571 | 0.484 | **0.556** | 0.596 |
54
- | Finance | 0.839 | 0.824 | 0.828 | **0.861** | 0.894 |
55
- | Legal | 0.703 | 0.804 | 0.767 | **0.817** | 0.821 |
56
- | Medical | 0.619 | 0.750 | 0.719 | **0.773** | 0.796 |
57
- | STEM | 0.401 | 0.510 | 0.595 | **0.680** | 0.694 |
58
-
59
- Comparing BM25 and Hybrid Search without and with `zerank-1-small`:
60
-
61
- <img src="https://cdn-uploads.huggingface.co/production/uploads/67776f9dcd9c9435499eafc8/2GPVHFrI39FspnSNklhsM.png" alt="Description" width="400"/> <img src="https://cdn-uploads.huggingface.co/production/uploads/67776f9dcd9c9435499eafc8/dwYo2D7hoL8QiE8u3yqr9.png" alt="Description" width="400"/>
 
12
  - stem
13
  - medical
14
  library_name: sentence-transformers
15
+ model_max_length: 32768
16
  ---
17
 
18
  <img src="https://i.imgur.com/oxvhvQu.png"/>
 
25
 
26
  We release this model under the open-source Apache 2.0 license, in order to support the open-source community and push the frontier of what's possible with open-source models.
27
 
28
+ ## Model Details
29
+
30
+ | Property | Value |
31
+ |---|---|
32
+ | Parameters | 1.7B |
33
+ | Context Length | 32,768 tokens (32k) |
34
+ | Base Model | Qwen/Qwen3-4B |
35
+ | License | Apache-2.0 |
36
+
37
  ## How to Use
38
 
39
  ```python
 
47
  ]
48
 
49
  scores = model.predict(query_documents)
 
50
  print(scores)
51
  ```
52
 
 
56
 
57
  NDCG@10 scores between `zerank-1-small` and competing closed-source proprietary rerankers. Since we are evaluating rerankers, OpenAI's `text-embedding-3-small` is used as an initial retriever for the Top 100 candidate documents.
58
 
59
+ | Task | Embedding | cohere-rerank-v3.5 | Salesforce/Llama-rank-v1 | **zerank-1-small** | zerank-1 |
60
  |----------------|-----------|--------------------|--------------------------|----------------|----------|
61
+ | Code | 0.678 | 0.724 | 0.694 | **0.730** | 0.754 |
62
+ | Conversational | 0.250 | 0.571 | 0.484 | **0.556** | 0.596 |
63
+ | Finance | 0.839 | 0.824 | 0.828 | **0.861** | 0.894 |
64
+ | Legal | 0.703 | 0.804 | 0.767 | **0.817** | 0.821 |
65
+ | Medical | 0.619 | 0.750 | 0.719 | **0.773** | 0.796 |
66
+ | STEM | 0.401 | 0.510 | 0.595 | **0.680** | 0.694 |
67
+
68
+ Comparing BM25 and Hybrid Search without and with `zerank-1-small`: Description Description