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-4b-think-symbolic-image")model = AutoModelForMultimodalLM.from_pretrained("Qwen/Qwen3.5-4B", dtype=torch.bfloat16, device_map="cuda")model = PeftModel.from_pretrained(model, "AbstractPowered/lora-qwen3.5-4b-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." Versions 1.1 and 1 load from their tags, with
revision="lucia-v1.1" or revision="lucia-v1" in both from_pretrained calls of the adapter repository; version 1's full
fine-tune is qwen3.5-4b-think-symbolic-image-full.
There is no full fine-tune of version 1.1 or 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 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 4B v1.2, Lucia 4B v1.1, version 1.1's recipe without the keeping objective, Lucia 4B v1| read | Lucia 4B v1.2 | Lucia 4B v1.1 | version 1.1's recipe without the keeping objective | Lucia 4B v1 |
|---|
| whole rows in form, pictures / specifications | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| said / backed, whole rows | 0.21 / 0.26 | 0.23 / 0.21 | 0.21 / 0.23 | 0.19 / 0.26 |
Keeping the base model, on 482 held-out ordinary requests the base model answered itself (190 questions
about a picture, 143 text requests, 149 requests for a detailed description of a picture). The distance
is read over all 482; the form and the ending over the 333 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 4B v1.2, Lucia 4B v1.1, without the keeping objective, Lucia 4B v1| read | Lucia 4B v1.2 | Lucia 4B v1.1 | without the keeping objective | Lucia 4B 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.084 | 0.057 | 1.15 | 0.71 |
| the same as a perplexity ratio (the base model 1.00) | 1.12 | 1.08 | 3.31 | 1.87 |
| answers written in the reading's form (the base model 0.00) | 0.00 | 0.00 | 0.95 | 0.91 |
| answers that end within 512 new tokens | 0.90 | 0.92 | 0.99 | 1.00 |
| the base model's answers that end within 512 new tokens, in the same read | 0.91 | 0.92 | 0.91 | 0.91 |
The medium term, on 500 National Gallery of Art pictures (100 each of drawings, prints, paintings, photographs and objects):
Table with columns: read, Lucia 4B v1.2, Lucia 4B v1.1, Lucia 4B v1| read | Lucia 4B v1.2 | Lucia 4B v1.1 | Lucia 4B v1 |
|---|
| the prompt line opens with the right kind of picture | 150 of 500 | 135 of 500 | 416 of 500 |
| the right kind named anywhere in the prompt line | 323 of 500 | 292 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:
Table with columns: read, Qwen3.5-4B, Lucia 4B v1.2, Lucia 4B v1.1| read | Qwen3.5-4B | Lucia 4B v1.2 | Lucia 4B v1.1 |
|---|
| a closer look: the answer names the lettering | 0.93 | 0.23 | 0.20 |
| the same by chance | 0.19 | 0.11 | 0.11 |
| a long look: the answer names the lettering | 0.92 | 0.39 | 0.23 |
| the same by chance | 0.22 | 0.16 | 0.12 |
| asked what the lettering says (232 of the 245 pictures): the answer names it | 0.91 | 0.92 | 0.91 |
The base model does not write the reading's form: given the reading's request it writes a free description, which for most of
these pictures runs to the 800 new tokens the read allows.
What this says. Version 1.2 holds the reading's form as the earlier versions do. She says about as much of what each picture's
captions hold as version 1.1 and backs more of it (0.21 / 0.26 against 0.23 / 0.21); her gain over version 1.1 in
what she backs is at the top of the spread this read shows between seeds of one recipe (0.03 to 0.05). She stays near the base
model on its other answers, though farther than version 1.1 (0.084 against 0.057 nats a token; 1.15 without the keeping
objective), and of the questions and text requests she answers none in the reading's form. She names the kind of a museum picture a little more
often than version 1.1 (one seed each); for the medium of museum pictures version
1 is still the stronger choice: 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 versions 1.1 and 1.2 have none of them. Asked for a long look she writes
one, about twice as long as version 1.1's answer to the same request (a median of 393 tokens against
203), and it names the lettering more often. Lettering is where she still falls short: her readings seldom carry
the words a picture shows, though she reads them when asked. The rows she was taught do 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 she was taught (19% of the long looks). Her rows on
COCO photographs were written without the photograph, so none of them quotes its lettering. Asked within the request to include the visible text, she has written it into
the row's own form, in a say thought, the caption and the prompt (seen on one picture, not measured). Seen by hand, not
measured as rates: 4 of 5 sampled example captions chain
left and right relations ("the donut to the right of a cake and the cake to the left of a menu"), and in one local run she gave
2 of 2 museum objects periods their pictures cannot show.
How she was trained
Table | |
|---|
| base | Qwen/Qwen3.5-4B, 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 (60.9 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 3,951 general requests answered by Qwen3.5-4B itself (questions from a fixed bank of everyday requests about the training pictures, and text requests the base model wrote; Xu et al., "Magpie", arXiv 2406.08464), the same requests as version 1.1's; 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, 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, 6.23 s a step, 1,053 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.66, run_queue("lucia_v12_4b") from notebooks/lucia_v12_4b.ipynb, 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 4B 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 4b 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 4B v1.2 | the root of this repository | lucia-v1.2 |
| Lucia 4B v1.1 | this repository at its tag | lucia-v1.1 |
| Lucia 4B 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.