Instructions to use CalmCampus/calmcampus-reframe-1.7b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use CalmCampus/calmcampus-reframe-1.7b-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("CalmCampus/calmcampus-reframe-1.7b-lora") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use CalmCampus/calmcampus-reframe-1.7b-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 "CalmCampus/calmcampus-reframe-1.7b-lora" --prompt "Once upon a time"
- Atomic Chat
CalmCampus Reframe LoRA adapter (v0.1 research preview)
The LoRA adapter (MLX format, 67 MB) behind CalmCampus/calmcampus-reframe-1.7b-4bit. It is the fine-tuning delta on its own, so you can see exactly what was trained on top of Qwen3-1.7B.
The task, prompt contract, evaluation and limitations are on the 4-bit model card. They apply to this adapter too: research preview, not a medical device, not a standalone crisis detector.
Training
| Trained on | mlx-community/Qwen3-1.7B-4bit (QLoRA with mlx-lm) |
| LoRA | rank 16, scale 20, dropout 0.05, all layers |
| Optimiser | learning rate 1e-4, batch size 2, seed 42, 600 iterations configured |
| Checkpoint | step 500, chosen by scoring checkpoints on behaviour |
| Data | CalmCampus/calmcampus-reframe-data |
The published 4-bit model is not this adapter applied to the 4-bit base: the adapter was fused into the bf16 base and the result quantised to 4-bit. The source repository's ml/package.sh does exactly that.
Use
from huggingface_hub import snapshot_download
from mlx_lm import load
path = snapshot_download("CalmCampus/calmcampus-reframe-1.7b-lora")
model, tok = load("mlx-community/Qwen3-1.7B-4bit", adapter_path=path)
License
Apache-2.0, following the base model. Base model (c) the Qwen team.
Quantized