Run this model with HF Jobs
Run AbstractPhil/qwen3.5-0.8b-think-symbolic-image on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/AbstractPhil/qwen3.5-0.8b-think-symbolic-image. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/AbstractPhil/qwen3.5-0.8b-think-symbolic-image on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/AbstractPhil/qwen3.5-0.8b-think-symbolic-image. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/AbstractPhil/qwen3.5-0.8b-think-symbolic-image. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use AbstractPhil/qwen3.5-0.8b-think-symbolic-image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AbstractPhil/qwen3.5-0.8b-think-symbolic-image with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-0.8B") model = PeftModel.from_pretrained(base_model, "AbstractPhil/qwen3.5-0.8b-think-symbolic-image") - Notebooks
- Google Colab
- Kaggle
Lucia 0.8B v1.2: Qwen3.5-0.8B, think symbolic image
The official release of this model is AbstractPowered/lora-qwen3.5-0.8b-think-symbolic-image; this repository is its research record (the run's records, the notebook as it ran and every version).
Lucia 0.8B v1.2 is a LoRA adapter of Qwen/Qwen3.5-0.8B that looks at a picture and writes a reading of it: a short chain of plain-language thoughts, one named step per line, then the wordings (a caption, a prompt, tags, a critique, by depth), then the questions a careful looker would still ask, each with its answer and what settles it. She is the smallest of the Lucia family. Version 1.2 is the recipe of Lucia 4B v1.2 at 0.8B: the same rows, taught once, with a second objective that keeps her near her base model.
- More than four times the rows. She was taught 91,138 rows (version 1: 20,836), the rows Lucia 4B v1.2 was taught: the Apache-2.0 part of release 5 of thought-symbolic-image-recaptioned as anyone can read it there (95,481 rows), less 3,718 rows on COCO 2017 photographs under other licenses, 609 rows on the pictures the reads below hold out and 16 rows whose pictures no store holds. They are readings of DOCCI and COCO 2017 photographs, of National Gallery of Art pictures and of drawn specifications, written by OpenAI, Google and DeepSeek models and admitted by a blind review; 30,250 of them are long looks. No row she was taught was written by a Claude model, or by any model of this project trained on rows a Claude model wrote. Training shows her the picture of every row about a picture (the drawn specifications have none), so the COCO 2017 photographs she saw are only those whose Flickr authors gave them the Attribution license or that carry no known copyright restrictions, in her rows and in the ordinary requests below alike.
- One pass. She was taught her rows once (10,137 steps); version 1 was taught hers twice (2,724 steps).
- The base model kept, new at 0.8B: a second objective in training holds her next-word choices near Qwen3.5-0.8B's on ordinary requests that Qwen3.5-0.8B answered itself for this version, so the adapter changes how she answers when asked for a reading and little else. On held-out ordinary requests she stays close to the base model, and of the questions and text requests among them she answers none in the reading's form; version 1, trained without it, answers 267 of the 328 that way.
- Lettering seldom in the closer look. Of 300 held-out pictures with readable lettering, a screen found no person's name,
credit or web address in the lettering of 245. Of those 245, her closer look names a word the picture shows for
61, where the base model, which given the same request copies the request's question line instead of describing the picture, names one for 13; her long look names one for
- Asked directly what the lettering says, for 214 of those 245, her answer names it about as often as the base model's does (0.84 of them against 0.82).
Version 1 stays in this repository at the tag lucia-v1.
What she writes for a closer look at a held-out COCO 2017 photograph (376084, its author's Attribution license), verbatim:
see: One yellow truck is parked at the center of the frame, with orange cones around it.
relate: The truck is left of the fence, and the fence is right of the motorcycle.
mood: The truck's parked state suggests a gentle pause.
caption: A yellow truck is parked at the center of the frame, left of a fence and right of a motorcycle.
prompt: yellow truck parked at center, orange cones around the truck, fence to the right of the motorcycle, photograph
tags: yellow truck, orange traffic cones, fence, motorcycle, photograph
question: thing name -> truck [record]
question: thing position -> centre [record]
question: rel1 b -> fence [record]
question: scene layout -> unknown [unknown]
The steps a chain may use, in the order a careful looker takes them: see, name, place, count, relate, form,
light, colour, mood, mean, intend, story, compare, change, check, say. A quick look holds 1 to 2 thoughts,
a closer look 3 to 5, a long look 6 to 10. Questions end in [record] (the answer is a fact of the picture), [chain] (the
chain worked it out) or [unknown]. The prompt line often opens with the kind of picture (a close-up photograph, an overhead
photograph); unlike version 1, she was not taught to open it that way every time.
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 torch
from peft import PeftModel
from PIL import Image
from transformers import AutoModelForMultimodalLM, AutoProcessor
processor = AutoProcessor.from_pretrained("AbstractPhil/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, "AbstractPhil/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])
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-0.8b-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). From its version
0.1.69 it also counts the lettering tables below from those answers (python -m qwen_symbolic_thinking.reads, run on
the records a training run keeps in its project's own repository); the counts of lettering in the rows she was taught were made
separately, from those rows, not with the package.
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:
| read | Lucia 0.8B v1.2 | Lucia 0.8B v1 |
|---|---|---|
| rows in the reading's form (at least one named step, and a caption), pictures / specifications | 1.00 / 1.00 | 1.00 / 1.00 |
| said / backed, whole rows | 0.21 / 0.24 | 0.19 / 0.30 |
Keeping the base model, on 513 held-out ordinary requests the base model answered itself (193 questions about a picture, 135 text requests, 185 requests for a detailed description of a picture). The distance is read over all 513; the form and the ending over the 328 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:
| read | Lucia 0.8B v1.2 | Lucia 0.8B 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.10 | 0.97 |
| the same as a perplexity ratio (the base model 1.00) | 1.13 | 2.14 |
| answers written in the reading's form (the base model 0.00) | 0.00 | 0.81 |
| answers that end within 512 new tokens | 0.89 | 0.94 |
| the base model's answers that end within 512 new tokens, in the same read | 0.91 | 0.91 |
The 185 requests for a detailed description are where she is farthest from the base model: 0.16 nats a token
on its own detailed descriptions (version 1: 0.92). 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 170 new tokens on average
(version 1: 167), where the base model, given the same request, copies the request's question line (question: what -> answer [record, chain or unknown]) instead of describing the picture: all 185 of its answers open with that line and 172 hold no content word but the line's (130 tokens on average; 22 of the 185 run to the 800 allowed); her readings hold 0.10 of the
content words of the base model's detailed descriptions, version 1's 0.10, and the base model's answers to the same request 0.003 of them.
The medium term, on 500 National Gallery of Art pictures (100 each of drawings, prints, paintings, photographs and objects):
| read | Lucia 0.8B v1.2 | Lucia 0.8B v1 |
|---|---|---|
| the prompt line opens with the right kind of picture | 136 of 500 | 406 of 500 |
| the right kind named anywhere in the prompt line | 304 of 500 | not read |
Lettering, on 300 held-out COCO 2017 photographs whose lettering COCO-Text marks readable; the shares are over the 245 in whose lettering a screen found 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 she was taught, and version 1's rows were not checked against them.
| read | Qwen3.5-0.8B | Lucia 0.8B v1.2 | Lucia 0.8B v1 |
|---|---|---|---|
| a closer look: the answer names the lettering | 0.05 | 0.25 | 0.38 |
| the same by chance | 0.00 | 0.10 | 0.11 |
| a long look: the answer names the lettering | 0.08 | 0.42 | 0.39 |
| the same by chance | 0.01 | 0.15 | 0.14 |
| a closer look with the lettering sentence: the answer names the lettering | 0.15 | 0.26 | not read |
| the same by chance | 0.01 | 0.09 | not read |
rows that write the lettering out (a say thought or a quoted line), of 300: a closer look / with the lettering sentence |
0 / 0 (it copies the request's question line) | 7 / 21 | 53 / not read |
| asked what the lettering says (214 of the 245 pictures): the answer names it | 0.82 | 0.84 | not read |
| the same by chance | not read | 0.09 | not read |
The base model does not write the reading's form: given the reading's request it copies the request's question line instead of describing the picture. Of its 300 answers at a closer look, 296 open with that line and 277 hold no content word but the line's (at a long look 279 and 252; with the lettering sentence 299 and 233). On 200 COCO 2017 photographs COCO-Text marks as holding no lettering, she wrote lettering for 1 with the request alone and for 1 with the lettering sentence; both are the same photograph, and it was looked at: the word "POW!" is drawn across it, as she wrote, and COCO-Text does not mark it.
What this says. Version 1.2 holds the reading's form as version 1 does. Against version 1, she says about as much of what each picture's captions hold and backs somewhat less of it (0.21 / 0.24 against 0.19 / 0.30), with one seed each; the spread this read shows between seeds of one recipe, seen at 4B, is 0.03 to 0.05. 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.10 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.97 nats a token), and its higher ending share (0.94 against 0.89) comes with short answers in the reading's form: 0.81 of its answers take that form, and the middle one of its answers by length runs about 0.70 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 136 of the 500 (paintings 48 of 100, prints 36, drawings 26, photographs 22, objects 4; Lucia 4B v1.2: 150 in all); for the medium of museum pictures version 1 is still the stronger choice (406 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.
At a closer look her readings seldom carry the words a picture shows, and the base model, which copies the request's question line, names them less often still (0.05 of the pictures against her 0.25); asked directly what the lettering says, for 214 of the 245 pictures, she names it about as often as the base model does (0.84 of them against 0.82).
Version 1's closer look names the words a picture shows more often than hers does (0.38 of the pictures against her 0.25, on pictures
version 1 may have been taught, as said above); her long look names them for 103 of the 245 pictures, 8 more than version 1's 95 and 7 more than Lucia 4B v1.2's 96, one seed each (Lucia 2B v1.2, taught the same rows, names them for 119, 0.49 of the pictures). 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. With the lettering sentence more of her rows write the lettering out (21 of the 300 pictures, against 7 without it), while the share of closer looks that name a shown word barely moves (0.26 against 0.25). Of those 21, 19 quote at least one word the picture shows, and in the other 2 the check counts no quote: one quotes a line of the picture's lettering longer than the 80 characters the check reads, and one quotes words in Korean, which the check does not read; none quotes only words COCO-Text does not mark on it.
How she was trained
| base | Qwen/Qwen3.5-0.8B, 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 (20.4 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,979 general requests answered by Qwen3.5-0.8B itself for this version (questions from a fixed bank of everyday requests about the training pictures, and text requests Qwen3.5-0.8B 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 the reading above is read on, 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, 2.09 s a step, 353 minutes, at most 40.5 GB of the card's memory), the loss on the answer only, seed 20261030; one pass on one machine, one RTX PRO 6000 |
| thinking | off in training and at inference, as for every Lucia |
| record | qwen-symbolic-thinking v0.1.68 trained her (run_queue("lucia_v12_08b")); the notebook that runs it, notebooks/lucia_v12_08b.ipynb, is in the repository from v0.1.69 (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 0.8B 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 08b 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
| version | where | tag |
|---|---|---|
| Lucia 0.8B v1.2 | the root of this repository | lucia-v1.2 |
| Lucia 0.8B v1 | this repository at its tag | lucia-v1 |
The family
| size | base | the LoRA adapter | the full fine-tune |
|---|---|---|---|
| 9B | Qwen/Qwen3.5-9B | qwen3.5-9b-think-symbolic-image (v1.2; v1.1 and v1 at their tags); non-commercial: qwen3.5-9b-think-symbolic-image-nc (v1.2-nc; v1.1-nc at its tag) | not trained |
| 4B | Qwen/Qwen3.5-4B | qwen3.5-4b-think-symbolic-image (v1.2; v1.1 and v1 at their tags); non-commercial: qwen3.5-4b-think-symbolic-image-nc (v1.2-nc; v1.1-nc at its tag) | qwen3.5-4b-think-symbolic-image-full (v1) |
| 2B | Qwen/Qwen3.5-2B | qwen3.5-2b-think-symbolic-image (v1.2; v1 at its tag); non-commercial: qwen3.5-2b-think-symbolic-image-nc (v1.2-nc) | qwen3.5-2b-think-symbolic-image-full (v1) |
| 0.8B | Qwen/Qwen3.5-0.8B | qwen3.5-0.8b-think-symbolic-image (v1.2; v1 at its tag); non-commercial: qwen3.5-0.8b-think-symbolic-image-nc (v1.2-nc) | qwen3.5-0.8b-think-symbolic-image-full (v1) |
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.
- Downloads last month
- 124