/ Модель

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

Контекст
262 144 токена
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
Qwen3.5-9B
Библиотека
transformers
Опубликована
3 ноя 2026

purse-splitter-qwen3.5-9b

Изображение и текст → текст
104скачиваний за 30 дней0лайковвеса обновлены3 ноя 2026

Описание модели

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

PURSE splitter — LoRA-дообученная Qwen3.5-9B, которая распределяет бюджет между задачами, облачными моделями и внешними агентами и выдаёт назначения в JSON.

PURSE splitter — дообученная с помощью LoRA модель Qwen3.5-9B, созданная для бенчмарка распределения бюджета PURSE в проекте HASHIRU. По описанию проекта, ценам и показателям успешности вариантов она назначает задачи облачным моделям или внешним агентам либо предлагает пропустить их, возвращая результат в виде JSON. Модель принимает изображения благодаря сохранённой визуальной части Qwen3.5, однако описанный сценарий распределения бюджета использует текстовые данные.

Модель обучена повторять решения knapsack-оптимизатора на проектах с восемью задачами и четырьмя уровнями бюджета. В тесте на 20 проектах она превзошла необученную Qwen3.5-9B, но уступила бесплатному оптимизатору; авторы отмечают, что ответы модели сами расходуют часть бюджета. Чекпойнт основан на Qwen/Qwen3.5-9B, содержит около 9 млрд параметров и опубликован в формате safetensors; для развёртывания README рекомендует vLLM и запуск только языковой модели. Лицензия — Apache-2.0.

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

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

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

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

Открыть на Hugging Face

PURSE splitter (Qwen3.5 9B)

This model splits a money budget across jobs. It reads a project and writes one JSON reply that says which model or outside agent should do each job, or to skip it. It is Qwen/Qwen3.5-9B fine-tuned with LoRA to copy the split that a knapsack solver makes from the same numbers.

It comes from PURSE, the budget benchmark in HASHIRU (project site). It is a research result, not a general assistant.

What it does

A project gives:

  • a budget in dollars. The splitter's own reply is paid from it first;
  • the options: three cloud models and three outside agents, with their prices;
  • a table of measured success rate and mean cost per attempt, for each job family, difficulty level and option;
  • eight jobs, each with its family, level, point value and the first 160 characters of its text.

The model replies with only a JSON object, for example:

{"j1": "skip", "j2": "skip", "j3": "a2a/gridfast", "j4": "skip", "j5": "skip", "j6": "gpt-6-luna", "j7": "gpt-6-luna", "j8": "gpt-6-luna"}

Each job then gets one attempt on its option, most valuable first. An attempt the money left cannot pay for is cut off.

Results

We scored it on 20 projects it never saw in training, each at four budgets. The score is the share of points earned (each job weighted by its value), averaged over three replays of the stored outcomes. τ is the budget as a multiple of what the best full run costs.

Splitterτ 0.25τ 0.5τ 1τ 2
Knapsack solver (free, reads no job text)0.7150.7880.8420.902
This model0.6630.7500.8200.879
Qwen3.5 9B untrained, thinking off0.5130.5780.6600.661
Qwen3.5 9B untrained, thinking on0000
gpt-6-luna split0.695
  • Training adds 0.15 to 0.22 over the same model untrained. The 95% intervals over the 20 projects exclude zero at every budget.
  • It still loses to the free solver, by 0.02 to 0.05. It pays for its reply (about 8% of the budget), and it can at best copy the solver. It agrees with the solver on 92% of jobs.
  • Against gpt-6-luna's split at τ 0.5 it is 0.056 higher, but the interval includes zero (-0.031 to +0.131).
  • With thinking on, the untrained model never finished thinking within 8,192 tokens at temperature 0, so it answered nothing.

In short: a 9B model can learn the solver's splits. Unless you need a model to read the jobs' text, use the solver.

How to use

Serve the merged model with vLLM. The checkpoint keeps Qwen3.5's vision tower, so serve the language model only:

vllm serve guineapig/purse-splitter-qwen3.5-9b --reasoning-parser qwen3 --language-model-only --max-model-len 16384

Ask with the project as a single user message, thinking off and temperature 0, as in training:

from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:8000/v1", api_key="none")
reply = client.chat.completions.create(
    model="guineapig/purse-splitter-qwen3.5-9b",
    messages=[{"role": "user", "content": prompt}],
    temperature=0,
    max_tokens=512,
    extra_body={"chat_template_kwargs": {"enable_thinking": False}},
)
split = reply.choices[0].message.content

Or add the adapter in adapter/ to the base model yourself:

from peft import PeftModel
from transformers import AutoModelForImageTextToText

base = AutoModelForImageTextToText.from_pretrained("Qwen/Qwen3.5-9B", dtype="bfloat16", device_map="auto")
model = PeftModel.from_pretrained(base, "guineapig/purse-splitter-qwen3.5-9b", subfolder="adapter")

The prompt must follow PURSE's format. split_text in bench/purse/splitter.py builds it.

Limits

  • It learned one market: these six options, their prices, and four job families (arithmetic, grids, aggregation, strings) at levels 1 to 5. With other options, prices or families it will likely need new training.
  • Every training project has eight jobs.
  • The training targets set aside the reply's cost from a rough estimate (about 1,600 tokens), but real prompts are about 3,200 tokens. So the targets slightly underestimate what the reply costs.

Training

  • Data: 3,000 training and 200 validation prompts from PURSE's second round, from projects that share no job with the 20 test projects. Budgets are 0.25, 0.5, 1 and 2 times the full cost. The target is the knapsack's split on the budget minus the reply's cost. The scripts that build it are in bench/lambda/.
  • Method: LoRA with rank 16, alpha 32 and dropout 0.05, on the language model's attention and MLP projections. The loss counts only the reply tokens. The chat template is used with thinking off.
  • Settings: one epoch (188 steps), 16 examples per step, learning rate 1e-4 with 6 warmup steps, longest example 4,096 tokens, seed 2026. Built with the Transformers Trainer, not TRL.
  • Loss: training loss fell from 0.137 to about 0.02. Validation loss ended at 0.020.
  • Hardware: one NVIDIA H100 80GB, about 33 minutes.
  • Software: transformers 5.20.2, peft 0.21.2, torch 2.14.0 (CUDA 13.0), flash-linear-attention 0.6.0. Evaluated with vLLM 0.33.0. The base model is revision c2022362 of Qwen/Qwen3.5-9B.

Files

  • Root: the merged model (base plus adapter) in bfloat16, about 18.8 GB.
  • adapter/: the LoRA adapter alone, about 112 MB.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3_5ForConditionalGeneration
Ревизия весов
511b2f4

0 моделей