vedevpatel commited on
Commit
5738628
·
verified ·
1 Parent(s): 7b63952

Use the official name CodeIntel-150M throughout the model card

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -40,7 +40,7 @@ model-index:
40
  # CodeIntel-150M
41
 
42
  > **About 55% better than any other open ~150M embedding model at finding the code a bug report is about.**
43
- > On 3,804 held-out GitHub issues that name no code, CodeIntel scores nDCG@10 **0.268 / 0.274** (Python /
44
  > TypeScript) against **0.173 / 0.178** for the next-best of seven open models its size. It also leads on issues
45
  > that do name code (+27%) and on test -> implementation search (+23%).
46
 
@@ -71,8 +71,8 @@ definitions in the repository at the issue's commit. "Descriptive" issues name n
71
 
72
  | model | descriptive, Python | descriptive, TypeScript | lexical |
73
  |---|---|---|---|
74
- | **this model**, dense | **0.242** | **0.260** | **0.482** |
75
- | **this model**, + BM25 (RRF, dense weight 2) | **0.268** | **0.274** | **0.516** |
76
  | granite-embedding-english-r2, dense | 0.166 | 0.161 | 0.346 |
77
  | bge-base-en-v1.5, dense | 0.163 | 0.166 | 0.356 |
78
  | gte-modernbert-base, dense | 0.125 | 0.112 | 0.308 |
@@ -86,7 +86,7 @@ gain over it is +0.095 in both languages, with repository-clustered 95% interval
86
  granite-embedding-english-r2, bge-base-en-v1.5, modernbert-embed-base, gte-modernbert-base, CodeRankEmbed,
87
  jina-embeddings-v2-base-code and codesage-small-v2.
88
 
89
- | benchmark | this model | best other open ~150M |
90
  |---|---|---|
91
  | test -> implementation (Python) | **0.640** | 0.522 (CodeRankEmbed) |
92
  | call site -> definition, Python / TypeScript | 0.219 / **0.278** | 0.244 (bge-base) / 0.264 (granite-r2) |
@@ -97,10 +97,10 @@ jina-embeddings-v2-base-code and codesage-small-v2.
97
  | CoIR CodeSearchNet-CCR, Python / JavaScript | 0.703 / 0.688 | 0.940 / 0.943 (gte-modernbert) |
98
  | CoIR APPS | 0.174 | 0.575 (gte-modernbert) |
99
 
100
- **Choose this model** for repository-scale retrieval driven by issues, bug reports or tests, for example as the
101
  retriever in a coding agent. **Choose a general code-search model instead** (gte-modernbert-base, CodeRankEmbed,
102
  jina-embeddings-v2-base-code) for docstring-style or web-query code search and code completion-style retrieval (CCR),
103
- where this model trails.
104
 
105
  ## Usage
106
 
@@ -177,7 +177,7 @@ docstrings-TypeScript -0.002 [-0.010, +0.006]. It is about 1.7x faster on CPU.
177
 
178
  ## Limitations
179
 
180
- - Issue localization remains hard. Even this model puts an edited function in the top 10 for well under half of
181
  descriptive issues.
182
  - Fixes that only add new code cannot be retrieved, because the target does not exist yet. The benchmark reports this
183
  as a recall ceiling.
 
40
  # CodeIntel-150M
41
 
42
  > **About 55% better than any other open ~150M embedding model at finding the code a bug report is about.**
43
+ > On 3,804 held-out GitHub issues that name no code, CodeIntel-150M scores nDCG@10 **0.268 / 0.274** (Python /
44
  > TypeScript) against **0.173 / 0.178** for the next-best of seven open models its size. It also leads on issues
45
  > that do name code (+27%) and on test -> implementation search (+23%).
46
 
 
71
 
72
  | model | descriptive, Python | descriptive, TypeScript | lexical |
73
  |---|---|---|---|
74
+ | **CodeIntel-150M**, dense | **0.242** | **0.260** | **0.482** |
75
+ | **CodeIntel-150M**, + BM25 (RRF, dense weight 2) | **0.268** | **0.274** | **0.516** |
76
  | granite-embedding-english-r2, dense | 0.166 | 0.161 | 0.346 |
77
  | bge-base-en-v1.5, dense | 0.163 | 0.166 | 0.356 |
78
  | gte-modernbert-base, dense | 0.125 | 0.112 | 0.308 |
 
86
  granite-embedding-english-r2, bge-base-en-v1.5, modernbert-embed-base, gte-modernbert-base, CodeRankEmbed,
87
  jina-embeddings-v2-base-code and codesage-small-v2.
88
 
89
+ | benchmark | CodeIntel-150M | best other open ~150M |
90
  |---|---|---|
91
  | test -> implementation (Python) | **0.640** | 0.522 (CodeRankEmbed) |
92
  | call site -> definition, Python / TypeScript | 0.219 / **0.278** | 0.244 (bge-base) / 0.264 (granite-r2) |
 
97
  | CoIR CodeSearchNet-CCR, Python / JavaScript | 0.703 / 0.688 | 0.940 / 0.943 (gte-modernbert) |
98
  | CoIR APPS | 0.174 | 0.575 (gte-modernbert) |
99
 
100
+ **Choose CodeIntel-150M** for repository-scale retrieval driven by issues, bug reports or tests, for example as the
101
  retriever in a coding agent. **Choose a general code-search model instead** (gte-modernbert-base, CodeRankEmbed,
102
  jina-embeddings-v2-base-code) for docstring-style or web-query code search and code completion-style retrieval (CCR),
103
+ where CodeIntel-150M trails.
104
 
105
  ## Usage
106
 
 
177
 
178
  ## Limitations
179
 
180
+ - Issue localization remains hard. Even CodeIntel-150M puts an edited function in the top 10 for well under half of
181
  descriptive issues.
182
  - Fixes that only add new code cannot be retrieved, because the target does not exist yet. The benchmark reports this
183
  as a recall ceiling.