Instructions to use netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter 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("netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter") config = load_config("netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter") # 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) - HERMES
How to use netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter with HERMES:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter"
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": "netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter 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 "netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter"
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 netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter"
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 "netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter" \ --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"
Qwen3.8-27B-hermes-adapted adapter for mlx-lm
The LoRA from harness-hub/Qwen3.8-27B-hermes-adapted
(revision 09fb741) in mlx-lm's adapter format: rank 32, scale 2.0 (alpha 64), on q, k, v, o of the 16 full-attention
layers and gate, up, down of all 64 layers. The weights are the original float32 values, transposed to mlx-lm's layout. Size: 638 MB.
harness-hub trained this LoRA with reinforcement learning (AsyncGRPO in TRL, LoRA rank 32, alpha 64, checkpoint at step 160 of 1000 planned) to be the model behind Hermes Agent on software-engineering and terminal tasks. Their published results, under Hermes Agent with thinking off: SWE-bench Pro (hard 51) 29.4% โ 43.1% and Terminal-Bench 2.1 44.7% โ 58.8% against the base model, using under 40% of the base model's turns on the tasks both solve and about 2ร fewer generated tokens. With thinking off it is level with the base model thinking at its highest effort (xhigh), at 3.5โ4.4ร fewer tokens. See the original adapter card for the method, data and full results.
Use it on top of any MLX build of Qwen/Qwen3.8-27B to keep one base model and switch the adapter on and off. For a single ready-to-run model, the merged builds are simpler and slightly faster:
| Build | Size | Same next token as bf16 | KL vs bf16 | GSM8K (50 questions) | Peak memory, 8K-token prompt | Suggested Mac memory |
|---|---|---|---|---|---|---|
| netprojects/Qwen3.8-27B-hermes-adapted-MLX-6bit (recommended) | 23.1 GB | 98.5% | 0.0015 | 46/50 | 23.4 GB | 36 GB+ |
| netprojects/Qwen3.8-27B-hermes-adapted-MLX-8bit | 30.0 GB | 99.2% | 0.0004 | 45/50 | 29.7 GB | 48 GB+ |
| netprojects/Qwen3.8-27B-hermes-adapted-MLX-4bit | 16.3 GB | 96.1% | 0.0192 | 43/50 | 17.1 GB | 32 GB+ |
| netprojects/Qwen3.8-27B-hermes-adapted-MLX-3bit | 13.8 GB | 91.7% | 0.0824 | 45/50 | 14.6 GB | 24 GB+ |
| netprojects/Qwen3.8-27B-hermes-adapted-MLX-2.5bit | 11.8 GB | 85.4% | 0.2461 | 44/50 | 13.8 GB | 24 GB+ |
| netprojects/Qwen3.8-27B-hermes-adapted-MLX-bf16 | 55.6 GB | reference | reference | 45/50 | 53.4 GB | 96 GB+ |
pip install -U "mlx-lm>=0.32.2"
mlx_lm.generate --model mlx-community/Qwen3.8-27B-4bit --adapter-path netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter \
--chat-template-config '{"enable_thinking": false}' --prompt "Write a bash one-liner that counts lines in all .py files." --max-tokens 300
from huggingface_hub import snapshot_download
from mlx_lm import load, generate
adapter = snapshot_download("netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter")
model, tokenizer = load("mlx-community/Qwen3.8-27B-4bit", adapter_path=adapter)
prompt = tokenizer.apply_chat_template([{"role": "user", "content": "Hello"}], add_generation_prompt=True,
enable_thinking=False, tokenize=False)
print(generate(model, tokenizer, prompt=prompt, max_tokens=200))
mlx_lm.server --model mlx-community/Qwen3.8-27B-4bit --adapter-path <local adapter dir> serves it for Hermes Agent (see the
6-bit card for the Hermes Agent configuration; keep thinking off).
What was checked
On a MacBook Pro M5 Max (128 GB), 19 November 2026, mlx 0.32.4, mlx-lm 0.32.2 and mlx-vlm 0.7.11.
- Loaded in mlx-lm on
mlx-community/Qwen3.8-27B-4bit, it creates exactly 256 LoRA modules with scale 2.0, and each module's update equals2.0 ยท B @ Afrom harness-hub's original file exactly. - With the included chat template and thinking off, base 4-bit + adapter produced a well-formed tool call and passed 3/3 short coding tasks.
License
Apache-2.0, as Qwen3.8-27B and the harness-hub adapter. LICENSE is the Apache-2.0 text from the Qwen3.8-27B repository
and NOTICE describes the conversion and credits harness-hub and the Qwen Team (Alibaba Cloud).
Published by NetProjects (Internet Projects Ltd). Not affiliated with Hugging Face, harness-hub or Alibaba.
More MLX builds from NetProjects: huggingface.co/netprojects ยท netprojects.com
Quantized
Model tree for netprojects/Qwen3.8-27B-hermes-adapted-MLX-adapter
Base model
Qwen/Qwen3.8-27B