Try LFM •
Docs •
Discord
d1-3B-GGUF
d1-3B is a decision model developed by Liquid AI: it answers named, typed questions over a state (text, JSON or images) in one forward pass, with no generated tokens.
Find more details in the original model card: https://huggingface.co/LiquidAI/d1-3B
🏃 How to run d1-3B
Example usage with llama.cpp:
llama-server -hf LiquidAI/d1-3B-GGUF:Q8_0
Then send questions to the /v1/systemone endpoint.
Text
curl http://127.0.0.1:8080/v1/systemone -H "Content-Type: application/json" -d '{
"state": "I was charged twice this month, please refund one of them.",
"questions": {
"refund": {"type": "noul", "instructions": "Is the customer asking for a refund?"},
"team": {"type": "choice", "instructions": "Which team should handle this?",
"criteria": {"billing": "Charges, refunds, invoices", "technical": "App or site faults",
"fraud": "Suspected unauthorised use"}},
"urgency": {"type": "score", "instructions": "How urgent is this?",
"criteria": ["Can wait", "Today", "Blocking the customer now"]}
}
}'
Image + Text
curl -sL -o cats.jpg http://images.cocodataset.org/val2017/000000039769.jpg # two cats on a sofa
curl http://127.0.0.1:8080/v1/systemone -H "Content-Type: application/json" -d @- <<JSON
{
"state": "Photo attached to a pet-sitting request.",
"images": ["data:image/jpeg;base64,$(base64 < cats.jpg | tr -d '\n')"],
"questions": {
"pet": {"type": "choice", "instructions": "Which animals are in the photo?",
"criteria": {"cats": "Cats", "dogs": "Dogs", "birds": "Birds"}},
"sofa": {"type": "noul", "instructions": "Are the animals on a sofa?"}
}
}
JSON
The state can be null when the images are the whole state.