← Back to registry
Open Source Community

clef:cloud

Low usage

Clef is a 27B multimodal model created by Cloudflare that turns a state and a schema of typed questions into decisions.

visioncloud
Context window64K
ModalitiesText, Image
Size-
Pulls42.4K
Tags9
Updated1 week ago
ollama run clef:cloud

Highlights

What you can build

TaskYou defineYou get back
Route a requestThe destinations and when each appliesThe chosen destination and each destination’s pr
Check a conditionA yes-or-no question and the evidenceThe probability that the answer is yes
Apply a policyThe rules and the allowed outcomesA typed decision based on the text or images you
Read a documentA photo of the page and the fields to decideA field-by-field decision with probabilities
Moderate a tool callThe call an agent is about to makeThe probability that it’s harmful, before it run

API

FieldDescription
modelclef locally, or clef:cloud through a local Olla
stateThe text to judge. Use a string, or a JSON objec
imagesOptional. Base64-encoded PNG, JPEG, or WebP imag
questions1 to 64 named questions. Answers come back in th
keep_aliveOptional, local only. How long the model stays l

Benchmarks

BenchmarkClefClef-flash
BFCL (case exact accuracy)98.598.8
API-Bank (accuracy)91.993.1
BANKING77 (macro-F1)94.290.9
CLINC150+OOS (macro-F1)97.466.8
Home appliance simulator (case exact accuracy)83.097.7
ANLI (macro-F1)69.859.1
RouterBench (selected quality)79.779.9
PhishNChips (accuracy)79.675.0
Specs sourced from ollama.com/library/clef · Retrieved —