/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
Qwen3.5-0.8B
Опубликована
19 окт 2026

SemanticRepair-0.8B

Генерация текстаТекст → текст3 профессии

LoRA-адаптер Qwen3.5-0.8B, который разбивает неоднозначные сообщения на запросы и направляет их к возможностям чат-приложения.

662скачиваний за 30 дней2лайкавеса обновлены18 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

SemanticRepair-0.8B — адаптер LoRA на базе Qwen3.5-0.8B, созданный Gramscii-IT. Он дополняет маршрутизатор чата, когда сообщение неясно соответствует одной из возможностей приложения: выделяет отдельные запросы, связывает каждый с подходящей возможностью или помечает как `none`, а сообщение без запроса обозначает `NO_REQUEST`. При анализе учитывает предыдущие действия чата и ссылки на их результаты, поэтому может восстановить контекст продолжения разговора.

Модель предназначена для маршрутизации запросов в чат-приложениях с несколькими инструментами и функциями, включая обработку составных сообщений и уточнение контекста для поиска. Она не отвечает пользователю и сама не запускает инструменты: решение о выполнении принимает хост-приложение после проверки маршрутизатором. Это компактная модель с адаптером LoRA ранга 32; в репозитории приведены варианты GGUF Q8_0 для базовой модели и F16 для адаптера. README сообщает об испытаниях на итальянских вопросах и тестовых сообщениях на итальянском и английском языках; метаданные также указывают французский, немецкий и испанский. Лицензия — Apache-2.0. Для работы требуется базовая модель Qwen3.5-0.8B и специальная поверхность завершения, описанная в карточке; обычный чатовый шаблон не использовался при обучении.

Сценарии применения

  • разделение составного сообщения на отдельные запросы
  • определение нужного инструмента или функции чата для каждого запроса
  • учёт контекста предыдущих ходов при маршрутизации продолжения разговора
  • восстановление темы по ссылке на ранее найденный материал
  • распознавание сообщений, не содержащих запроса

Ограничения

Модель не формулирует ответы и не выполняет инструменты; для работы нужна базовая Qwen3.5-0.8B и обученная поверхность завершения, а обычный чатовый шаблон ей не подходит. В README отмечены ошибочные маршрутизации и случаи, когда система просит пользователя выбрать возможность.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

SemanticRepair-0.8B

A LoRA adapter on Qwen3.5-0.8B that works behind an embedding router. When a message does not land clearly on one capability of a chat, it writes every request the message carries on its own line, and names for each line the capability that does its work among the ones the chat offers, or none. A message that asks for nothing comes back as NO_REQUEST. It reads the message after what the chat's last turns ran, so a message that continues the conversation ("e per Milano?") is read as part of it, and a message that points back at what the chat found ("trova di più a riguardo") is written with that subject.

It does not answer the question. The router checks every capability the repair names against its own scores, and the host application decides what runs: a model's output alone never authorizes an operation.

Two companion adapters load on the same base, each in a repository of its own:

  • ToolChooser-0.8B: when the router and the repair still leave two or more capabilities close, it chooses one of them, or none, in which case the person is asked.
  • QueryTranslator-0.8B: it writes a search request again in the language of the passages it will be looked up in.

What is in this repository

filewhat it is
qwen3.5-0.8b-base-2fc06364-q8_0.ggufthe base: Qwen3.5-0.8B at revision 2fc06364, Q8_0, 833,592,320 bytes, sha256 6a94a8273ab1fc5735743967b621eb5a3baba8e36a202f61c20dc47fbb80eb51
semantic-repair-0.8b-repair-20261118-lora-f16.ggufthe repair adapter, F16 LoRA at rank 32, 43,316,320 bytes, sha256 dc16f1bff7e50346646148befe1e8aac6639fb0de8ff2cc0b6ed109975f042b8
LICENSEthe base model's Apache-2.0 licence

One base serves every job: an adapter costs 22 to 43 MB, not another 800 MB model. Pin the sha256 of both files: a routing decision has to be reproducible.

Where it runs

With llama-server, the model loaded only when it is needed and released after an idle window:

llama-server -m qwen3.5-0.8b-base-2fc06364-q8_0.gguf \
  --lora semantic-repair-0.8b-repair-20261118-lora-f16.gguf \
  --jinja --host 127.0.0.1 --port 9250 -ngl 99 -c 32768 --no-context-shift --cache-ram 0

When the companion adapters are loaded too, with one --lora each, every request names its adapter at full scale and the others at none, so the jobs never mix: for a repair, "lora": [{"id": 0, "scale": 1.0}, {"id": 1, "scale": 0.0}, ...]. --cache-ram 0 keeps llama-server from holding up to 8 GiB of earlier prompts in memory: every call asks about a message of its own.

The surface it reads, which is not a chat prompt

Fine-tuned on a bare completion surface. It has never seen a chat template, a system message or a few-shot example. Speak to it the way it was trained:

Capabilities: {the capability ids the chat offers, sorted, comma separated}
Earlier: {capability} | {request}
{Language}: {the message, verbatim}
=>

It completes with one line per request, capability | request, or the single token NO_REQUEST. A request no offered capability does is written none | request.

  • Earlier: lines are what the chat's last turns ran, one line for each request, in the capability | request form the adapter itself writes. A chat's first message has none, and the surface is then the two lines around it. They are how it reads "e per Milano?" after a question about Rome as the same request for another city.
  • When none of those last turns brought anything in from outside the conversation (a deck, an article or a summary of what the chat holds), put first the line of the last turn that did: "trova di più a riguardo" after "ora voglio 3 slides" then reads the subject the slides were about.
  • The newline after => is part of the surface: a prompt that stops at => is a surface the model never read.
  • {Language} is the English name of the language the message is in: Italian, English, French, German, Spanish.
  • The capabilities line is context the model reads, not a formality. Pass the whole list your chat offers, not a shortlist (see What it does not fix).

This is the whole call, on /v1/completions and never on a chat endpoint:

{
  "prompt": "Capabilities: document-search, locate-place, opendata-statistics, web-search\nItalian: dov'è sassari? mostramelo nella mappa e dammi le ultime notizie in italia\n=>\n",
  "stop": ["\n=>"],
  "temperature": 0.0,
  "repeat_penalty": 1.0,
  "max_tokens": 512
}

Greedy, because the same words must always produce the same lines: a router that reruns on a different answer each time cannot be reasoned about. repeat_penalty 1.0 is neutral, since a restatement legitimately repeats the words of the message. The stop string cuts a runaway that starts echoing another message in its own trained format. 512 tokens is the answer cap every measure below used.

What it is measured to do

Served on the base at Q8_0 with its companion adapters, through the chat's routing chain.

480 real Italian chat questions, held out from every training and selection step:

ran only capabilities the question asks for161
ran a capability the question does not ask for26
the person asked to choose293

Most of the questions where the person is asked need something the chain was not given in this measure: a document search with no file selected, or a web search with the web switched off.

100 test messages, 50 Italian and 50 English, written to probe the repair:

rightwrongthe person asked
Italian4811
English4532

The repair alone on 363 real prompts, the distinct prompts the chain sends the repair for the real questions, each answer judged against the capabilities the prompt offered:

the capabilities asked for104
nothing named, rightly242
nothing named, though a capability was asked for7
a capability the message does not ask for4
a capability named where none was asked for5
part of what was asked1

Requests to draw a picture. Of 334 requests to draw, from people whose messages were all held out of training, it names the image generator for 332. Of 129 requests near them (a chart, a document's figures, a real photograph, a slide, a map, an animation, an article, a sheet), it names the image generator for none and their own capability for 122. Of 8 real requests to draw put to the chat, it names the image generator with a confident line for the 6 the router left unsure.

Pictures of real things. Of 97 requests for a picture of something real asked plainly (a city at night, a landmark, a landscape, an animal, a dish), from people whose messages were all held out of training, it names the image generator for all 97. Of 34 requests that name a real place or thing with the words of pictures but ask for its figures, its place on a map or a document's pictures, it names the image generator for none and their own capability for 33. A real request the router leaves uncovered, "dammi un'immagine di new york di notte", goes to the image generator.

Messages as a microphone writes them. 687 held-out messages were read aloud by a voice model and written back by a speech recogniser, and kept where the transcript still holds the same words in the same order: capitals, commas and full stops move, and a question often comes back without its mark. It names the right capabilities for 655 of them as typed and for 654 as dictated; of the 622 that ask for something, it reads 14 dictated ones as asking nothing, and of the 65 that ask nothing it reads none as a request. Of 244 held-out questions typed with a full stop where their mark was, it names the right capabilities for 232, and of 253 typed with nothing there for 240.

A sentence that only the voice made a question ("la città si muove", said with a rising tone and written with a full stop) is a statement on the page: read alone, it names no capability for it. Read after a conversation about the song, it can write a search for what the earlier lines hold, and has named the wrong capability for it: the host application has to read it beside what the person had in front of them.

Messages that point back. Of 53 messages that point back at what a chat found ("trova di più a riguardo", "fammi un articolo su questo") or ask to change what its last turn made ("cambia lo sfondo"), from people whose messages were all held out of training, each read after the requests of the turns before it, it names the right capability for 49: 27 of the 31 that point back, 22 of the 22 that ask for a change. Two real messages, "ora vai online e trova più informazioni recenti a riguardo" after a deck and an article about a statistics question, and "adesso vai online e trova informazioni aggiuntive" after a statistics question, come back as a web search for the subject of that question.

Held-out rows of its own training set, which it never trained on: the right capabilities for 3,264 of 3,446.

What it does not fix

A list without the capability a request needs is answered none. Its training rows list the capabilities a chat offers, and in some of them the right one is taken out and the answer becomes none: it reads the list as context. Pass the whole list the chat offers.

Long briefs lose steps and names. A brief of several hundred tokens comes back with some of its steps and names missing: ask it about one step at a time.

The restatements are terse. "statistiche abitanti Cagliari" is good input for a router and poor prose. It is not meant to be shown to anyone.

Measured in Italian and English. The base pairs cover five languages, but the capability labels and every measure above are Italian and English.

The data it was trained on

189,291 training rows and 3,446 validation rows, from:

  • The published Gramscii-IT/semantic-repair-routing pairs, every line carrying the capability that does its work as two judge models, Qwen3.8-27B and Gemma-4-31B, agreed on it; a row they disagreed on is left out.
  • 57,473 generated rows in Italian and English, written by Qwen3.8-27B (about two thirds) and Gemma-4-31B (about one third), kept only with the capability each was written for; rows for the capabilities that held few lines, and trap and contrast rows for pairs of capabilities that are easy to confuse, kept when both judges found nothing the line leaves out.
  • 1,500 long briefs, each step of their plans a line.
  • 17,107 chat messages from scripted conversations played through the application, whose capability the run that answered them confirmed and both judges confirmed reading the message alone, each with the line Qwen3.8-27B wrote for that capability and both judges confirmed.
  • 4,360 follow-up messages, from scripted chats whose later turns continue the first question about public funding calls or tenders, each row carrying the requests the earlier turns ran as Earlier: lines. Each message was labelled twice by Qwen3.8-27B, greedy and with its own sampling, and kept only where both readings named the same capability, with the line Qwen3.8-27B wrote for it.
  • 6,510 messages written the way people write, each read by both judges as the capability it was written for, with the line Qwen3.8-27B wrote for it and both judges confirmed: typing mistakes, words of another language, capitals and impatience, a correction within the message, an attempt to steer the chat; short, colloquial and misspelled requests for every capability; Open Data questions of one sentence shape that different Open Data capabilities answer; requests about Italian municipalities; and compound messages, two confirmed lines joined into one.
  • 8,097 requests about pictures in Italian and English, written by Qwen3.8-27B in the words of 512 personas and read by both judges as the capability they were written for: 5,364 requests to draw a picture, a logo or an illustration, and 2,733 requests near them that ask for something else (a chart, a document's figures, a real photograph, a slide, a map, an animation, an article, a sheet). In each language the drawing requests are at most twice the near ones, and the messages of one persona in 25 go to validation only.
  • 2,691 requests about pictures of real things in Italian and English, written by Qwen3.8-27B in the words of the same personas and read by both judges as the capability they were written for: 1,792 requests for a picture of something real asked plainly (a city, a landmark, a landscape, an animal, a dish, an object), never said to be made up, and 899 requests that name a real place or thing with the words of pictures but ask for its figures, its place on a map, a document's pictures, a chart or an animation. In each language the picture requests are at most twice the near ones, and the messages of one persona in 25 go to validation only.
  • 6,762 messages as a microphone or a hurried hand writes them, each a row above with its message written again and the same answer. 4,969 hold a message read aloud by a voice model and written back by a speech recogniser: of 9,000 messages spoken, 1,764 came back exactly as typed and the transcripts of 3,940 held the same words in the same order with other capitals and marks, the only ones kept, so that a dictated message never teaches another request than the typed one's. 1,793 are questions written without their question mark, with a full stop in its place or with nothing. Messages that ask for nothing are dictated too, and stay NO_REQUEST.
  • 989 messages that point back at what a chat found or ask to change what its last turn made, in Italian and English, written by Qwen3.8-27B in the words of the same personas, each read after the requests of the turns before it as Earlier: lines, as a chat hands them. Each was labelled twice by Qwen3.8-27B, greedy and with its own sampling, and kept where both readings named the same capability, with the line Qwen3.8-27B wrote whole from the earlier requests, holding their subject, and both readings confirmed; a line that only repeats the message is left out. The messages of one persona in 25 go to validation only.

Each row's prompt lists the capabilities its lines name plus a random draw of the others, because real chats offer lists as varied as that. For some rows the right capability is taken out of the list and the answer becomes none; every one of the 6,510 messages, of the 8,097 requests about pictures, of the 2,691 about pictures of real things and of the 936 training messages that point back also comes that way, and a capability easy to confuse with the one taken out stays on the list. About one row in a hundred goes to validation, a training row whose prompt validation holds too is left out, and no row equals a question of the measures above.

Training

baseQwen/Qwen3.5-0.8B at 2fc06364, its language model only
methodLoRA, rank 32, alpha 64, dropout 0.05, on every linear layer but the embeddings and the head (186 modules, 21.6M parameters)
scheduleone pass: 23,662 updates of 8 examples, learning rate 1×10⁻⁴, 100 warm-up steps
tokens38.2M in the examples, 4.8M of them in the answers
losson the answer only
hardwareone NVIDIA A100 64 GB of the Leonardo supercomputer in Bologna, thanks to CINECA
releaseF16 LoRA GGUF

It starts from the original base.

Licence

Apache-2.0, as its base model Qwen3.5-0.8B. What it writes is yours, and so is the responsibility for what you let it decide.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Можно запустить

Подбираем GPU…

Ревизия весов
25dfafc

0 моделей