Text Classification
MLX
Safetensors
English
Chinese
qwen3_5
computer-use
agents
decision-model
calibration
apple-silicon
local-llm
deskmind
8-bit precision
Run this model with HF Jobs
Run deskmind/brain-4b on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/deskmind/brain-4b. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/deskmind/brain-4b on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use deskmind/brain-4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use deskmind/brain-4b with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download deskmind/brain-4b --local-dir brain-4b
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
model card, license, notice
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354---license: apache-2.0base_model: Qwen/Qwen3.5-4Blibrary_name: mlxtags: [computer-use, agents, decision-model, calibration, mlx, deskmind]language: [en, zh]---
# DeskMind Brain 4b · 得心
**得心,应手。** Typed, calibrated step decisions for computer-use agents, running locally on Apple Silicon with MLX.This model is the **strong tier (answers the steps the router escalates)** of the DeskMind Brain router.
- **Release:** `v7b-q8` (checkpoint G11b, 8-bit MLX). Its answers match the bf16 weights on 100/100 real requests.- **Code and usage:** [deskmind-ai/brain](https://github.com/deskmind-ai/brain)- **Prompt format:** `deskmind.json` records the format this model was trained with. Keep it next to the weights.
## Use
```bashuv run hf download deskmind/brain-0.8b --local-dir models/brain-0.8buv run hf download deskmind/brain-4b --local-dir models/brain-4buv run deskmind-brain-serve --predictor mlx:models/brain-0.8b --escalate-to mlx:models/brain-4b --two-stage```
## Results (bf16 weights of this checkpoint; 8-bit re-check pending)
| | DeskMind router (0.8B → 4B) | Jev (TypeSafe AI, cloud reference) ||---|---|---|| Real macOS desktop, 13 sandbox tasks × 3 runs ([bench](https://github.com/deskmind-ai/bench) v21/v22) | 82% | 85% || Time per step (p50, M4 Pro) | ~3.3–3.6 s | 0.4–0.6 s |
**Known limits:**- Slower than cloud models.- It fails a web-extraction task and an ask-the-user task, which the reference model also fails.- It was trained on macOS Finder and TextEdit sandbox tasks plus web and form decisions, and is untested elsewhere.
## Training
LoRA distillation on Qwen/Qwen3.5-4B (KL to teacher distributions plus cross-entropy to labels), merged and quantized to 8 bits.The data is desktop DAgger in sandboxed tasks labelled by an oracle, plus synthetic and public web and form decisiondata. It contains no real user data. Details: [docs/training.md](https://github.com/deskmind-ai/brain/blob/main/docs/training.md).
---
**中文:** 得心(DeskMind)Brain 的强档(路由交上来的步骤由它回答)。给电脑操作 agent 的每一步做带类型、带把握程度的决策,用 MLX 在 Apple Silicon 本地运行。- **真机成绩:** 13 个沙箱任务各跑 3 轮,通过率 82%,Jev 为 85%。- **速度:** 每步约 3.3–3.6 秒。- 详见 [deskmind-ai/brain](https://github.com/deskmind-ai/brain)。
## License
Apache-2.0. Fine-tuned from Qwen/Qwen3.5-4B (Copyright Alibaba Cloud, Apache-2.0). The DeskMind name, 得心 and the logo are notcovered by this licence.README.mdAdded+54