← 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-
Pulls17.3K
Tags9
Updated2 days 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 evidenceTrue or false, and the probability of each
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

API

FieldDescription
modelclef
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. How long the model stays loaded after

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 —