Neutrino-0.6B-Chat / mlx /README.md
FermionResearch's picture
Update the MLX runtime and the model card
c7c2a0c verified
|
Raw History Blame Contribute Delete
1.49 kB

Neutrino-0.6B-Chat — MLX pack (Apple silicon)

This folder ships the fermion_mlx runtime (the same package as the Neutrino-0.6B and Neutrino-8B packs), requirements.txt, and this repo's tokenizer files with the chat template, so the parent card's MLX quickstart runs as written.

Requirements: a Mac with Apple silicon, macOS 14 or later, Python 3.10 to 3.14 (standard CPython build). requirements.txt installs mlx 0.32.3, the version the compiled kernels are built for.

Two settings matter for chat:

  1. Repetition penalty 1.05. fermion_mlx.generate / .chat take rep_penalty=, and the CLI takes --rep-penalty. It applies a whole-context penalty; pass --rep-penalty 1.05 for chat sessions.
  2. Prompts go through the Qwen3 chat template with empty think-blocks (enable_thinking=False); --mode chat does this.

Run it

From the downloaded repo directory (the parent card's Quickstart 1):

cd mlx
pip install -r requirements.txt      # installs mlx itself
python -m fermion_mlx --model ../neutrino-0.6b-chat_v4.bin --mode chat \
    --tokenizer . --rep-penalty 1.05 --prompt "hi"

License

Apache-2.0 for the Python code and the weights (derivative of Qwen/Qwen3-0.6B; see the parent LICENSE). The compiled kernels (fermion_mlx/*.metallib, fermion_mlx/_native*.so) are free to use with these weights; no redistribution outside this repo; no reverse engineering.