1from mlx_lm import load, generate
2
3model, tokenizer = load(
4 "mistralai/Devstral-Small-2-24B-Instruct-2512",
5 adapter_path="Ailiance-fr/devstral-cpp-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.
This LoRA has
not yet been evaluated through the
electron-bench functional benchmark
pipeline. The current pipeline targets the
gemma-4-E4B base only; support for
the
devstral base is on the roadmap
(
open issues).
For a comparable reference matrix on a related domain (electronics, embedded,
KiCad), see the Gemma champions:
Full base-vs-LoRA matrix:
compare_base_vs_lora.md.
1@misc{ailiance_devstral_cpp_2026,
2 author = {Ailiance},
3 title = {Ailiance — Devstral-Small-2-24B-Instruct cpp LoRA},
4 year = {2026},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/Ailiance-fr/devstral-cpp-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).