Text Generation
MLX
Safetensors
English
qwen3_5
bonsai
oqe
calibration-smoke
experimental
not-for-production
conversational
2-bit
Instructions to use TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke 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("TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke") 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 TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke"
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": "TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke 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 "TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke"
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 TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke"
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 "TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke" \ --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"
Download MODEL_SHA256SUMS.txt from TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke/resolve/4e37780f1c7feb198e433cf4885d1a29dd608491/MODEL_SHA256SUMS.txt
- Command line
-
hf download hf://TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke@4e37780f1c7feb198e433cf4885d1a29dd608491/MODEL_SHA256SUMS.txt
-
curl -L -o MODEL_SHA256SUMS.txt https://huggingface.co/TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke/resolve/4e37780f1c7feb198e433cf4885d1a29dd608491/MODEL_SHA256SUMS.txt
1.21 kB
| e84f32a23fdda27689f868aa4a1a5621f41133e51a48d7f3efcbea2839574259 chat_template.jinja | |
| 61c4c1e4cbd781cb62583e0de148ba4f7ade8058e7c6943d42ca8d3fff808b56 config.json | |
| e70c136c1b78ddc1fb0905bac8e733a4dc448d4f852a5dd75143fffc70be550e generation_config.json | |
| c7f16811583ef94d27e4c5ff967928756f5e7f08e70c7cf0e9332676e402ba08 model-00001-of-00003.safetensors | |
| 13dd2f02875399ac14b54478ae1b6d98e822b55d5ebdf84ca8056275e0af912f model-00002-of-00003.safetensors | |
| 3a7339e74045b594a2ed31845a2f3a4b4ac70991cc5547c30aa4480be745174e model-00003-of-00003.safetensors | |
| 4c9f76352f7ac7f80da8069db76449136e08e2ce5a07eb6e01d1851288ade684 model.safetensors.index.json | |
| 42cae661ddaf448290fe906d658c4cabdc0c39134bbd848e84681e7271dcb1cf oq_imatrix_report.json | |
| 06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523 tokenizer.json | |
| 95c557768e6b88a7128befc7bfd3c7de50e5d51af9b8b33a9f4dee0e04f99679 tokenizer_config.json | |
| cf91e366d1b3b7e4893798f5e794832ecf1bf8e7273a9f154e0031f76a212dd8 /Volumes/Swap/experiments/bonsai-27b-2026-07-19/oqe-imatrix/bonsai-27b-oQ2e-smoke-s32.npz | |
| 2d8f1971542286b69bb1849e7e3e257dc5f7e4b87d59ed09892b5abf8651fc12 /Volumes/Swap/experiments/bonsai-27b-2026-07-19/run_oq2e_smoke_s32.py | |