4-bit MLX quantization of
kai-os/Carnice-9b.
This conversion was produced using
mlx_lm.convert for use with
MLX on Apple Silicon.
Carnice-9b by
kai-os is a standalone merged model built on
Qwen/Qwen3.5-9B, tuned specifically for the
Hermes Agent harness. It was trained in two stages:
The model is optimized for terminal-heavy task execution, file editing, structured tool use, browser-assisted agent behavior, and multi-turn tool calling inside the Hermes runtime.
See the
original model card for full training details and data sources.
1from mlx_lm import load, generate
2
3model, tokenizer = load("jason-schulz/Carnice-9b-MLX")
4
5prompt = "Explain the difference between linear and full attention."
6messages = [{"role": "user", "content": prompt}]
7text = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)
8
9response = generate(
10 model,
11 tokenizer,
12 prompt=text,
13 max_tokens=512,
14)
15print(response)
1mlx_lm.convert \
2 --hf-path kai-os/Carnice-9b \
3 --mlx-path Carnice-9b-MLX \
4 -q \
5 --q-bits 4 \
6 --q-group-size 64 \
7 --q-mode affine