Nanosaur2-670M
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
A 4-bit MLX copy of Cloudflare's clef-flash that turns a state and typed questions into a probability for every allowed answer on Apple Silicon Macs. Not a chat model. Runs locally with its own loader.
clef-flash-4bit is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install "mlx-vlm>=0.7.4,<0.8" huggingface_hub # no torch needed
This is Cloudflare's clef-flash converted to 4-bit MLX for Apple Silicon. You give it a state, which can be text, JSON, images or video, plus a set of typed questions. It returns a probability for every allowed option in one pass.
It is not a chat model. Chat tools may load the backbone but produce meaningless text, so you use the loader file that ships with it, clef_mlx.py.
Developers with an Apple Silicon Mac who want to classify or route messages, images or other inputs locally, with structured answers instead of free text.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Customer support | Support engineers | Route incoming messages by team and urgency | Sending a checkout failure report to the technical team |
| Operations | Ops teams | Check whether a service is down from a report | Marking an outage message as urgent |
| Finance | Back-office developers | Check images such as receipts | Asking whether a receipt total is legible |
| Software | App developers | Add on-device decisions to a Mac app | A local triage step before a message reaches a person |
Anyone looking for a chat model can skip it, and so can anyone without Apple Silicon.
| Use case | Who | What they get back |
|---|---|---|
| Message triage | Support teams | A probability for each team or urgency option |
| Yes or no checks | Operations | A probability for each answer to a typed question |
| Image checks | Developers | Answers about an attached image |
You need a Mac with Apple Silicon and enough RAM. The tested set is mlx at 0.32.3, mlx-lm at 0.32.0 and mlx-vlm at 0.7.4. The loader warns if you use an untested mlx-vlm minor version.
pip install "mlx-vlm>=0.7.4,<0.8" huggingface_hub # no torch needed
Load the model, then call systemone with a state and a set of typed questions. The question types in the card are choice, score and noul.
import sys
from huggingface_hub import snapshot_download
path = snapshot_download("mlx-community/clef-flash-4bit")
sys.path.insert(0, path)
import clef_mlx
model = clef_mlx.load(path)
response = model.systemone({
"model": "clef-flash",
"state": "Our checkout started returning errors and orders are blocked.",
"questions": {
"department": {
"type": "choice",
"instructions": "Which team should handle the message?",
"criteria": {"billing": "Payments or invoices", "technical": "Bugs or outages"},
},
"urgency": {"type": "score", "criteria": ["Can wait", "This week", "Today"]},
"outage": {"type": "noul", "instructions": "Is a service down?"},
},
})
print(response["answers"])For images, pass PIL images in the images field. Videos go in as frame arrays in the videos field.
from PIL import Image
model.predict({
"state": {"task": "Review the attached receipt."},
"images": [Image.open("receipt.jpg")],
"questions": {"legible": {"type": "noul", "instructions": "Is the receipt total legible?"}},
})You can also run the loader straight from the command line, inside the downloaded folder:
cd "$(hf download mlx-community/clef-flash-4bit --quiet)"
python clef_mlx.py predict \
--state "Checkout has been failing for every customer for the last hour." \
--questions '{"urgent": {"type": "noul", "instructions": "Is this urgent?"},
"team": {"type": "choice", "criteria": {"billing": "Payments", "technical": "Outages and errors"}}}'To run a local server instead, use the serve command:
python clef_mlx.py serve --port 8000
| Tool | What it does |
|---|---|
| clef_mlx.load | Loads the model and its question head from a folder |
| model.systemone | Answers typed questions about a state |
| model.predict | Takes a state, images and questions in one request |
| clef_mlx.py predict | Runs a prediction from the command line |
| clef_mlx.py serve | Starts a local server with a systemone endpoint |
Give the model a short report saying checkout is failing and orders are blocked. Ask which team should handle it, how urgent it is and whether a service is down. The answers field holds a probability for every option of each question.
If you are new, think of it as a triage helper that answers multiple-choice questions about an input and shows how sure it is. Run the Python example once with the sample report.
For experts, it is a 9B base with a joint schema head, run in a single forward pass. The card lists 6.2 GB of download, about 7.0 to 8.6 GB peak memory from 1k to 16k tokens, and latency of 0.31 s at 1k tokens. Larger 27B variants score higher, while the 9B ones run much faster.
The points below cover limits and costs.
A 4-bit MLX copy of Cloudflare's clef-flash that turns a state and typed questions into a probability for every allowed answer on Apple Silicon Macs. Not a chat model. Runs locally with its own loader.
Made by mlx-community on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: This is Cloudflare's clef-flash converted to 4-bit MLX for Apple Silicon. You give it a state, which can be text, JSON, images or video, plus a set of typed questions. It returns a probability for every allowed option in one pass.
It is not a chat model. Chat tools may load the backbone but produce meaningless text, so you use the loader file that ships with it, clef_mlx.py.
Who it suits: Developers with an Apple Silicon Mac who want to classify or route messages, images or other inputs locally, with structured answers instead of free text.
Industry | Who uses it | How they use it | Example
Customer support | Support engineers | Route incoming messages by team and urgency | Sending a checkout failure report to the technical team
Operations | Ops teams | Check whether a service is down from a report | Marking an outage message as urgent
Finance | Back-office developers | Check images such as receipts | Asking whether a receipt total is legible
Software | App developers | Add on-device decisions to a Mac app | A local triage step before a message reaches a person
Anyone looking for a chat model can skip it, and so can anyone without Apple Silicon.
Where to use it:
Use case | Who | What they get back
Message triage | Support teams | A probability for each team or urgency option
Yes or no checks | Operations | A probability for each answer to a typed question
Image checks | Developers | Answers about an attached image
How to set it up: You need a Mac with Apple Silicon and enough RAM. The tested set is mlx at 0.32.3, mlx-lm at 0.32.0 and mlx-vlm at 0.7.4. The loader warns if you use an untested mlx-vlm minor version.
pip install "mlx-vlm>=0.7.4,<0.8" huggingface_hub # no torch needed
How to use it: Load the model, then call systemone with a state and a set of typed questions. The question types in the card are choice, score and noul.
import sys
from huggingface_hub import snapshot_download
path = snapshot_download("mlx-community/clef-flash-4bit")
sys.path.insert(0, path)
import clef_mlx
model = clef_mlx.load(path)
response = model.systemone({
"model": "clef-flash",
"state": "Our checkout started returning errors and orders are blocked.",
"questions": {
"department": {
"type": "choice",
"instructions": "Which team should handle the message?",
"criteria": {"billing": "Payments or invoices", "technical": "Bugs or outages"},
},
"urgency": {"type": "score", "criteria": ["Can wait", "This week", "Today"]},
"outage": {"type": "noul", "instructions": "Is a service down?"},
},
})
print(response["answers"])
For images, pass PIL images in the images field. Videos go in as frame arrays in the videos field.
from PIL import Image
model.predict({
"state": {"task": "Review the attached receipt."},
"images": [Image.open("receipt.jpg")],
"questions": {"legible": {"type": "noul", "instructions": "Is the receipt total legible?"}},
})
You can also run the loader straight from the command line, inside the downloaded folder:
cd "$(hf download mlx-community/clef-flash-4bit --quiet)"
python clef_mlx.py predict \
--state "Checkout has been failing for every customer for the last hour." \
--questions '{"urgent": {"type": "noul", "instructions": "Is this urgent?"},
"team": {"type": "choice", "criteria": {"billing": "Payments", "technical": "Outages and errors"}}}'
To run a local server instead, use the serve command:
python clef_mlx.py serve --port 8000
Tool | What it does
clef_mlx.load | Loads the model and its question head from a folder
model.systemone | Answers typed questions about a state
model.predict | Takes a state, images and questions in one request
clef_mlx.py predict | Runs a prediction from the command line
clef_mlx.py serve | Starts a local server with a systemone endpoint
Example: Give the model a short report saying checkout is failing and orders are blocked. Ask which team should handle it, how urgent it is and whether a service is down. The answers field holds a probability for every option of each question.
For newcomers and experts: If you are new, think of it as a triage helper that answers multiple-choice questions about an input and shows how sure it is. Run the Python example once with the sample report.
For experts, it is a 9B base with a joint schema head, run in a single forward pass. The card lists 6.2 GB of download, about 7.0 to 8.6 GB peak memory from 1k to 16k tokens, and latency of 0.31 s at 1k tokens. Larger 27B variants score higher, while the 9B ones run much faster.
Provide a state and typed questions
The loader runs the 4-bit backbone
The joint schema head scores each option
One forward pass gives all probabilities
You read the answers field
Title: Download size in GB
clef-flash-4bit: 6.2 GB
clef-flash-8bit: 10.7 GB
clef-4bit: 16.3 GB
clef-8bit: 29.8 GB
Good to know: The points below cover limits and costs.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download mlx-community/clef-flash-4bit
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 7 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| clef-flash-4bit This page | 3,524 | 40 | 9.4B | apache-2.0 | |
| Cloudflare clef GGUFShares structured-output · cloudflare · clef | 18,354 | 36 | 27B | apache-2.0 | |
| ClefShares cloudflare · clef · systemone | 72,287 | 2,356 | 27.4B | apache-2.0 | |
| Clef-FlashShares cloudflare · clef · systemone | 36,799 | 919 | 9.4B | apache-2.0 | |
| pplx-decider-flash-v1.2Shares custom-code · classification · decision-model | 7,052 | 78 | 4.5B | apache-2.0 | |
| pplx-decider-v1.2Shares custom-code · classification · decision-model | 5,700 | 74 | 26.1B | apache-2.0 |
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Waqf-AI · Kit
Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.
Wan-AI · Kit
Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.
Wan-AI · Kit
Generates cinematic video of a character driven by an audio track, and can also lip-sync existing video. For video creators, animators and researchers with a l…
Wan-AI · Kit
Animates a character or swaps one into a video by copying a performer's movement and expressions, as one model from the Wan2.2 video family. Use only faces and…
vllm-sr · Kit
Answers choice, yes-or-no, score, box and tracking questions about text, images or video in one call, with a probability for each answer. For people building r…