Lucia 0.8B v1.2
image analysis and symbolic reasoning adapter based on Qwen3.5-0.8B
2 min readupdated
Lucia 0.8B v1.2 is a LoRA (a small fine-tuning add-on) for the base model Qwen/Qwen3.5-0.8B that analyzes images and provides a detailed structured breakdown. The model builds step-by-step reasoning chains, generates captions, tags, prompts, critiques, and clarifying Q&As. Version 1.2 is trained on an expanded dataset of 91,138 rows and uses an additional training objective that helps keep the model behavior close to the original base on regular text prompts. The model is useful for developers and researchers who need a compact tool for structured visual content description.
Key features
- Expanded dataset: Trained on 91,138 examples (including DOCCI photos, COCO 2017, and National Gallery of Art images).
- Preserved base behavior: Thanks to the secondary training objective, the model does not degrade responses to standard queries of the base Qwen3.5-0.8B.
- Single-pass training: Completed 10,137 training steps on the dataset.
- Structured analysis: Builds a chain of thought from basic inspection to a detailed breakdown with conclusions, lighting, and composition.
What you can do
- Photo analysis: Get detailed structured image descriptions broken down by layers, colors, lighting, and objects.
- Metadata generation: Automatically create precise tags, captions, and prompts for images.
- Pipeline integration: Use the model in multimodal data processing scripts using the transformers and peft libraries.
Example
import torch
from peft import PeftModel
from PIL import Image
from transformers import AutoModelForMultimodalLM, AutoProcessor
processor = AutoProcessor.from_pretrained("AbstractPowered/lora-qwen3.5-0.8b-think-symbolic-image")
model = AutoModelForMultimodalLM.from_pretrained("Qwen/Qwen3.5-0.8B", dtype=torch.bfloat16, device_map="cuda")
model = PeftModel.from_pretrained(model, "AbstractPowered/lora-qwen3.5-0.8b-think-symbolic-image").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, "
"and the questions a careful looker would still ask, each as `question: what -> answer [record, chain or unknown]`.")
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)
print(processor.batch_decode(out[:, inputs["input_ids"].shape[1]:], skip_special_tokens=True)[0])Read more
DetailsRequirements: requires transformers 5 and peft 0.18 or newer.
Base model: Qwen/Qwen3.5-0.8B.
Architecture: LoRA adapter for a multimodal language model.
Training: 10,137 steps on 91,138 data rows (Apache-2.0).










Comments