Loading
Run her the way every Lucia is run: thinking off, greedy decoding, no system prompt (the row's form is learned, and a system turn
she was not trained with makes her over-write). Needs transformers 5 and peft 0.18 or newer. The processor is the base model's;
its files are kept in this repository.
import torchfrom peft import PeftModelfrom PIL import Imagefrom transformers import AutoModelForMultimodalLM, AutoProcessor processor = AutoProcessor.from_pretrained("AbstractPowered/lora-qwen3.5-2b-think-symbolic-image")model = AutoModelForMultimodalLM.from_pretrained("Qwen/Qwen3.5-2B", dtype=torch.bfloat16, device_map="cuda")model = PeftModel.from_pretrained(model, "AbstractPowered/lora-qwen3.5-2b-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])
The depth words: "a quick look" asks for a caption, "a closer look" for a caption and a prompt or tags, "a long look" for a
caption, a prompt, tags and a critique. She was also taught a shorter request, the chain and a caption only: "Look at this
picture and think it through in writing, a closer look, ending with a caption." For the lettering a picture shows, add after the
request: "Ensure you include visible text and the expression related to it into the rows."
(not a request she was taught; its measured effect is below). Version 1 loads from its tag, with revision="lucia-v1" in both
from_pretrained calls of the adapter repository; version 1's full fine-tune is
qwen3.5-2b-think-symbolic-image-full. There is no
full fine-tune of version 1.2. The parser, the scorer and the trainer are in
qwen-symbolic-thinking, and so are the reads that write every answer
below (the reading, keeping the base model, the medium term, and the answers on the lettering pictures); the lettering numbers
are counted from those answers by separate scripts.
The reads
Every read is on pictures and requests that no training row of hers used. Version 1.2 was trained once, with one seed.
The reading, on the 60 pictures and 40 specifications version 1 was read on, against the dataset's own rows for them:
Table with columns: read, Lucia 2B v1.2, Lucia 2B v1| read | Lucia 2B v1.2 | Lucia 2B v1 |
|---|
| whole rows in form, pictures / specifications | 1.00 / 1.00 | 1.00 / 1.00 |
| said / backed, whole rows | 0.22 / 0.22 | 0.18 / 0.28 |
Keeping the base model, on 498 held-out ordinary requests the base model answered itself (190 questions
about a picture, 136 text requests, 172 requests for a detailed description of a picture). The distance
is read over all 498; the form and the ending over the 326 questions and text requests. The base model writes
its answers afresh in each read, so its own ending share is given beside each version's:
Table with columns: read, Lucia 2B v1.2, Lucia 2B v1| read | Lucia 2B v1.2 | Lucia 2B v1 |
|---|
| distance of her next-token choices from the base model's on its own answers (KL per token, nats; the base model 0) | 0.085 | 0.86 |
| the same as a perplexity ratio (the base model 1.00) | 1.11 | 2.02 |
| answers written in the reading's form (the base model 0.00) | 0.00 | 0.83 |
| answers that end within 512 new tokens | 0.88 | 0.97 |
| the base model's answers that end within 512 new tokens, in the same read | 0.89 | 0.89 |
The 172 requests for a detailed description are where she is farthest from the base model: 0.12 nats a token
on its own detailed descriptions (version 1: 0.79). Her answers to them were not written out in this read, so their
length is not known. Asked instead for a reading of each of those pictures, she writes 172 new tokens on average
(version 1: 166), where the base model, given the same request, writes a free description of 730
tokens on average (142 of the 172 run to the 800 allowed); her readings hold 0.089 of the
content words of the base model's detailed descriptions, version 1's 0.085 and the base model's free descriptions
0.23.
The medium term, on 500 National Gallery of Art pictures (100 each of drawings, prints, paintings, photographs and objects):
Table with columns: read, Lucia 2B v1.2, Lucia 2B v1| read | Lucia 2B v1.2 | Lucia 2B v1 |
|---|
| the prompt line opens with the right kind of picture | 154 of 500 | 416 of 500 |
| the right kind named anywhere in the prompt line | 325 of 500 | not read |
Lettering, on 300 held-out COCO 2017 photographs whose lettering COCO-Text marks readable; the shares are over the 245
whose lettering holds no person's name, credit or web address. A row "names the lettering" when a word the picture shows stands
in it as a whole word; the chance row counts the words of another picture's lettering instead. "With the lettering sentence" is
the closer-look request followed by the sentence given under Loading. Version 1 may have been taught some of these photographs:
they were held out of the rows of versions 1.1 and 1.2 only, and version 1's rows were not checked against them.
Table with columns: read, Qwen3.5-2B, Lucia 2B v1.2, Lucia 2B v1| read | Qwen3.5-2B | Lucia 2B v1.2 | Lucia 2B v1 |
|---|
| a closer look: the answer names the lettering | 0.65 | 0.23 | 0.31 |
| the same by chance | 0.09 | 0.11 | 0.13 |
| a long look: the answer names the lettering | 0.82 | 0.49 | 0.32 |
| the same by chance | 0.16 | 0.17 | 0.15 |
| a closer look with the lettering sentence: the answer names the lettering | 0.82 | 0.47 | not read |
| the same by chance | 0.05 | 0.10 | not read |
rows that write the lettering out (a say thought or a quoted line), of 300: a closer look / with the lettering sentence | free text | 4 / 108 | 35 / not read |
| asked what the lettering says (231 of the 245 pictures): the answer names it | 0.88 | 0.93 | not read |
The base model does not write the reading's form: given the reading's request it writes a free description. On 200 COCO 2017
photographs COCO-Text marks as holding no lettering, she wrote lettering for none of them with the request alone and for
3 with the lettering sentence; each of those photographs was looked at, and each shows the lettering she wrote,
which COCO-Text does not mark:
the word "POW!" drawn on one, the names on a café and bookshop awning on another (one word misread by a letter), and "DONNAY" on two banners at a tennis court.
What this says. Version 1.2 holds the reading's form as version 1 does. She says about as much of what each picture's captions
hold as version 1 and backs somewhat less of it (0.22 / 0.22 against 0.18 / 0.28); Lucia 4B v1.2, the same recipe at
4B, reads 0.21 / 0.26 on the same pictures. She stays near the base model on its other answers (0.085 nats a token), and
of the questions and text requests she answers none in the reading's form; version 1, taught without the keeping objective, stays far from it
(0.86 nats a token), and its higher ending share (0.97 against 0.88) comes with short answers in the reading's
form: 0.83 of its answers take that form, and half of all its answers run under 0.58 times the length
of the base model's answer to the same request, counted in characters (hers: 1.00). She names the kind of a museum
picture at the opening of the prompt line for 154 of the 500 (Lucia 4B v1.2: 150); for the medium
of museum pictures version 1 is still the stronger choice
(416 of the 500): it was taught 17,385 museum rows whose prompt line opens with the catalog's
medium, rows written by a model trained on Claude-written rows, so version 1.2 has none of them.
Lettering is where she falls short at a closer look: her readings seldom carry the words a picture shows, though she reads them
when asked, and version 1's closer look names them more often (0.31 of the pictures against her 0.23, on pictures
version 1 may have been taught, as said above). Her long look carries them more often than version 1's and Lucia 4B v1.2's
(0.49 of the pictures against 0.32 and 0.39). The rows she was taught carry lettering: 17,457 of them hold a say thought or a
quoted line, nearly all on museum pictures (13,730) and DOCCI photographs (3,724), and 11,669 of them quote it. A say thought,
the step for the words a picture shows, stands
in about a third of the museum rows she was taught, at every depth, but in only 8% of the closer looks at
DOCCI photographs (19% of the long looks), and her rows on COCO photographs were written without the photograph,
so none of them quotes its lettering. The lettering sentence brings it into the closer look: her rows then write the lettering
out for 108 of the 300 pictures, and 90 of those 108 quote words the picture shows, while
16 quote none of the words COCO-Text marks on it; those 16 were not looked at by hand, and COCO-Text
misses some real lettering, as the three photographs above show.
How she was trained
Table | |
|---|
| base | Qwen/Qwen3.5-2B, bf16, the vision tower frozen |
| adapter | LoRA rank 32, alpha 64, dropout 0.05 on the language model's q, k, v, o, gate, up, down, in_proj_qkv, in_proj_z and out_proj projections (31.3 M trainable parameters, saved in fp32) |
| rows | 91,138 rows: 71,045 about a picture (National Gallery of Art 38,308, DOCCI 32,001, COCO 2017 722, Localized Narratives (COCO 2017 photographs) 14), each taught in two forms (the whole row, and the chain with its caption), and 20,093 drawn specifications, taught as whole rows; 162,183 examples |
| depth | about a picture: 18,474 quick looks, 24,424 closer looks, 28,147 long looks; drawn specifications: 10,829 quick, 7,161 closer, 2,103 long |
| writers | gpt-6-luna (OpenAI) 84,615, deepseek-flash (DeepSeek) 5,809, gemini-4-argon (Google) 643, gemini-3.8-flash (Google) 71; no Claude model |
| keeping the base | beside every micro-batch of 8 training examples, 4 general requests, from 4,035 general requests answered by Qwen3.5-2B itself for this version (questions from a fixed bank of everyday requests about the training pictures, and text requests Qwen3.5-2B wrote; Xu et al., "Magpie", arXiv 2406.08464); the loss adds KL(base ‖ tuned) over those answers at weight 1, the base side computed with the adapter switched off |
| held out | the 60 pictures and 40 specifications of the reading's read, 140 more photographs drawn from the training sources for the held-out requests, the 500 pictures of the medium read, 200 museum pictures (50 each from the Art Institute of Chicago, the Cleveland Museum of Art, the Metropolitan Museum of Art and the National Gallery of Art), and the 300 pictures of the lettering read, which the dataset's release leaves out |
| optimizer | plain Adam 2e-4, cosine schedule, 3% warmup, batch 8 x 2, one epoch (10,137 steps, 3.19 s a step, 538 minutes on one RTX PRO 6000), the loss on the answer only, seed 20261030 |
| thinking | off in training and at inference, as for every Lucia |
| record | qwen-symbolic-thinking v0.1.67 trained her (run_queue("lucia_v12_2b")); the notebook that runs it, notebooks/lucia_v12_2b.ipynb, is in the repository from v0.1.68 (the notebook as it ran, reading its inputs from the project's own repository, which is private); the run's full log is train_summary.json beside the weights |
To train Lucia 2B v1.2 yourself, the package's setup guide builds a lane for her in a project repository of your own (python -m qwen_symbolic_thinking.lines 2b apache --project-repo <your-name>/<your-project> --out notebooks writes its queue and its notebook). Every file that lane reads is in the project's public record repository (two of them in a public form, which its README describes) or is made in the lane's own first steps. Every step, with the settings, the time and memory on a G4 and the reads that check the result, is in this repository's TRAINING.md.
Versions
Table with columns: version, where, tag| version | where | tag |
|---|
| Lucia 2B v1.2 | the root of this repository | lucia-v1.2 |
| Lucia 2B v1 | this repository at its tag | lucia-v1 |
The family
Version 1.2 exists for the 4B, the 2B, the 9B and the 0.8B, and version 1.2-nc for the 4B, the 2B, the 0.8B and the 9B; version 1.1 for the 9B and the 4B.
License
Apache-2.0, the base model's license. The rows are the Apache-2.0 part of release 5 of
thought-symbolic-image-recaptioned. The
pictures she was trained on: DOCCI (images and annotations by Google LLC, CC BY 4.0), COCO 2017 photographs whose Flickr authors gave them the Attribution license or that carry no known copyright restrictions (the annotations CC BY 4.0, the COCO Consortium; the Localized Narratives narrations of some of them CC BY 4.0, Pont-Tuset et al.), and National Gallery
of Art open-access images (CC0). The drawn specifications come from no outside source: they are sampled from the vocabulary of
the companion dataset thought-symbolic-image-captions
(Apache-2.0). Each row about a real picture names it in the dataset's picture field: its source, its id, where it can be had
and its license.