Downloads · 30 days
2
4% of all-time downloads
ibrahim123466/err2fix-py-v1
err2fix-py-v1 is a machine learning model from ibrahim123466. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
- Model name: err2fix-py-v1 - Base model: thenlper/gte-small - Task: English retrieval embeddings for error-to-fix matching - Domain: Python troubleshooting (imports, packaging, runtime) - Architecture family: Sentenc…
Downloads · 30 days
2
4% of all-time downloads
All-time downloads
57
Public
Parameters
33.4M
66.7 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors66.7 MB · 99%
From the Hugging Face model README
err2fix-py-v1thenlper/gte-smallerr2fix-py-v1 is intended for retrieval workflows that map Python error strings or troubleshooting queries to the most relevant fix snippets, docs excerpts, or known solutions.
This model is retrieval-only. It is not a generator, reranker, multilingual model, or production-serving package.
468 manually reviewed examplestrain=320, val=75, test=73dataset/train.jsonl, dataset/val.jsonl, dataset/test.jsonlPrimary metrics are Recall@1, Recall@5, MRR, and NDCG@10.
| Model | Recall@1 | Recall@5 | MRR | NDCG@10 |
|---|---|---|---|---|
Baseline (thenlper/gte-small) | 0.8312 | 1.0000 | 0.9056 | 0.9298 |
Candidate v1.1 (training/runs/20260420T091003Z/model) | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
The model performs strongly on the curated Python troubleshooting evaluation split, but broad-domain retrieval transfer is limited. Published MTEB metadata currently reflects the available official-style retrieval task results in the model card metadata.
Future updates should be selected using both the Python troubleshooting split and a broader English Retrieval validation slice.
Setup and validation:
uv sync --group dev
uv run --group dev pytest
uv run --group dev ruff check .
uv run --group dev mypy src
uv build
Baseline evaluation:
uv run python scripts/evaluate_baseline.py
Tuned checkpoint evaluation:
uv run python scripts/evaluate_checkpoint.py --model training/runs/20260420T091003Z/model --source submission-candidate-v1.1 --output evaluation/runs/err2fix-py-v1-phase11-sweep-b-margin03-on-468.json