Sentence Similarity
sentence-transformers
ONNX
Safetensors
English
code
modernbert
feature-extraction
code-search
code-retrieval
bug-localization
Eval Results (legacy)
text-embeddings-inference
Instructions to use vedevpatel/CodeIntel-150M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use vedevpatel/CodeIntel-150M with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("vedevpatel/CodeIntel-150M") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Frame the secondary results as percentage gains
Browse files
README.md
CHANGED
|
@@ -42,8 +42,8 @@ model-index:
|
|
| 42 |
CodeIntel-150M is a 149M-parameter embedding model for **issue-to-code localization**: given a bug report or feature
|
| 43 |
request, it retrieves the functions and classes in a Python or TypeScript repository that a fix is likely to
|
| 44 |
modify. On issues that describe only symptoms, with no reference to the relevant code, it outperforms every other
|
| 45 |
-
open embedding model of comparable size by **roughly 55%**. It also
|
| 46 |
-
|
| 47 |
|
| 48 |
Beyond localization, it supports call-site-to-definition navigation and code search, where it leads its size class on CoIR StackOverflow QA
|
| 49 |
and CodeSearchNet Python. It is a fine-tune of
|
|
|
|
| 42 |
CodeIntel-150M is a 149M-parameter embedding model for **issue-to-code localization**: given a bug report or feature
|
| 43 |
request, it retrieves the functions and classes in a Python or TypeScript repository that a fix is likely to
|
| 44 |
modify. On issues that describe only symptoms, with no reference to the relevant code, it outperforms every other
|
| 45 |
+
open embedding model of comparable size by **roughly 55%**. It is also **27% better** on issues that reference code directly
|
| 46 |
+
and **23% better** at test-to-implementation retrieval.
|
| 47 |
|
| 48 |
Beyond localization, it supports call-site-to-definition navigation and code search, where it leads its size class on CoIR StackOverflow QA
|
| 49 |
and CodeSearchNet Python. It is a fine-tune of
|