Skip to content
Computer vision

Lucia v1.1-nc

структурированный анализ изображений для Qwen3.5-9B

3 min readupdated

Lucia v1.1-nc от автора AbstractPhil — это LoRA (небольшая надстройка над базовой моделью) для мультимодальной Qwen/Qwen3.5-9B. Модель рассматривает изображение и пошагово рассуждает о нём простым языком: сначала выстраивает цепочку наблюдений (объекты, форма, свет, настроение), затем генерирует описание, промпт для генерации, теги и список уточняющих вопросов с ответами. В отличие от первой версии, адаптер обучен со специальным ограничением (KL-дивергенцией), поэтому на обычных запросах он ведёт себя как исходная Qwen3.5-9B и не сваливается в шаблонный разбор. Подойдёт исследователям и разработчикам, которым нужно автоматизировать детальную разметку картинок и сбор датасетов без потери общих навыков VLM.

Ключевые особенности

  • Три глубины анализа: в зависимости от фразы в запросе (a quick look, a closer look или a long look) модель выдаёт от краткой подписи до полного разбора с тегами, промптом и критикой.
  • Проверка фактов в ответах: каждый уточняющий вопрос в конце разбора помечается тегом [record] (видно прямо на фото), [chain] (выведено логически) или [unknown].
  • Сохранение навыков базы: на 465 тестовых обычных запросах модель ни разу не применила формат разбора по ошибке (в v1 такое случалось в 48% ответов).
  • Чистая обучающая выборка: 43 217 примеров на базе датасетов COCO 2017, DOCCI, FFHQ и DeepFashion-MultiModal, размеченных моделями OpenAI, Google и DeepSeek.

Что можно сделать

  • Подготовка датасетов для обучения генераторов: пропускать коллекции фотографий через запрос a closer look или a long look, чтобы сразу получать связные описания, теги и готовые промпты.
  • Автоматическая каталогизация и поиск: извлекать структурированные пары «вопрос — ответ» по атрибутам объектов (цвет, состояние, расположение в кадре) для индексации фотоархивов.
  • Универсальный визуальный ассистент: использовать один загруженный адаптер и для структурированного разбора сцен, и для обычных диалогов по картинкам и тексту.

Пример

from peft import PeftModel
from PIL import Image
from transformers import AutoModelForMultimodalLM, AutoProcessor

processor = AutoProcessor.from_pretrained("AbstractPhil/qwen3.5-9b-think-symbolic-image-nc")
base = AutoModelForMultimodalLM.from_pretrained("Qwen/Qwen3.5-9B", dtype="bfloat16", device_map="cuda")
model = PeftModel.from_pretrained(base, "AbstractPhil/qwen3.5-9b-think-symbolic-image-nc").merge_and_unload().eval()

image = Image.open("picture.jpg").convert("RGB")
prompt = "Look at this picture and think it through in writing, a closer look; then write a caption and a prompt or tags."
messages = [{"role": "user", "content": [{"type": "image", "image": image}, {"type": "text", "text": prompt}]}]
text = processor.apply_chat_template(messages, add_generation_prompt=True, tokenize=False, enable_thinking=False)
inputs = processor(text=[text], images=[image], return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=800, do_sample=False)
Подробнее Параметры адаптера: LoRA rank 32, alpha 64, 80.2M обучаемых параметров (сохранены в fp32), визуальный энкодер при обучении был заморожен.
Запуск: требует transformers >= 5 и peft >= 0.18; обязательно отключать режим размышлений (enable_thinking=False), использовать greedy decoding (do_sample=False) и не передавать system prompt.
Метрики: 100% соблюдение формата на 60 фото и 40 спецификациях; отклонение от базовой модели на обычных запросах — 0.087 nats/токен (perplexity ratio 1.11).
Лицензия и ограничения: CC BY-NC-SA 4.0 — только для некоммерческих и исследовательских задач, запрещено использовать для распознавания и идентификации людей (для коммерции есть версия Lucia v1.1 под Apache-2.0).
Discuss Telegram 0 20

Will it run?

Runs in BF16

Fits without quantisation.

  • BF16weights 18 GB · ready files21 GB
  • FP8 / INT8recommendedweights 9.3 GB11 GB
  • 4-bitweights 5.4 GB6.4 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 2080 Ti · BF16 — from RTX 4090

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

This is a LoRA: counted together with its base model Qwen3.5-9B.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # AbstractPhil/qwen3.5-9b-think-symbolic-image-nc
    # ===== Tokens: paste yours between the quotes =====
    export HF_TOKEN=""        # huggingface.co/settings/tokens, for gated models
    # ==========================================
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download Qwen/Qwen3.5-9B --local-dir ~/models/Qwen3.5-9B
    hf download AbstractPhil/qwen3.5-9b-think-symbolic-image-nc --local-dir ~/models/qwen3.5-9b-think-symbolic-image-nc
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to Qwen3.5-9B
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

Requires the base model

Qwen/Qwen3.5-9B

This model is a LoRA / adapter. Download the base model first, then load this one on top.

  1. Qwen3.5-9B-Basefamily root
  2. Qwen3.5-9B
  3. qwen3.5-9b-think-symbolic-image-nc

New posts about versions of Qwen3.5-9B-Base (quants, finetunes, LoRAs) will show up under the bell.

Quantised versions 12All on Hugging Face
Fine-tunes 12All on Hugging Face
LoRAs and adapters 6All on Hugging Face
Merges 1All on Hugging Face

About the model

AbstractPhil/qwen3.5-9b-think-symbolic-image-nc
Author
AbstractPhil
Category
Computer vision
Released
Posted

On NeyroLearn

Hugging Face

200

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments