Text Generation
MLX
Safetensors
qwen4_exp
omlx
oq
quantized
apple-silicon
mixture-of-experts
4-bit precision
long-context
conversational
tool-calling
Instructions to use jedisct1/Qwen3.8-Flash-Next-oQ4e-128k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use jedisct1/Qwen3.8-Flash-Next-oQ4e-128k 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("jedisct1/Qwen3.8-Flash-Next-oQ4e-128k") 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 jedisct1/Qwen3.8-Flash-Next-oQ4e-128k with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "jedisct1/Qwen3.8-Flash-Next-oQ4e-128k"
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": "jedisct1/Qwen3.8-Flash-Next-oQ4e-128k" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use jedisct1/Qwen3.8-Flash-Next-oQ4e-128k with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "jedisct1/Qwen3.8-Flash-Next-oQ4e-128k"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "jedisct1/Qwen3.8-Flash-Next-oQ4e-128k" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jedisct1/Qwen3.8-Flash-Next-oQ4e-128k", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use jedisct1/Qwen3.8-Flash-Next-oQ4e-128k 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 "jedisct1/Qwen3.8-Flash-Next-oQ4e-128k"
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 jedisct1/Qwen3.8-Flash-Next-oQ4e-128k
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use jedisct1/Qwen3.8-Flash-Next-oQ4e-128k with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "jedisct1/Qwen3.8-Flash-Next-oQ4e-128k"
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 "jedisct1/Qwen3.8-Flash-Next-oQ4e-128k" \ --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"
Add oQ4e model weights
Browse files- model-00001-of-00018.safetensors +3 -0
- model-00002-of-00018.safetensors +3 -0
- model-00003-of-00018.safetensors +3 -0
- model-00004-of-00018.safetensors +3 -0
- model-00005-of-00018.safetensors +3 -0
- model-00006-of-00018.safetensors +3 -0
- model-00007-of-00018.safetensors +3 -0
- model-00008-of-00018.safetensors +3 -0
- model-00009-of-00018.safetensors +3 -0
- model-00010-of-00018.safetensors +3 -0
- model-00011-of-00018.safetensors +3 -0
- model-00012-of-00018.safetensors +3 -0
- model-00013-of-00018.safetensors +3 -0
- model-00014-of-00018.safetensors +3 -0
- model-00015-of-00018.safetensors +3 -0
- model-00016-of-00018.safetensors +3 -0
- model-00017-of-00018.safetensors +3 -0
- model-00018-of-00018.safetensors +3 -0
model-00001-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29d01fc8803bbc67a5ff36841448da74ccb31415c372b57ac6ad19e40ce69d7b
|
| 3 |
+
size 5203799123
|
model-00002-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36bddaac556f5d060f6069d05f431da2ee3d4b20ad4b75cfaf6f22176148d6b0
|
| 3 |
+
size 5347742126
|
model-00003-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d18a3a9f74af96049ba3a32e5c714f1053b6aef96bc22152cf84a78daa52af69
|
| 3 |
+
size 5347742128
|
model-00004-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b75e6a493ca4f5e363d588f579d8b9eb19148d0386c08d5675b47e899fc772b
|
| 3 |
+
size 5347742150
|
model-00005-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8cca72a4ee0706bbec8de41e695eaaff05d24c69d8474ad6c0c763fff6f05ff
|
| 3 |
+
size 5347742164
|
model-00006-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2f023869dd91927b4e630a5f3a4e3baecfcb6d714da795dee3a3d377e9bd730
|
| 3 |
+
size 5347742164
|
model-00007-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c186fca9d8524487a177464f67808d33830f8eab067a469f55523623ce12859
|
| 3 |
+
size 5347742162
|
model-00008-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:043f6c79e8b30ff0c163b8394aa18642a765cf049c3c9260965fa7c625e680ed
|
| 3 |
+
size 5347742162
|
model-00009-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:423c163ec747c1b1bc2216878549c975fb16c32ad2ba27e35e0aa9f467446461
|
| 3 |
+
size 5347742168
|
model-00010-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e10a57cc3e30c51ed033ddcb19a576f8569bda75d00859385e06b3d23b619788
|
| 3 |
+
size 5347742158
|
model-00011-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ae57644f286e28a32607417fcaebf70fda1f0a649725f86619ae6b01d9e8a1e
|
| 3 |
+
size 5347742156
|
model-00012-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a821b15dfb8622f61da920af83ba3c5faf696b7e3ca02f61dd60b75bd5744c2
|
| 3 |
+
size 5347742150
|
model-00013-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc7fa24427902bd585b2ddc994a82a3f57c197651eb4345abc34276c5c9a78fa
|
| 3 |
+
size 5165172973
|
model-00014-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb4f8fc58354cfec18bec4396297611e48321096e5f2719feb170bb063b9f3a2
|
| 3 |
+
size 5000034799
|
model-00015-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b62eebc114226d8ec2c904eeb04d2cbabeaa81c43af90f41b2db033c6b0d820
|
| 3 |
+
size 5000034790
|
model-00016-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:089ab3304842d4dfc0ac5bcfa75c9c9158ca573b251c475ea1a7a4fbd157da7f
|
| 3 |
+
size 5000034802
|
model-00017-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48c65408545ac15c54f2511953312707e0b3b1ea6e252ab59cb27b5bd6468fd7
|
| 3 |
+
size 5000034839
|
model-00018-of-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66666b66adf9a003ea19f743cae145729096990ac0ffdaa0254d920556d9b845
|
| 3 |
+
size 3800026503
|