Instructions to use FermionResearch/Neutrino-0.6B-Chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FermionResearch/Neutrino-0.6B-Chat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FermionResearch/Neutrino-0.6B-Chat") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("FermionResearch/Neutrino-0.6B-Chat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FermionResearch/Neutrino-0.6B-Chat with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FermionResearch/Neutrino-0.6B-Chat" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FermionResearch/Neutrino-0.6B-Chat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/FermionResearch/Neutrino-0.6B-Chat
- SGLang
How to use FermionResearch/Neutrino-0.6B-Chat with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "FermionResearch/Neutrino-0.6B-Chat" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FermionResearch/Neutrino-0.6B-Chat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "FermionResearch/Neutrino-0.6B-Chat" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FermionResearch/Neutrino-0.6B-Chat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use FermionResearch/Neutrino-0.6B-Chat with Docker Model Runner:
docker model run hf.co/FermionResearch/Neutrino-0.6B-Chat
Download mlx/README.md from FermionResearch/Neutrino-0.6B-Chat: direct link, hf CLI and curl.
- Browser
- Download file 1.49 kB
-
https://huggingface.co/FermionResearch/Neutrino-0.6B-Chat/resolve/main/mlx/README.md
- Command line
-
hf download hf://FermionResearch/Neutrino-0.6B-Chat/mlx/README.md
-
curl -L -o README.md https://huggingface.co/FermionResearch/Neutrino-0.6B-Chat/resolve/main/mlx/README.md
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:
- Repetition penalty 1.05.
fermion_mlx.generate/.chattakerep_penalty=, and the CLI takes--rep-penalty. It applies a whole-context penalty; pass--rep-penalty 1.05for chat sessions. - Prompts go through the Qwen3 chat template with empty think-blocks
(
enable_thinking=False);--mode chatdoes 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.