aufklarer / Clef-flash-9B-MLX-4bit

huggingface.co
Total runs: 235
24-hour runs: 5
7-day runs: 48
30-day runs: 235
Model's Last Updated: October 03 2026
text-classification

Introduction of Clef-flash-9B-MLX-4bit

Model Details of Clef-flash-9B-MLX-4bit

Clef-flash 9B — MLX 4-bit

Clef-flash is a model from Cloudflare that helps your app choose what to do next. Give it some text and a list of options, and it returns a score for each option. For example, “Please turn the kitchen lights on” can map to “Turn lights on.” Your app can then use that choice to perform the action.

This version runs locally on Apple Silicon with MLX and supports text input.

Property Value
Backbone Qwen3.5, 9B class, 32 layers, hidden size 4096
Format MLX safetensors
Quantization 4-bit affine, groups of 64; original joint head retained
Weight size 5.04 GB backbone + 243.5 MB joint head
Input Text state and schema; no images, video, or audio
Output Choice probabilities, probability of true ( noul ), expected score index
Context Reference encoder limit 16,384 tokens; Swift default 4,096
License Apache-2.0

The scores show how strongly the model favors each option; a high score does not guarantee a correct answer. Send one request at a time to each loaded model.

Files
File Size Purpose
model.safetensors 5,038,160,953 B Quantized backbone, including separate output embedding
joint_head.safetensors 243,538,016 B Joint schema decision head
config.json 3,028 B Root model configuration and quantization
joint_head_config.json 119 B Head dimensions
tokenizer.json 19,989,339 B Tokenizer vocabulary and rules
tokenizer_config.json 1,186 B Tokenizer settings
clef_mlx.py 9,954 B Pinned upstream Python inference reference
LICENSE 11,544 B Upstream Apache-2.0 license and notices
UPSTREAM_README.md 4,321 B Original converter's card and attribution
export.json Generated Source revision and per-file checksums
example-request.json Small JSON Three-field Swift CLI example
validation-summary.json Generated Bundle checksums and native runtime smoke-test result
Development measurements

Native MLX Swift, release build, compiled Metal shaders, Apple M5 Pro, 48 GB unified memory. One 303-token request with three fields: light action, factual-question check, and urgency. Model load is excluded; encoding through materialized probabilities is included.

Measurement Result Scope
Warm median 0.918 s Five sequential repeats of the same request
Warm mean 0.921 s Same five repeats
Warm range 0.916–0.930 s Same five repeats
First standalone inference 4.02 s One first run, including warm-up effects
Reference token IDs 303/303 identical Python MLX reference
Maximum probability difference About 0.00292 Same three-field reference example

This is a fidelity and timing smoke test, not a broad accuracy benchmark . No memory benchmark, p95 estimate, real robot test, or comparison with hosted inference is claimed. These measurements describe the native Swift implementation; other runtimes and requests can differ. Swift support is a development preview and was not yet released at the time of these measurements (2026-10-02).

Swift

Use the Clef library from speech-swift on Apple Silicon. Clef support is currently a development preview; it requires a checkout containing the Clef library and clef-decide product. Download this model's files into a local directory, then load it:

import Foundation
import Clef

let model = try Clef.load(
    from: URL(fileURLWithPath: "/path/to/Clef-flash-9B-MLX-4bit")
)

let result = try model.decide(
    state: "Please turn the kitchen lights on.",
    questions: [
        ClefQuestion(
            id: "action",
            instructions: "Which action was requested?",
            kind: .choice([
                "on": "Turn lights on",
                "off": "Turn lights off",
                "other": "Other request"
            ])
        )
    ]
)

for decision in result.decisions {
    print(decision.id, decision.selectedOption, decision.confidence)
    print(decision.probabilities)
}

Load the model once, then reuse it for each request. If the text and options are too long, the library returns an error rather than cutting them short.

Command line
swift build -c release --product clef-decide --disable-sandbox
scripts/build_mlx_metallib.sh release
.build/release/clef-decide /path/to/downloaded/model /path/to/downloaded/model/example-request.json
Sources
Links

Runs of aufklarer Clef-flash-9B-MLX-4bit on huggingface.co

235
Total runs
5
24-hour runs
16
3-day runs
48
7-day runs
235
30-day runs

More Information About Clef-flash-9B-MLX-4bit huggingface.co Model

More Clef-flash-9B-MLX-4bit license Visit here:

https://choosealicense.com/licenses/apache-2.0

Clef-flash-9B-MLX-4bit huggingface.co

Clef-flash-9B-MLX-4bit huggingface.co is an AI model on huggingface.co that provides Clef-flash-9B-MLX-4bit's model effect (), which can be used instantly with this aufklarer Clef-flash-9B-MLX-4bit model. huggingface.co supports a free trial of the Clef-flash-9B-MLX-4bit model, and also provides paid use of the Clef-flash-9B-MLX-4bit. Support call Clef-flash-9B-MLX-4bit model through api, including Node.js, Python, http.

Clef-flash-9B-MLX-4bit huggingface.co Url

https://huggingface.co/aufklarer/Clef-flash-9B-MLX-4bit

aufklarer Clef-flash-9B-MLX-4bit online free

Clef-flash-9B-MLX-4bit huggingface.co is an online trial and call api platform, which integrates Clef-flash-9B-MLX-4bit's modeling effects, including api services, and provides a free online trial of Clef-flash-9B-MLX-4bit, you can try Clef-flash-9B-MLX-4bit online for free by clicking the link below.

aufklarer Clef-flash-9B-MLX-4bit online free url in huggingface.co:

https://huggingface.co/aufklarer/Clef-flash-9B-MLX-4bit

Clef-flash-9B-MLX-4bit install

Clef-flash-9B-MLX-4bit is an open source model from GitHub that offers a free installation service, and any user can find Clef-flash-9B-MLX-4bit on GitHub to install. At the same time, huggingface.co provides the effect of Clef-flash-9B-MLX-4bit install, users can directly use Clef-flash-9B-MLX-4bit installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Clef-flash-9B-MLX-4bit install url in huggingface.co:

https://huggingface.co/aufklarer/Clef-flash-9B-MLX-4bit

Url of Clef-flash-9B-MLX-4bit

Clef-flash-9B-MLX-4bit huggingface.co Url

Provider of Clef-flash-9B-MLX-4bit huggingface.co

aufklarer
ORGANIZATIONS

Other API from aufklarer

huggingface.co

Total runs: 2.5K
Run Growth: 2.3K
Growth Rate: 94.66%
Updated:September 16 2025
huggingface.co

Total runs: 151
Run Growth: 93
Growth Rate: 61.59%
Updated:October 15 2025