Instructions to use hermitdave/Thomson-1.0-Small-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use hermitdave/Thomson-1.0-Small-MLX-4bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("hermitdave/Thomson-1.0-Small-MLX-4bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use hermitdave/Thomson-1.0-Small-MLX-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "hermitdave/Thomson-1.0-Small-MLX-4bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "hermitdave/Thomson-1.0-Small-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use hermitdave/Thomson-1.0-Small-MLX-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "hermitdave/Thomson-1.0-Small-MLX-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "hermitdave/Thomson-1.0-Small-MLX-4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hermitdave/Thomson-1.0-Small-MLX-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use hermitdave/Thomson-1.0-Small-MLX-4bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "hermitdave/Thomson-1.0-Small-MLX-4bit"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default hermitdave/Thomson-1.0-Small-MLX-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use hermitdave/Thomson-1.0-Small-MLX-4bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "hermitdave/Thomson-1.0-Small-MLX-4bit"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "hermitdave/Thomson-1.0-Small-MLX-4bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Thomson-1.0-Small — MLX 4-bit Quantization
MLX format conversion of thomsonreuters/Thomson-1.0-Small, a 35B parameter Mixture-of-Experts VLM with hybrid linear attention.
Base architecture: Qwen3.5-35B-A3B (hybrid attention MoE, 256 experts, 8 active per token) Vision tower: Qwen3.5 Vision Encoder, kept at fp16 (not quantized)
Model Details
| Property | Value |
|---|---|
| Bits | 4 |
| Group size | 64 |
| Effective BPW | 4.65 |
| Size | ~20.4 GB |
| Shards | 4 |
| Quantization | Affine, RTN (round-to-nearest) |
| Vision tower | fp16 (preserved) |
| Dtype | bfloat16 |
| Context length | 262,144 |
Quickstart
pip install -U mlx-vlm
python3 -m mlx_vlm.generate \
--model hermitdave/Thomson-1.0-Small-MLX-4bit \
--prompt "Summarize the key points of this document." \
--max-tokens 512 --temp 1.0 --top-p 0.95
For deterministic outputs, use temp=0. For complex reasoning tasks, increase max-tokens.
Conversion Details
- Tool: mlx-vlm v0.6.17 convert (lazy mmap mode)
- Quantization: Uniform affine, RTN, no mixed-predicate
- Vision tower: Preserved at fp16 via
skip_multimodal_modulepredicate - Dtype: bfloat16
- Hardware: Apple M3 Max 64 GB
- Conversion script:
convert_thomson_4b_6b.py
Attribution
Upstream model: thomsonreuters/Thomson-1.0-Small by Thomson Reuters.
Thomson-1.0 stem: tri-fair-lab/Snowdon1.1-Small by Tair Lab.
Conversion: Hermes Agent (Nous Research) using mlx-vlm v0.6.17 on Apple Silicon.
Technical report: "Thomson: Continual Learning of Frontier Models for SovereignAI" (arXiv:2608.27147).
Other Formats
Also available: 6-bit variant
License
Same as upstream: Qwen3.6 Community License. See upstream repo for full terms.
Disclaimer
Quantized models may exhibit slightly different behavior compared to the original BF16 checkpoint. Please validate for your specific use case.
- Downloads last month
- 115
4-bit
Model tree for hermitdave/Thomson-1.0-Small-MLX-4bit
Base model
Qwen/Qwen3.6-35B-A3B