Views
No views yet
mistralai/Devstral-Small-2-24B-Instruct-2512 for python tasks.Variant: trained on the BF16 base for higher numerical fidelity.
Maintained by Ailiance — French AI org publishing EU AI Act aligned LoRA adapters and datasets.
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-bf16-lora",
6)
7
8print(generate(model, tokenizer, prompt="..."))| Hyperparameter | Value |
|---|---|
| Base model | mistralai/Devstral-Small-2-24B-Instruct-2512 |
| Method | LoRA via mlx-lm |
| Rank | 16 |
| Scale | 2.0 |
| Alpha | 32 |
| Max seq length | 2048 |
| Iterations | 500 |
| Optimizer | Adam, LR 1e-5 |
| Hardware | Apple M3 Ultra 512 GB |
electron-bench (the current
pipeline supports gemma-4-E4B base only). Training was completed with the
standard mlx-lm LoRA trainer (rank 16, alpha 32, scale 2.0, AdamW
LR 1e-5, 500 iters) — full hyperparameters are in the Training table above.mistralai/Devstral-Small-2-24B-Instruct-2512gemma-4-E4B base, see the
base-vs-LoRA matrix.| Component | License |
|---|---|
Base model (mistralai/Devstral-Small-2-24B-Instruct-2512) | apache-2.0 |
| Training data (internal Ailiance curation (synthetic + permissive sources)) | apache-2.0 |
| LoRA adapter (this repo) | apache-2.0 |
mistralai/Devstral-Small-2-24B-Instruct-2512 released under apache-2.0.1@misc{ailiance_devstral_python_bf16_2026,
2 author = {Ailiance},
3 title = {Ailiance — Devstral-Small-2-24B-BF16 python (bf16) LoRA},
4 year = {2026},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/Ailiance-fr/devstral-python-bf16-lora}
7}| Task | Score | Notes |
|---|---|---|
| GSM8K-CoT flex EM | 0.96 | W3 lm-eval-harness (--limit 100) |
| ARC-Easy acc / acc_norm | 0.80 / 0.75 | |
| MMLU-Pro Computer Science | 0.64 |