Instructions to use Ailiance-fr/devstral-cpp-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ailiance-fr/devstral-cpp-lora with PEFT:
Task type is invalid.
- MLX
How to use Ailiance-fr/devstral-cpp-lora with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("Ailiance-fr/devstral-cpp-lora") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
- MLX LM
How to use Ailiance-fr/devstral-cpp-lora with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "Ailiance-fr/devstral-cpp-lora" --prompt "Once upon a time"
docs: add Benchmark / Training metrics section
Browse files
README.md
CHANGED
|
@@ -64,7 +64,7 @@ Extracted from training log (`batch_eu_kiki_v2.log`):
|
|
| 64 |
| Final validation loss | 0.401 |
|
| 65 |
| Val loss reduction | +1.779 (from 2.180) |
|
| 66 |
| Iterations completed | 500 |
|
| 67 |
-
| Trainable parameters | 0.224% (
|
| 68 |
|
| 69 |
> Validation loss is measured every 200 iterations on a held-out split of the
|
| 70 |
> training corpus (`val_batches=5`, `mlx-lm` LoRA trainer).
|
|
|
|
| 64 |
| Final validation loss | 0.401 |
|
| 65 |
| Val loss reduction | +1.779 (from 2.180) |
|
| 66 |
| Iterations completed | 500 |
|
| 67 |
+
| Trainable parameters | 0.224% (279.708M / 125025.989M) |
|
| 68 |
|
| 69 |
> Validation loss is measured every 200 iterations on a held-out split of the
|
| 70 |
> training corpus (`val_batches=5`, `mlx-lm` LoRA trainer).
|