|
Download README.md from Gramscii-IT/RequestReader-0.8B: direct link, hf CLI and curl.
- Browser
- Download file 5.21 kB
-
https://huggingface.co/Gramscii-IT/RequestReader-0.8B/resolve/main/README.md
- Command line
-
hf download hf://Gramscii-IT/RequestReader-0.8B/README.md
-
curl -L -o README.md https://huggingface.co/Gramscii-IT/RequestReader-0.8B/resolve/main/README.md
5.21 kB
| license: apache-2.0 | |
| base_model: Qwen/Qwen3.5-0.8B | |
| base_model_relation: adapter | |
| pipeline_tag: text-generation | |
| language: | |
| - it | |
| - en | |
| tags: | |
| - request-reading | |
| - conversation | |
| - follow-up | |
| - intent-detection | |
| - distillation | |
| - lora | |
| - slm | |
| - gguf | |
| - multilingual | |
| - qwen3.5 | |
| # RequestReader-0.8B | |
| A LoRA adapter on Qwen3.5-0.8B that reads what a chat message asks of the | |
| conversation before the chat decides who answers it. Given the message and | |
| the turns before it, each with what it ran, what it was asked and what it | |
| made, it writes twelve short lines: | |
| | line | what it says | | |
| |---|---| | |
| | `subject` | what the message is about, whole, with the names an earlier turn gave it | | |
| | `action` | a new request, or one that revises, adds to or removes from an earlier turn | | |
| | `refers` | the earlier turn it points at | | |
| | `element` | what of that turn it points at: a slide by its place, the deck, the rows, the text, a picture, a chart | | |
| | `chain` | whether a request of the message works on what another of its requests finds | | |
| | `format`, `length`, `creative` | for a text: a post or an article, brief or detailed, creative or not | | |
| | `time` | whether a date the message names is one the pages to find were written at, or part of what it tells | | |
| | `unclear` | whether two readings fit it equally | | |
| | `sources` | the sources it names: the web, open data, the documents | | |
| | `compute` | whether it asks for a calculation on the numbers it gives | | |
| It chooses no tool: the chat's router does. It reads, so that a message such | |
| as «and for Puglia?», «redo the second slide in red» or «find the data and | |
| make me two slides» reaches the tools as what it means. | |
| ## What it is measured to do | |
| On 450 messages of people the training never read, each read the same way by | |
| two teachers (GLM 5.2 and Qwen3.8-27B, or the 27B twice), its lines are the | |
| teachers' lines: | |
| | line | the same as the teachers | | |
| |---|---| | |
| | `subject`, word for word | 251 / 450 | | |
| | `action` | 426 / 450 | | |
| | `refers` | 422 / 450 | | |
| | `element` | 420 / 450 | | |
| | `chain` | 448 / 450 | | |
| | `format` | 445 / 450 | | |
| | `length` | 444 / 450 | | |
| | `creative` | 444 / 450 | | |
| | `time` | 431 / 450 | | |
| | `unclear` | 448 / 450 | | |
| | `sources` | 432 / 450 | | |
| | `compute` | 445 / 450 | | |
| Every answer was twelve readable lines, and 198 of the 450 were right in every | |
| line. Of the 7 messages whose requests make a chain (a request that works on | |
| what another finds: «which region has the most companies, then show me its | |
| population»), it reads 6 as a chain; of the 443 that make none, it reads 1 as | |
| one. | |
| ## How it is read | |
| The adapter reads the surface alone, with no instruction in front of it, as a | |
| plain completion: | |
| ``` | |
| Italian | |
| Earlier: | |
| 1. web-search | Cerco bandi per le startup in Sicilia | rows: 8 | |
| Message: e per la Puglia? | |
| => | |
| ``` | |
| and answers its twelve lines, `name: value`, `-` where a line names nothing, | |
| ended by `<|im_end|>`. The host checks every line against the message and the | |
| history: a subject or a reference they do not hold is dropped, and the message | |
| then runs as if the reader had named nothing for it. | |
| With llama-server, on the base: | |
| ``` | |
| llama-server -m qwen3.5-0.8b-base-2fc06364-q8_0.gguf \ | |
| --lora request-reader-0.8b-20261126b-lora-f16.gguf --host 127.0.0.1 --port 9250 -ngl 99 -c 4096 | |
| ``` | |
| then `POST /v1/completions` with the surface as `prompt`, temperature 0 and | |
| `stop: ["<|im_end|>"]`. | |
| The base is the one of | |
| [SemanticRepair-0.8B](https://huggingface.co/Gramscii-IT/SemanticRepair-0.8B) | |
| and [ToolChooser-0.8B](https://huggingface.co/Gramscii-IT/ToolChooser-0.8B); | |
| when it carries them, each request names this adapter at full scale and the | |
| others at none. | |
| ## The data it was trained on | |
| **9,743 training rows**, about half Italian and half English: the readings | |
| two teachers agreed on, in conversations written for the chat's work (open | |
| data, calls for grants and tenders, decks, dashboards, pages, texts, dates, | |
| calculations, sources, follow-ups and changes of what an earlier turn made, | |
| noisy and ambiguous messages) and in the chat's own scripts, with a family of | |
| 856 rows of chains and of messages that only look like one, written by | |
| Qwen3.8-27B and read twice by it. Every message close to a question of the | |
| tests that measure the chat is left out, and one person in 25 is held out for | |
| the measure above. | |
| ## Training | |
| | | | | |
| |---|---| | |
| | base | [`Qwen/Qwen3.5-0.8B`](https://huggingface.co/Qwen/Qwen3.5-0.8B) at `2fc06364`, its language model only | | |
| | method | LoRA with [Unsloth](https://unsloth.ai), bf16, rank 16, alpha 16, dropout 0, on every linear layer of the language model (186 modules) | | |
| | schedule | one pass: 609 updates of 16 examples (2 × 8 accumulated), learning rate 2×10⁻⁴, linear, 10% warm-up, weight decay 0.01, 8-bit AdamW; the release is the average of the checkpoints at updates 420, 480, 540, 600 and 609 | | |
| | loss | on the twelve lines only | | |
| | hardware | one NVIDIA A100 64 GB of the Leonardo supercomputer in Bologna, thanks to CINECA | | |
| | release | F16 LoRA GGUF, `request-reader-0.8b-20261126b-lora-f16.gguf`, 108,252,256 bytes, sha256 `7d5ad2864639d96345a2b13f01a896c6a5f205e35ed137d5b2e9f3ee7bf7ca93` | | |
| ## Licence | |
| Apache-2.0, as its base model | |
| [Qwen3.5-0.8B](https://huggingface.co/Qwen/Qwen3.5-0.8B). | |