/ Модель

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

Контекст
262 144 токена
Размер весов
19,3 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
Qwen3.5-9B
Библиотека
transformers
Опубликована
12 ноя 2026

clairic-flash

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

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

1 842скачиваний за 30 дней91лайквеса обновлены18 ноя 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Clairic Flash — мультимодальная модель Cloudflare на 9 млрд параметров, дообученная на базе Qwen3.5-9B для выдачи структурированных ответов по заданной схеме полей. Она принимает текст или JSON-состояние, необязательные изображения и спецификации полей, а возвращает типизированные значения, списки, null, числовые оценки и прогнозы. Поддерживаются извлечение информации, оценивание и прогнозирование; для значений могут возвращаться оценки уверенности, вероятности null и, при запросе, квантили.

Модель рассчитана на извлечение данных из текста и изображений, в том числе документов и чеков, а также на вычисление оценок и прогнозных рядов с заданными ограничениями. Входные изображения передаются как PIL или base64; удалённые URL медиа не поддерживаются. Обработка использует PyTorch и Transformers, а Python-интерфейс проверяет спецификации полей и сообщает об усечении входа и использовании токенов.

Вероятности модели следует оценивать на данных конкретного приложения и использовать вместе с признаками полноты ответа и усечения входа. Размер входных медиа ограничен 4 МиБ на элемент и 8 МиБ суммарно; допускается не более четырёх изображений или страниц PDF. Лицензия — Apache-2.0.

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

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

Ограничения

Оценки уверенности являются вероятностями модели и требуют проверки на данных приложения; перед использованием результата следует учитывать усечение входа и показатели полноты. Входные медиа ограничены указанными размерами и максимум четырьмя изображениями или страницами PDF; удалённые URL не принимаются.

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

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

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

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

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

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

Открыть на Hugging Face

Clairic Flash

Clairic Flash is a 9B multimodal model that turns a state and a schema of typed fields into structured answers. It supports text and image inputs, extraction, numerical estimation, and forecasting. Each field has its own value and scoring information; the response also reports input truncation and token usage.

See Clairic for the other model in the Clairic family.

Model

  • Base model: Qwen3.5-9B.
  • Inputs: a text or JSON state, optional images, and a mapping of field names to specifications.
  • Outputs: typed values, lists, nulls, estimates, and forecast paths.
  • Scoring: extraction confidence and null probabilities, plus optional quantiles for estimates.
  • Runtime: PyTorch and Transformers, with local Python request helpers.

Usage

Use Python 3.11 or later and install the packages listed in requirements.txt. Inference uses PyTorch and Transformers; xgrammar supplies schema constraints through a Transformers logits processor.

Download the repository, load the model and processor, and call systemone with a System One: Extract request.

import sys

from huggingface_hub import snapshot_download

path = snapshot_download("Cloudflare/clairic-flash")
sys.path.insert(0, path)
from clairic_model import load_release_model, systemone

model, processor = load_release_model(path, device="cuda")

response = systemone(
    model,
    processor,
    {
        "state": (
            "Invoice from Northwind Supply. Issued 2026-09-02. "
            "Items: Pens; Paper. Total: $1080.00."
        ),
        "fields": {
            "vendor": {"type": "text", "instructions": "The invoice vendor."},
            "total": {"type": "number", "decimals": 2},
            "issued": {"type": "date"},
            "items": {
                "type": "list",
                "items": "text",
                "instructions": "The purchased item names, in order.",
            },
        },
    },
)
print(response["answers"])

Images

Pass PIL images alongside the state. Embedded base64 image inputs are also accepted.

from PIL import Image

response = systemone(
    model,
    processor,
    {
        "state": "Read the attached receipt.",
        "images": [Image.open("receipt.png")],
        "fields": {
            "merchant": {"type": "text", "instructions": "The merchant name."},
            "total": {"type": "number", "decimals": 2},
        },
    },
)
print(response["answers"])

Estimates and forecasts

Declare a range for estimated values. Forecasts also specify a horizon and interval. Set include_quantiles to return the available quantiles.

response = systemone(
    model,
    processor,
    {
        "state": "Daily demand for the last seven days: 41, 45, 43, 47, 49, 46, 48.",
        "fields": {
            "next_day": {"type": "estimate", "min": 0, "max": 100},
            "next_three_days": {
                "type": "forecast",
                "min": 0,
                "max": 100,
                "horizon": 3,
                "interval": "day",
            },
        },
        "options": {"include_quantiles": True},
    },
)
print(response["answers"])

Input format

FieldDescription
modelOptional clairic-flash or @cf/cloudflare/clairic-flash
stateSource text; the Python helper serializes JSON values to text
imagesOptional PIL images or embedded base64 images
documentsOptional embedded PDF data URIs or content_type / base64 objects
fieldsMapping of output field names to typed specifications
reference_dateOptional ISO date for relative date instructions
options.include_quantilesInclude available estimate and forecast quantiles
options.return_state_textInclude the retained source text in the response

Field specifications support text, number, date, time, datetime, duration, boolean, enum, object, list, compute, estimate, and forecast. instructions describes what to return. Numeric fields can specify units and rounding; lists declare their item schema; estimates and forecasts require bounds. nullable defaults to true. source_only: true selects literal printed numbers, dates, times, datetimes, or number/date lists. knowledge: true permits knowledge answers for text, numbers, and supported list children. compute selects the typed numeric head. Unsupported options and invalid combinations are rejected.

Embedded inputs are limited to 4 MiB each and 8 MiB combined. Images and rendered PDF pages share a four-image/page limit. Image rotation accepts 0, 90, 180, or 270 clockwise degrees after EXIF orientation. Remote media URLs are not accepted.

Response

systemone returns a dictionary with model, answers, truncated, and usage. Answers are keyed by the requested field names. Generated scalar extraction answers retain valid, complete, full-sequence confidence, and independently scored p_null. Uniquely matched text evidence includes character spans in state; image-only or ambiguous evidence has null spans. Lists preserve item order and duplicates. Estimates and forecasts include their typed values and, when requested, quantiles.

Scores are model probabilities and should be evaluated for the application's own acceptance thresholds. Inspect truncated and any answer completeness indicators before relying on a result.

Usage includes retries and supplemental work. The response model ID is clairic-flash. The Python API raises validation or request errors for invalid inputs, a queue-full error for simultaneous requests, and an inference error for failed generation. Use await model.predict_async(request) in an async application; cancellation drains owned work before admitting another request.

Files

FilePurpose
model*.safetensors, model.safetensors.index.json, config.jsonModel weights and configuration
clair_head.safetensors, clair_head_config.jsonTyped output components
clairic_model.py and supporting Python modulesTransformers loading and request handling
Tokenizer and processor filesText and image preprocessing
requirements.txtPython dependencies
LICENSEApache-2.0 license

License

Released under the Apache-2.0 license.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3_5ForConditionalGeneration
Ревизия весов
36ad68b

0 моделей