Instructions to use JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S 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("JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S") config = load_config("JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S") # 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 JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S"
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": "JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S 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 "JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S"
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 JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S"
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 "JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S" \ --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"
JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S
The speed-lean 4-bit-class tier — median KL 0.0161 at 71.8 GiB (~53 GiB resident with the SSD-served table), sized for fast decode on 96-128 GB Macs.
A JANG bundle of Qwen/Qwen3.8-Flash-Next — the Qwen4-architecture preview: a 125B mixture-of-experts (512 experts, 6B active) with a 51B hashed n-gram embedding, Gated DeltaNet + Qwen Sparse Attention hybrid layers, gated-residual streams, and vision+video towers — quantized for Apple Silicon / MLX. Text, image and video weights are all present in this exact bundle. Native multi-token-prediction head preserved (4-bit).
Best experienced in vMLX. This bundle's layout — the SSD-served n-gram table, per-module mixed precision, and the native MTP head — is designed for the vMLX serving path. Access is gated (manual approval) while runtime support rolls out.
Quality (measured, 5,931 held-out positions vs bf16)
| Tier | Size | RAM w/ SSD-table | median KL | top-1 | top-5 | top-10 |
|---|---|---|---|---|---|---|
| JANG_1L | 59.8 GiB | ~41 GiB | 0.0362 | 86.7% | 97.5% | 98.8% |
| JANG_2L | 65.3 GiB | ~48 GiB | 0.0260 | 88.2% | 98.2% | 99.0% |
| JANG_4S | 71.8 GiB | ~53 GiB | 0.0161 | 89.4% | 98.7% | 99.4% |
| JANG_4M | 96.0 GiB | ~73 GiB | 0.0042 | 94.4% | 99.7% | 99.9% |
| JANG_6S | 106.3 GiB | ~83 GiB | 0.0035 | 94.7% | 99.7% | 99.9% |
Margin-conditioned flip curves are monotone-decreasing on every tier — quantization noise lives in the reference model's own uncertainty band, with zero disagreement at high-confidence positions on the upper tiers.
The n-gram table & memory — SSD caching, fixed and fast
The 51B n-gram embedding streams directly from SSD on supporting runtimes (16 row-reads per token) — the "RAM w/ SSD-table" column above is the true resident footprint in that mode. Early runtime builds throttled in this mode; SSD-table caching is now fixed: decode runs at full speed with the table on disk — 40+ tok/s on an M5 Max for the 4-bit tier — so the biggest tiers fit comfortably on 64–128 GB machines without giving up the table.
What's in the bundle
- Vision + video: the full vision tower and both image and video preprocessors ship in this exact bundle — image-text-to-text and video understanding work out of the box on supporting runtimes (image and video token ids, mRoPE positions, and the merger are all present).
- Multi-token prediction: the model's native MTP head is preserved (trained multi-step). Enables self-speculative decode on supporting runtimes.
- Thinking + agentic: thinking mode on by default with three reasoning efforts and preserved thinking history; Hermes-style tool calling; the instruct preset gives direct non-thinking responses.
- Long context: 262,144 tokens native, extensible to 1M with YaRN.
Serving contract
- Thinking mode ON by default:
temperature=1.0, top_p=0.95, top_k=20 - Instruct mode:
temperature=0.7, top_p=0.80, top_k=20, presence_penalty=1.5 - Reasoning efforts
low / medium / xhigh(default xhigh) andpreserve_thinking(default on) via chat-template kwargs - Context 262,144 native, extensible to 1M with YaRN
- EOS
[248046, 248044]· tool calls: Hermes-style<tool_call>
Quantized and validated by Jinho Jang — eric@jangq.ai
- Downloads last month
- -
Quantized
Model tree for JANGQ-AI/Qwen3.8-Flash-Next-JANG_4S
Base model
Qwen/Qwen3.8-Flash-Next