Instructions to use Jundot/clef-flash-oQ4e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Jundot/clef-flash-oQ4e 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("Jundot/clef-flash-oQ4e") config = load_config("Jundot/clef-flash-oQ4e") # 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 Jundot/clef-flash-oQ4e with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Jundot/clef-flash-oQ4e"
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": "Jundot/clef-flash-oQ4e" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use Jundot/clef-flash-oQ4e 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 "Jundot/clef-flash-oQ4e"
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 Jundot/clef-flash-oQ4e
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Jundot/clef-flash-oQ4e with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Jundot/clef-flash-oQ4e"
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 "Jundot/clef-flash-oQ4e" \ --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"
clef-flash-oQ4e
Updated 2026-10-11: Re-quantized with Improved oQe Quantization. Please re-download if you have an earlier copy.
This model was quantized using oQ (oMLX v0.7.1) mixed-precision quantization with Improved oQe Quantization (jundot/omlx#4385).
A mixed-precision MLX checkpoint of Cloudflare/clef-flash, a 9B decision model post-trained from Qwen/Qwen3.5-9B that turns a state and a schema of typed questions into decisions, returning a probability for every allowed option of every question in a single forward pass. It includes the Qwen3.5-9B language backbone, the vision encoder and the joint schema head.
The joint schema head (joint_head.safetensors, joint_head_config.json) is copied unchanged from the source. oMLX serves this checkpoint through POST /v1/systemone.
The effective average is 5.268 bits/weight for the complete checkpoint.
Quantization and Bit Distribution
oQ4e allocates bits by measured layer sensitivity, then rounds each group with an importance matrix (128 samples x 512 tokens) and a weighted least-squares refit of its scale and bias.
| Storage format | Logical weights | Share of total | Tensor storage | Effective bits/weight |
|---|---|---|---|---|
| Affine 4-bit, group 64 | 8.288B | 86.948% | 4.342 GiB | 4.50 |
| Affine 5-bit, group 64 | 0.665B | 6.979% | 0.426 GiB | 5.50 |
| BF16 | 0.579B | 6.073% | 1.078 GiB | 16.00 |
| Total | 9.532B | 100% | 5.846 GiB | 5.268 |
Storage Breakdown
| Component | Logical weights | Storage |
|---|---|---|
| Language backbone | 8.954B | 5.121 GB / 4.769 GiB |
| Vision encoder | 0.456B | 0.912 GB / 0.849 GiB |
| Joint schema head | 0.122B | 0.244 GB / 0.227 GiB |
| Total | 9.532B | 6.277 GB / 5.846 GiB |
License
Apache-2.0, following the source model. See LICENSE.
- Downloads last month
- 415
4-bit