Instructions to use vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit") config = load_config("vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit"
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": "vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit 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 "vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit"
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 vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit"
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 "vanch007/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit" \ --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"
Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit
MLX-VLM conversion of huihui-ai/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated.
Overview
- Format:
MLX-VLM - Precision:
8bit - Size: about
35G - Quantization result:
8.596 bits/weight - Source model is preserved as a vision-language model for
mlx-vlm - Local validation passed for text generation and abliterated behavior regression
Conversion Notes
This conversion keeps the model in the mlx-vlm layout and includes the compatibility fixes required for reliable use with MLX-VLM and LM Studio:
- restored a Qwen VL-compatible
chat_template.jinja - aligned
bos/eos/padtoken ids inconfig.json - preserved image and video prompt token handling
Validation
Local checks performed on Apple Silicon:
- text generation smoke test: passed
- abliterated regression set:
6/6non-refused refusal_rate = 0.0- eval run id:
20260317_200037 - median cleaned response length:
546chars - eval settings:
max_tokens=320,temperature=0.0,prefill_step_size=128
This is a behavior regression check, not a mathematical proof of equivalence.
Files
Important files in this repo:
config.jsonchat_template.jinjaprocessor_config.jsontokenizer.jsonmodel-00001-of-00008.safetensors...model-00008-of-00008.safetensorsmodel.safetensors.index.json
Usage
mlx-vlm text generation
mlx_vlm.generate \
--model /path/to/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit \
--prompt "你好" \
--max-tokens 256 \
--prefill-step-size 128
mlx-vlm image prompt
mlx_vlm.generate \
--model /path/to/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-mlx-8bit \
--image /path/to/example.png \
--prompt "请简短描述这张图片。" \
--max-tokens 128 \
--prefill-step-size 128
LM Studio
This repo is intended to work as an MLX model in LM Studio after download or sync. The included chat template already contains the required Qwen vision tokens.
- Downloads last month
- 31
8-bit