Text Classification
MLX
Safetensors
Chinese
English
qwen3_moe
apple-silicon
Mixture of Experts
mixed-precision
system-one
decision-engine
flitai-one
4-bit precision
Run this model with HF Jobs
Run flitailabs/flitai-one-30b-a3b-mlx 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/flitailabs/flitai-one-30b-a3b-mlx. 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/flitailabs/flitai-one-30b-a3b-mlx 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 flitailabs/flitai-one-30b-a3b-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use flitailabs/flitai-one-30b-a3b-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download flitailabs/flitai-one-30b-a3b-mlx --local-dir flitai-one-30b-a3b-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Flitai One · 30B-A3B (MLX Mixed-Precision: BF16 Attention + 4-bit Frozen MoE)
Flitai One 30B-A3B (v6.3-mixed) is the flagship MoE decision model of the Flitai One System-1 single-pass decision engine (30B total parameters, 3B active per token, 128 experts).
Architecture & Zero-Drift Mixed-Precision Fusion
- MoE Attention-Only LoRA: All 128 sparse MoE experts are kept frozen in native 4-bit, while LoRA (
r=16, scale=20.0,13.37Mtrainable parameters) is applied exclusively to all 48 attention blocks (q_proj / k_proj / v_proj / o_proj). - Bit-Exact Mixed-Precision Fusion (
fuse_mixed_precision.py): Standard 4-bitmlx_lm fusere-quantizes LoRA-updated weights and causes-3.8to-17 ppdegradation. Instead, this release keeps the 192 merged attention linear layers in native BF16 ("quantization": falseinconfig.json) while keeping all untouched MoE experts in 4-bit (17.2 GiBtotal,0.00 ppfusion drift). Requiresmlx-lmwith per-layer mixed-precision quantization config support.
Benchmark Summary (Apple M4 Max)
| Benchmark | Metric | Flitai One 30B-A3B (mixed) |
|---|---|---|
G512_test (592) |
acc3 / hard_bin |
91.7% / 94.4% |
M512_short_test |
acc3 / hard_bin |
86.4% / 93.0% |
prod_320 session routing |
msg_acc (h / nh / app / scen) |
96.8% (89.6 / 98.5 / 100 / 93.4%) |
customIntents_120 |
overall / neg_reject |
100.0% / 100.0% |
supportIntent_100 |
group / leaf / neg_reject |
96.1% / 96.1% / 100.0% |
taskType_84 |
group / leaf |
88.1% / 83.3% |
contentSafety_120 |
recall / exact_cat / FPR |
98.3% / 93.3% / 0.0% |
oodDiff_90 |
acc3 / hard_bin / short_hard |
96.7% / 100.0% / 100.0% |
TNews-300 (15-class, public) |
Acc / Macro-F1 |
59.0% / 0.598 |
Bitext-540 (27-leaf, public) |
11-class / 27-leaf |
90.6% / 82.2% |
ChineseSafe-360 (public) |
@0.5 F1 (FPR) / @0.7 FPR |
65.2% (3.3%) / 1.7% |
universal4 (800 zero-shot, public) |
avg_acc (SST-2 / AG / MNLI / BoolQ) |
87.75% (95.0 / 85.0 / 81.5 / 89.5%, ECE 0.081) |
Quickstart (30 Seconds)
pip install mlx-lm
# 1. Run built-in bilingual CLI demo (standalone 30B-A3B flagship)
python3 quickstart.py --model flitailabs/flitai-one-30b-a3b-mlx --demo
# 2. Or start local /v1/decisions & /v1/systemone API server
python3 quickstart.py --model flitailabs/flitai-one-30b-a3b-mlx --serve --port 8080
# 3. Call /v1/decisions
curl -s http://127.0.0.1:8080/v1/decisions \
-H "Content-Type: application/json" \
-d '{
"model": "flitai-one",
"input": "这客服效率真高啊,三天了连个机器人回复都没等到,太感动了。",
"questions": [
{"name": "sentiment", "type": "choice", "instructions": "What is the true sentiment?", "choices": [
{"value": "positive", "description": "Positive or satisfied"},
{"value": "negative", "description": "Negative, frustrated, or sarcastic"},
{"value": "neutral", "description": "Neutral statement"}
]}
]
}'
Recommended Calibration Temperatures
Fitted on 610 held-out calibration samples (minimizing NLL / ECE):
SYSTEMONE_CASCADE_TEMP_NOUL=1.2
SYSTEMONE_CASCADE_TEMP_NOUL_GENERAL=1.2
SYSTEMONE_CASCADE_TEMP_SCORE=1.45
SYSTEMONE_CASCADE_TEMP_CHOICE=1.4
SYSTEMONE_CASCADE_TEMP_CHOICE_BINARY=1.0
License
Apache-2.0 (all training data verified commercially permissive).
- Downloads last month
- 7
Model size
31B params
Tensor type
U32
·
BF16 ·
Hardware compatibility
Log In to add your hardware
4-bit