/ Модель

Характеристики

Размер весов
6,2 ГБ
Лицензия
Своя лицензия
Архитектура
lfm2_vl · dense
Базовая модель
d1-3B
Библиотека
mlx
Опубликована
12 окт 2026

d1-3B-MLX-fp16

Изображение и текст → текст7 профессий

Экспортированная в MLX float16 модель Liquid AI для классификации и выбора по тексту, JSON и изображениям за один проход.

615скачиваний за 30 дней6лайковвеса обновлены2 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

d1-3B-MLX-fp16 — экспорт модели решений d1-3B от Liquid AI в формате MLX с весами float16 для запуска на Apple Silicon через mlx-vlm. Модель принимает состояние в виде текста, JSON или изображения и за один проход отвечает на именованные вопросы с заданными типами ответов; она оценивает варианты напрямую, без генерации токенов. Архитектура — плотная Lfm2VlForConditionalGeneration с поддержкой изображений и диалогового режима; размер базовой модели — 3 млрд параметров.

Модель подходит для классификации, выбора между вариантами, оценок и проверок по тексту, структурированным данным и изображениям. В README заявлено совпадение наиболее вероятного ответа с исходным запуском float32 на 145 из 145 проверенных текстовых и визуальных ответов, однако это лишь проверка согласованности, а не бенчмарк точности. Экспорт требует MLX-VLM версии 0.7.8 или новее и предназначен для Apple Silicon. Лицензия указана как other; конкретные условия следует сверить с карточкой модели.

Сценарии применения

  • классификация изображений по заданным категориям
  • выбор наиболее подходящего варианта из списка
  • оценка состояния по текстовому описанию или JSON
  • проверка соответствия заданным критериям
  • ответы на типизированные вопросы об изображении

Ограничения

Проверка согласованности охватывает 145 ответов и не является оценкой точности на независимом бенчмарке. Для запуска требуется Apple Silicon и MLX-VLM 0.7.8 или новее.

Для каких профессий подходит7

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

d1-3B-MLX-fp16

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.

This repository is an MLX export of d1-3B in float16 for Apple Silicon, run with mlx-vlm. Find more details in the original model card: https://huggingface.co/LiquidAI/d1-3B

🏃 How to run d1-3B

Requires MLX-VLM 0.7.8 or later:

pip install -U "mlx-vlm>=0.7.8"
from mlx_vlm import load, predict

model, processor = load("LiquidAI/d1-3B-MLX-fp16")

# Text: several named questions over one state, answered in one pass
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"],
    },
}
result = predict(model, processor, "I was charged twice this month, please refund one of them.", questions)
print(result["answers"])

# Image: the photo is the whole state
cats = {
    "type": "choice",
    "instructions": "How many cats are there?",
    "criteria": {"one": "One", "two": "Two", "more": "Three or more"},
}
print(predict(model, processor, None, {"cats": cats},
              images=["http://images.cocodataset.org/val2017/000000039769.jpg"]))

Each call returns {"answers": {name: answer}, "usage": {"input_tokens": n, "output_tokens": 0}}. A choice answer has the chosen label in value, plus probabilities and metadata.confidence; a score answer has the expected level in value, plus probabilities and the level legend; a noul (or bool) answer has probability, the probability of yes.

From the command line:

python -m mlx_vlm decide --model LiquidAI/d1-3B-MLX-fp16 \
  --state "I was charged twice this month, please refund one of them." \
  --questions '{"refund": {"type": "noul", "instructions": "Is the customer asking for a refund?"}}'

--state is optional with one or more --image options.

As a server, with the same request shape on /v1/decisions ("images" take URLs, paths or base64 data URIs):

python -m mlx_vlm server --decision-model LiquidAI/d1-3B-MLX-fp16

curl http://127.0.0.1:8080/v1/decisions -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?"}}
}'

📏 Precisions

Every precision was checked against the original checkpoint run in float32 with mlx-vlm, which matches the PyTorch reference to about 1e-5 in probability. The check covers 104 text and 41 image answers. "Same top answer" counts answers whose most likely option matches the float32 run; Δp is the largest change in any option's probability.

RepositoryWeightsSizeSame top answerMax ΔpMean Δp
d1-3B-MLX-fp16float166.25 GB145/1450.0050.0006
d1-3B-MLX-8bit8-bit language model; vision tower, projector and norms in float163.72 GB144/1450.0150.0020
d1-3B-MLX-4bit4-bit language model; vision tower, projector and norms in float162.37 GB142/1450.2120.0276

float16 is the recommended precision. The checkpoint is stored in bfloat16; in float16 all but about 0.1% of its weights, the very smallest, are exact and none overflow, and float16 computes with more precision at the same speed on Apple GPUs. It stays closest to the float32 answers, so there is no bfloat16 export. The quantized exports keep their unquantized parts in float16, which cut the 8-bit drift by more than half compared with bfloat16. 8-bit moves probabilities by up to about 0.015. 4-bit moves them by up to about 0.2, so prefer it only where memory matters more than calibration. The top answers that changed were near ties, with the float32 runner-up within 0.1. The vision tower and projector are never quantized. This check is a smoke test of agreement, not an accuracy benchmark.

🧪 Recipe

Converted from d1-3B with mlx-vlm:

python -m mlx_vlm convert --hf-path LiquidAI/d1-3B --mlx-path d1-3B-MLX-fp16 --dtype float16

The upstream PyTorch .py files were removed after conversion; config.json keeps its auto_map entry, which mlx-vlm uses to select d1.

Citation

@article{liquidAI2026opend1,
  author  = {Liquid AI},
  title   = {Open d1: Edge decision models for text, vision, and audio},
  journal = {Liquid AI Blog},
  year    = {2026},
  note    = {https://www.liquid.ai/blog/d1-open},
}
@article{liquidai2025lfm2,
  title   = {LFM2 Technical Report},
  author  = {Liquid AI},
  journal = {arXiv preprint arXiv:2511.23404},
  year    = {2025}
}

📄 License

This model is released under the LFM 1.0 License, as is the original checkpoint.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · mlx

Нельзя запустить

MLX-модели работают только на Apple Silicon.

Класс архитектуры
Lfm2VlForConditionalGeneration
Ревизия весов
1cb27b1

0 моделей