1from mlx_lm import load, generate
2
3model, tokenizer = load(
4 "mistralai/Devstral-Small-2-24B-Instruct-2512",
5 adapter_path="Ailiance-fr/devstral-python-lora",
6)
7
8print(generate(model, tokenizer, prompt="..."))
Derived from the internal
eu-kiki / mascarade curation. All upstream samples
are synthetic, permissively-licensed, or generated from Apache-2.0 base resources.
See the
Ailiance-fr catalog for related cards.
For reference benchmarks on the
gemma-4-E4B base, see the
base-vs-LoRA matrix.
1@misc{ailiance_devstral_python_2026,
2 author = {Ailiance},
3 title = {Ailiance — Devstral-Small-2-24B-Instruct python LoRA},
4 year = {2026},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/Ailiance-fr/devstral-python-lora}
7}
This LoRA fine-tunes
mistralai/Devstral-Small-2-24B-Instruct-2512,
Mistral's coding-specialist LLM. Headline software-engineering benchmarks
from the upstream model card:
(For reference, GPT-5.1 Codex High: 73.7 % SWE Verified · 52.8 % Terminal Bench 2.)
Devstral Small 2 (24B) is competitive with much larger open models on
SWE Bench Verified (e.g. matches GLM-4.6 at 355B). Architecture uses
rope-scaling per Llama 4 + Scalable-Softmax (
arXiv:2501.19399).