/ Модель

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

Контекст
40 960 токенов
Параметры
508 млн
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-0.6B
Библиотека
transformers
Опубликована
22 сен 2026

lq-decide-0.6b

Генерация текстаТекст → текст

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

118скачиваний за 30 дней0лайковвеса обновлены22 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

LQ-Decide 0.6B — компактная модель Ханиша Келота для LocalQuill, созданная дообучением Qwen/Qwen3-0.6B. Она принимает описание состояния, вопрос и фиксированный набор вариантов, а затем за один проход выдаёт вероятности для вариантов. Модель рассчитана на типизированные решения в локальных приложениях, например на телефоне; поддерживает английский язык и контекст до 40 960 токенов. Доступны веса Safetensors и сборки GGUF Q4_K_M и Q8_0; число параметров — около 508 млн. Лицензия — Apache-2.0.

На опубликованных тестовых наборах модель лучше справляется с применением правил и интерпретацией свидетельств, чем с выбором между кандидатами. Авторы отмечают, что на изменённых вариантах примеров качество выбора кандидатов близко к случайному, а по точности модель уступает открытой альтернативе с 4 млрд параметров. Вероятности калибруются температурой 2,05; заявленная задержка измерена на настольном компьютере Apple M5 Max, поэтому её нельзя считать показателем скорости на телефоне. Для работы нужен шаблон запроса, на котором модель обучалась.

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

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

Ограничения

Модель слаба при выборе кандидатов, особенно на изменённых формулировках, и уступает более крупной открытой модели на опубликованных тестах. Проверена для 3–16 вариантов; задержка на телефонах не опубликована, а качество зависит от использования обучающего шаблона.

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

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

Открыть на Hugging Face

LQ-Decide 0.6B

A small model that answers typed decisions instead of generating text. You give it a state and a question with a fixed set of options; it returns a probability over those options from a single forward pass. No tokens are sampled, so the output cannot be malformed and there is nothing to parse or repair.

Built by Hanish Keloth for LocalQuill, a private on-device AI keyboard and offline chat app. It is trained from Qwen/Qwen3-0.6B and is small enough to run on a phone.

This is a v1 and it is not state of the art. The numbers below are measured on public held-out fixtures and are printed in full, including the family it is bad at. Read them before you use it.

Results

Evaluated on the two labelled fixtures from the SemIf project, which were never seen in training. Balanced accuracy, three options per item, chance is 0.333.

authored144perturbations108
LQ-Decide 0.6B (bf16)0.7570.557
LQ-Decide 0.6B (Q8_0 GGUF)0.7500.586
LQ-Decide 0.6B (Q4_K_M GGUF)0.703—
Untrained Qwen3-0.6B, same prompt0.512—
SemIf, Qwen3.5-4B, published0.813—
Jev (TypeSafe, closed), published0.883—

Per family, Q8_0:

familyauthored144perturbations108
rule application0.8120.722
evidence interpretation0.7920.639
candidate selection0.6460.389

Known weakness

Candidate selection is weak, and on the perturbation set it is close to chance. That set contains modified variants of the same items, so the gap between 0.646 and 0.389 means the model is leaning on surface wording rather than the distinction being asked about. If your task is "pick which of these two statements satisfies X", this model is not reliable yet. Rule application and evidence interpretation are considerably better.

The model is also below the open 4B alternative on the same fixture. Use LQ-Decide if size and latency matter to you; use a larger model if accuracy matters more.

Calibration

Probabilities are temperature-scaled with a single constant fitted on a held-out split, shipped in calibration.json.

expected calibration error
raw0.172
after T = 2.050.049

Averaging the logits over all option orderings costs nothing in accuracy and improves calibration further on some splits. Apply the temperature before reading the probabilities as confidence.

Latency

Measured with llama.cpp on an Apple M5 Max, 147-token prompts, one decision per request:

quantmedianp95file size
Q4_K_M36 ms47 ms378 MB
Q8_037 ms49 ms610 MB

Phone numbers are not published yet. Every latency figure in this space, including this one, comes from a desktop. Do not assume it transfers to a handset.

Use

import torch, json
from transformers import AutoTokenizer, AutoModelForCausalLM

LETTERS = "ABCDEFGHIJKLMNOP"
SYSTEM = ("Apply the supplied criterion to the supplied evidence. Choose exactly one listed option. "
          "Respond with only its uppercase letter, with no explanation or reasoning.")

tok = AutoTokenizer.from_pretrained("Hanish/lq-decide-0.6b")
model = AutoModelForCausalLM.from_pretrained("Hanish/lq-decide-0.6b", dtype=torch.bfloat16).eval()
T = json.load(open("calibration.json"))["temperature"]   # 2.05

def decide(state, question, options):
    payload = {"evidence": state, "criterion": question,
               "options": [{"letter": LETTERS[i], "description": d} for i, d in enumerate(options)]}
    msgs = [{"role": "system", "content": SYSTEM},
            {"role": "user", "content": json.dumps(payload, ensure_ascii=False)}]
    text = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True, enable_thinking=False)
    ids = tok(text, return_tensors="pt")
    with torch.no_grad():
        logits = model(**ids).logits[0, -1]
    sel = torch.tensor([logits[tok.encode(LETTERS[i], add_special_tokens=False)[0]]
                        for i in range(len(options))]).float()
    return torch.softmax(sel / T, -1).tolist()

print(decide(
    "The optician ordered replacement lenses. The workshop confirms they have not yet been fitted.",
    "Assess the claim: the replacement lenses have been fitted.",
    ["The evidence establishes the claim",
     "The evidence does not establish either",
     "The evidence establishes the opposite"]))

The prompt format matters. The model was trained on exactly this template, with options shuffled and the answer letter re-based during training so it reads descriptions rather than positions.

GGUF builds are in this repository. With llama-server, request one token with logprobs and read the probability mass on the option letters; nothing is generated.

Training

LoRA rank 32 on all projections, merged. Loss on the single answer-letter token only. Options were permuted and the letter set re-based every epoch. 117,096 rows, two epochs, about two hours on one L40S.

Data, all licence-checked, non-commercial sources excluded:

sourcerowslicence
MNLI, SNLI, WANLI60,000CC-BY / CC-BY-SA
CLINC150, MASSIVE, Banking7736,757CC-BY 3.0 / 4.0
BoolQ9,427CC-BY-SA 3.0
SMS Spam5,574CC-BY 4.0 (UCI)
Synthetic decision families29,280generated with Ornith-1.5-35B-A3B (MIT)

The synthetic portion covers three families with fifteen mechanisms each. The intended answer was fixed before generation and the teacher only wrote the surface text, so there is no teacher-labelling noise. The evaluation fixtures were never generated from, trained on, or shown to the teacher.

Limitations

  • English only.
  • Three to sixteen options; not tested beyond that.
  • Weak on candidate selection, as shown above.
  • Below larger open models on the same fixture.
  • Not compared against Laya or other recent decision models, because those publish on their own benchmarks and this one has not been run on them. Do not read the table above as a ranking against anything not in it.

Credits

Base model Qwen/Qwen3-0.6B (Apache-2.0, Alibaba). Evaluation fixtures from the SemIf project (MIT). Synthetic data generated with Ornith-1.5-35B-A3B (MIT). The interface pattern follows TypeSafe's Jev, which is a separate closed product; this model is not affiliated with or endorsed by it.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
47aeb77

0 моделей