query_id
stringlengths 2
6
| corpus_id
stringlengths 2
6
| score
int64 1
1
|
---|---|---|
q0 | c0 | 1 |
q1 | c1 | 1 |
q2 | c2 | 1 |
q3 | c3 | 1 |
q4 | c4 | 1 |
q5 | c5 | 1 |
q6 | c6 | 1 |
q7 | c7 | 1 |
q8 | c8 | 1 |
q9 | c9 | 1 |
q10 | c10 | 1 |
q11 | c11 | 1 |
q12 | c12 | 1 |
q13 | c13 | 1 |
q14 | c14 | 1 |
q15 | c15 | 1 |
q16 | c16 | 1 |
q17 | c17 | 1 |
q18 | c18 | 1 |
q19 | c19 | 1 |
q20 | c20 | 1 |
q21 | c21 | 1 |
q22 | c22 | 1 |
q23 | c23 | 1 |
q24 | c24 | 1 |
q25 | c25 | 1 |
q26 | c26 | 1 |
q27 | c27 | 1 |
q28 | c28 | 1 |
q29 | c29 | 1 |
q30 | c30 | 1 |
q31 | c31 | 1 |
q32 | c32 | 1 |
q33 | c33 | 1 |
q34 | c34 | 1 |
q35 | c35 | 1 |
q36 | c36 | 1 |
q37 | c37 | 1 |
q38 | c38 | 1 |
q39 | c39 | 1 |
q40 | c40 | 1 |
q41 | c41 | 1 |
q42 | c42 | 1 |
q43 | c43 | 1 |
q44 | c44 | 1 |
q45 | c45 | 1 |
q46 | c46 | 1 |
q47 | c47 | 1 |
q48 | c48 | 1 |
q49 | c49 | 1 |
q50 | c50 | 1 |
q51 | c51 | 1 |
q52 | c52 | 1 |
q53 | c53 | 1 |
q54 | c54 | 1 |
q55 | c55 | 1 |
q56 | c56 | 1 |
q57 | c57 | 1 |
q58 | c58 | 1 |
q59 | c59 | 1 |
q60 | c60 | 1 |
q61 | c61 | 1 |
q62 | c62 | 1 |
q63 | c63 | 1 |
q64 | c64 | 1 |
q65 | c65 | 1 |
q66 | c66 | 1 |
q67 | c67 | 1 |
q68 | c68 | 1 |
q69 | c69 | 1 |
q70 | c70 | 1 |
q71 | c71 | 1 |
q72 | c72 | 1 |
q73 | c73 | 1 |
q74 | c74 | 1 |
q75 | c75 | 1 |
q76 | c76 | 1 |
q77 | c77 | 1 |
q78 | c78 | 1 |
q79 | c79 | 1 |
q80 | c80 | 1 |
q81 | c81 | 1 |
q82 | c82 | 1 |
q83 | c83 | 1 |
q84 | c84 | 1 |
q85 | c85 | 1 |
q86 | c86 | 1 |
q87 | c87 | 1 |
q88 | c88 | 1 |
q89 | c89 | 1 |
q90 | c90 | 1 |
q91 | c91 | 1 |
q92 | c92 | 1 |
q93 | c93 | 1 |
q94 | c94 | 1 |
q95 | c95 | 1 |
q96 | c96 | 1 |
q97 | c97 | 1 |
q98 | c98 | 1 |
q99 | c99 | 1 |
End of preview. Expand
in Dataset Viewer.
Employing the CoIR evaluation framework's dataset version, utilize the code below for assessment:
import coir
from coir.data_loader import get_tasks
from coir.evaluation import COIR
from coir.models import YourCustomDEModel
model_name = "intfloat/e5-base-v2"
# Load the model
model = YourCustomDEModel(model_name=model_name)
# Get tasks
#all task ["codetrans-dl","stackoverflow-qa","apps","codefeedback-mt","codefeedback-st","codetrans-contest","synthetic-
# text2sql","cosqa","codesearchnet","codesearchnet-ccr"]
tasks = get_tasks(tasks=["codetrans-dl"])
# Initialize evaluation
evaluation = COIR(tasks=tasks,batch_size=128)
# Run evaluation
results = evaluation.run(model, output_folder=f"results/{model_name}")
print(results)
- Downloads last month
- 109