Sentence Similarity
sentence-transformers
ONNX
English
code
bert
code-search
embeddings
LoRA
E5
cqs
Eval Results
text-embeddings-inference
Instructions to use jamie8johnson/e5-base-v2-code-search with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use jamie8johnson/e5-base-v2-code-search with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("jamie8johnson/e5-base-v2-code-search") 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
eval: add CoIR v7 results (9 tasks, NDCG@10)
Browse files- .eval_results/coir-v7.yaml +54 -0
.eval_results/coir-v7.yaml
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: archersama/codesearchnet
|
| 3 |
+
task_id: default
|
| 4 |
+
value: 0.707
|
| 5 |
+
date: '2026-03-22'
|
| 6 |
+
notes: avg NDCG@10 across 6 languages (Go/Java/JS/Ruby/Python/PHP)
|
| 7 |
+
- dataset:
|
| 8 |
+
id: archersama/cosqa
|
| 9 |
+
task_id: default
|
| 10 |
+
value: 0.354
|
| 11 |
+
date: '2026-03-22'
|
| 12 |
+
notes: NDCG@10, out-of-distribution transfer
|
| 13 |
+
- dataset:
|
| 14 |
+
id: archersama/codesearchnet-ccr
|
| 15 |
+
task_id: default
|
| 16 |
+
value: 0.508
|
| 17 |
+
date: '2026-03-22'
|
| 18 |
+
notes: avg NDCG@10, cross-code retrieval
|
| 19 |
+
- dataset:
|
| 20 |
+
id: archersama/apps
|
| 21 |
+
task_id: default
|
| 22 |
+
value: 0.105
|
| 23 |
+
date: '2026-03-22'
|
| 24 |
+
notes: NDCG@10, program synthesis
|
| 25 |
+
- dataset:
|
| 26 |
+
id: archersama/codetrans-dl
|
| 27 |
+
task_id: default
|
| 28 |
+
value: 0.194
|
| 29 |
+
date: '2026-03-22'
|
| 30 |
+
notes: NDCG@10, code translation
|
| 31 |
+
- dataset:
|
| 32 |
+
id: archersama/stackoverflow-qa
|
| 33 |
+
task_id: default
|
| 34 |
+
value: 0.882
|
| 35 |
+
date: '2026-03-22'
|
| 36 |
+
notes: NDCG@10
|
| 37 |
+
- dataset:
|
| 38 |
+
id: archersama/codefeedback-mt
|
| 39 |
+
task_id: default
|
| 40 |
+
value: 0.382
|
| 41 |
+
date: '2026-03-22'
|
| 42 |
+
notes: NDCG@10, multi-turn
|
| 43 |
+
- dataset:
|
| 44 |
+
id: archersama/codefeedback-st
|
| 45 |
+
task_id: default
|
| 46 |
+
value: 0.737
|
| 47 |
+
date: '2026-03-22'
|
| 48 |
+
notes: NDCG@10, single-turn
|
| 49 |
+
- dataset:
|
| 50 |
+
id: archersama/synthetic-text2sql
|
| 51 |
+
task_id: default
|
| 52 |
+
value: 0.558
|
| 53 |
+
date: '2026-03-22'
|
| 54 |
+
notes: NDCG@10
|