license: apache-2.0
license_link: LICENSE
base_model:
- KRAFTON/Raon-1-nano
base_model_relation: finetune
library_name: mlx
pipeline_tag: text-generation
language: - ko
- en
tags: - mlx
- quantized
- abliterated
- uncensored
Raon-1-nano Uncensored MLX 6-bit
KRAFTON/Raon-1-nano with a refusal direction removed from the weights, converted to 6-bit MLX, without the MTP block. The model code is KRAFTON's raon_mlx_model.py from KRAFTON/Raon-1-nano-mlx, included unchanged.
The edit is one direction, taken at layer 16 with channel 746 zeroed, projected out of the attention output projections, the MLP down projections and the per-layer input projections of layers 6 to 22 (51 tensors); the embedding, the output head and the MTP block are unchanged. Quantization: affine, group size 64: the attention, RDA and MLP projections and the per-layer embedding table in 6-bit; the token embedding (also the LM head), the per-layer embedding projection and the per-layer input gates and projections in 8-bit; the MLA key and value up-projections stay BF16.
HarmBench (200 prompts, thinking off): 0.5% refused; KRAFTON's own Q6_K GGUF refuses 98.5%. With thinking on, it refuses 0 of 50 HarmBench prompts.
How to run
pip install mlx==0.32.4 mlx-lm==0.32.2 transformers==5.20.2
mlx_lm.generate --model Xylolabs/Raon-1-nano-Uncensored-MLX-6bit --trust-remote-code --prompt 'Explain how a heat pump works.'
mlx_lm.chat --model Xylolabs/Raon-1-nano-Uncensored-MLX-6bit --trust-remote-code
The model thinks by default; add --chat-template-config '{"enable_thinking": false}' to mlx_lm.generate to answer directly.
Accuracy
KL and top-1 against the original BF16 weights; refused prompts of HarmBench (200) and Alpaca (100) with thinking off.
| Model | Size | WikiText-2 KL | top-1 | Chat KL | top-1 | Held-out KL | top-1 | 7-question answer check | HarmBench refused | Alpaca refused |
|---|---|---|---|---|---|---|---|---|---|---|
| Uncensored MLX 6-bit | 2.69 GB | 0.009804 | 93.67% | 0.021895 | 93.00% | 0.010994 | 93.75% | 6/7 (BF16: 6/7) | 0.5% | 0.0% |
| Xylolabs GGUF Q6_K | 2.65 GB | 0.009180 | 94.31% | 0.021124 | 93.10% | 0.011139 | 94.16% | 6/7 (BF16: 6/7) | 0.5% | 0.0% |
| KRAFTON Q6_K GGUF | 2.65 GB | 0.004891 | 95.50% | 0.006117 | 96.28% | 0.004853 | 95.35% | 6/7 (BF16: 6/7) | 98.5% | 0.0% |
Which file for your hardware
| Hardware | Memory | File | Context |
|---|---|---|---|
| Mac Studio M5 Max, 32-core GPU | 36 GB unified | Xylolabs/Raon-1-nano-Uncensored-MLX-6bit (2.7 GB) |
256K |
| Mac Studio M5 Max, 40-core GPU | 48 GB unified | Xylolabs/Raon-1-nano-Uncensored-MLX-6bit (2.7 GB) |
256K |
| Mac Studio M5 Max, 40-core GPU | 64 GB unified | Xylolabs/Raon-1-nano-Uncensored-MLX-6bit (2.7 GB) |
256K |
| Mac Studio M5 Ultra | 96 GB unified | Xylolabs/Raon-1-nano-Uncensored-MLX-6bit (2.7 GB) |
256K |
| Mac Studio M5 Max, 40-core GPU | 128 GB unified | Xylolabs/Raon-1-nano-Uncensored-MLX-6bit (2.7 GB) |
256K |
| Mac Studio M5 Ultra | 256 GB unified | Xylolabs/Raon-1-nano-Uncensored-MLX-6bit (2.7 GB) |
256K |
| Mac Studio M5 Ultra, 80-core GPU | 512 GB unified | Xylolabs/Raon-1-nano-Uncensored-MLX-6bit (2.7 GB) |
256K |
License and notices
Apache License 2.0 (LICENSE); our changes and KRAFTON's notices are in NOTICE, the license texts in LICENSES/.
Updates
- 2026-11-26: First release.