Specifications
Native Audio
Audio clips and spoken questions in the same pass
Typed Answers
Values with their span, boxes, and estimates with an interval
Zero Output Tokens
No generated tokens, transcript, or speech
Quick Start
- Transformers
- llama.cpp
Install:Text input:Audio input:A clip from a file is A spoken question takes a clip as its instructions:
{"type": "audio", "path": "call.wav"} (16-bit PCM WAV, resampled to 16 kHz), or a waveform under "audio" with its "sampling_rate":{"type": "noul", "instructions": {"type": "audio", "path": "question.wav"}}.Image input:Typed Answers
Besides Noul, Choice, and Score, d1-omni-2B answers typed questions. Each question inquestions has a type and instructions:
A value or a box is missing when
found is under 0.5, and it is then None. Calibrate any decision threshold on data from your own use. See Typed Answers for every question and answer field.
Typed answers run in Transformers and mlx-vlm. llama.cpp supports Noul, Choice, and Score questions only.
Other Formats
- MLX: d1-Omni-2B-MLX-8bit and d1-Omni-2B-MLX-fp16 run on Apple Silicon with mlx-vlm, including image and audio input. They require mlx-vlm 0.7.11 or later, installed with
pip install -U "mlx-vlm>=0.7.11". See the MLX guide and the model cards for Python and CLI usage.