FilterReader-0.8B / README.md
Gramscii's picture
The adapter trained on 15,605 readings: every filter right on 81 of 100 grant and tender questions and on 221 of 247 house searches
082cef9 verified
|
Raw History Blame Contribute Delete
4.69 kB
---
license: apache-2.0
base_model: Qwen/Qwen3.5-0.8B
base_model_relation: adapter
pipeline_tag: text-generation
language:
- it
- en
tags:
- filter-extraction
- structured-search
- query-understanding
- distillation
- lora
- slm
- gguf
- multilingual
- qwen3.5
model-index:
- name: FilterReader-0.8B
results:
- task:
type: text-generation
name: 'The filters of a question read among the codes a catalogue declares'
dataset:
type: gramscii-filter-readings
name: 100 Italian and English questions on Italian grant calls and public tenders
split: test
metrics:
- type: accuracy
name: Questions whose every filter is read right (%)
value: 81.0
- task:
type: text-generation
name: 'The filters of a house search read among the codes a real-estate catalogue declares'
dataset:
type: gramscii-house-searches
name: 247 Italian requests typed in a real-estate agency's search box
split: test
metrics:
- type: accuracy
name: Requests whose every filter is read right (%)
value: 89.5
---
# FilterReader-0.8B
A LoRA adapter for Qwen3.5-0.8B that reads the filters of a search request
among the codes a catalogue declares: places, kinds, sizes, amounts, dates,
states, what a house has nearby and the distance from an address, each as the
catalogue names it, and nothing the request does not ask. It answers in the
catalogue's own Markdown lines, which the engine that asks it reads and
checks: a code the catalogue does not declare, or an amount or an address the
request does not write, is refused there.
Gramscii serves it on the base it was trained from, Qwen3.5-0.8B at Q8_0 (the
base file in [Gramscii-IT/SemanticRepair-0.8B](https://huggingface.co/Gramscii-IT/SemanticRepair-0.8B)),
beside the repair, tie-break and translation adapters, with greedy decoding
and thinking off.
## Files
- `filter-reader-0.8b-20261111b-lora-f16.gguf`: the adapter, rank 16, F16,
21,671,008 bytes, sha256
`49bc601833e79b615c390fa4db20e733717aa915f905a5ec7afc843463068f64`.
## Running it
With llama.cpp's server, on the base at Q8_0:
```
llama-server -m qwen3.5-0.8b-base-2fc06364-q8_0.gguf --lora filter-reader-0.8b-20261111b-lora-f16.gguf --jinja -c 16384
```
The system message is the catalogue's own prompt: one section for each
filter, with the codes it takes and the words the catalogue shows them with,
then the list to answer with, one line for each filter. The user message is
the request. The answer is that list, `none` on every filter the request does
not ask.
## Training
15,605 readings, 12,353 Italian and 3,252 English, with 1,301 more held out
for validation. Each was written by a Qwen 27B through the engine's own
filter reading and kept only where the engine's checks accepted it:
- 6,775 questions on grant calls and public tenders, Italian and English, of
Gramscii's collection, each kept where the reading names the filters its
question was written from, or where a second model reads the same;
- 8,830 Italian house searches on a real-estate catalogue's declared values.
Most are drawn from a script of filters and kept only where the reading
names exactly the script's codes and the request writes every place and
amount of it: towns, hamlets, quarters and areas of a city, the position in
a town, kinds, rooms, a price or a surface between two bounds, a monthly
rent beside monthly fees, energy class, heating, what stands a short walk
away (schools, stops, parks, shops), and a distance in kilometres from an
address written with or without its town. The others ask no filter: wishes
the catalogue orders by, requests about nothing, questions to the agency,
and a house's own street address.
One epoch on Leonardo (CINECA), 1,951 updates at batch 8.
## Measures
| Bench | Every filter right |
|---|---|
| 100 grant and tender questions, Italian and English | 81 (41 s) |
| 247 Italian house searches | 221 |
Of the 247 house searches, 47 ask what stands nearby, the position in a town
or a distance from an address: 44 are read right. Of the other 200: 177.
## Limits
- A distance written in metres is not read as a distance.
- A town written inside the address a distance is measured from is sometimes
also read as the town filter.
- Two numbers of rooms joined by "or", and rooms asked as bedrooms, are often
read as one number of rooms.
- A quarter written without its town is sometimes read with a town the
request does not write.
- A question to the agency that names a town is sometimes read as a search in
that town.
- What a request says it can do without ("no need for a garage") is sometimes
read as asked for.