--- library_name: gguf license: other license_name: lfm1.0 license_link: LICENSE language: - ar - zh - en - fr - de - hi - id - it - ja - ko - pl - pt - ru - es - th - vi pipeline_tag: image-text-to-text base_model: LiquidAI/d1-3b tags: - liquid - lfm2.5 - edge - decision - classification - calibration - system-one - multimodal - gguf - llama.cpp ---
Liquid AI
Try LFM • Docs • Discord
# d1-3B-GGUF d1-3B is a decision model developed by [Liquid AI](https://www.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](https://github.com/ggml-org/llama.cpp): ```bash llama-server -hf LiquidAI/d1-3B-GGUF:Q8_0 ``` Then send questions to the `/v1/systemone` endpoint. ### Text ```bash 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 ```bash 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 @- <