/ Модель

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

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

r2egym-rad-origin-cosine-h40

Генерация текстаТекст → текст3 профессии
0скачиваний за 30 дней0лайковвеса обновлены24 сен 2026

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

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

Экспериментальные чекпойнты Qwen3.5-4B после короткого RAD-дообучения на R2E-Gym для генерации текста в задачах программной инженерии.

ziansu выпустил экспериментальный чекпойнт Qwen3.5-4B, полученный дообучением методом RAD на подмножестве R2E-Gym. Репозиторий содержит восемь снимков политики после 5, 10, 15, 20, 25, 30, 35 и 40 обновлений; веса находятся в соответствующих подпапках, а корень репозитория весов не содержит. Обучение использовало замороженную модель Qwen3.6-27B как учителя и вариант RAD с косинусным расписанием, рассчитанным на 40 обновлений.

Модель предназначена для генерации текста в задачах программной инженерии и работы с траекториями программного агента. Базовая Qwen3.5-4B мультимодальна, но в этом обучении обновлялась только языковая часть, а модуль зрения остался идентичным базовой модели. Оценки удерживаемой выборки и SWE-bench Verified для этих чекпойнтов пока не опубликованы, поэтому качество данного запуска не установлено. Модель распространяется по лицензии Apache-2.0.

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

  • эксперименты с агентом для решения задач программной инженерии
  • изучение влияния RAD-дообучения на генерацию кода
  • сравнение промежуточных чекпойнтов после 5–40 обновлений
  • воспроизведение экспериментов на подмножестве R2E-Gym

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

RAD origin-cosine, horizon 40, on R2E-Gym — Qwen3.5-4B, sampled trajectory

One RAD origin-cosine run (ocb0921a) on the R2E-Gym subset, starting from Qwen/Qwen3.5-4B, published every five updates:

subfolderstep5step10step15step20step25step30step35step40
committed updates510152025303540

stepN holds the policy after N committed updates, converted from Megatron dist-checkpoint iter_{N-1:07d}. The run saved a checkpoint at every update; intermediate ones are retained on the training host.

What distinguishes this run

The origin of the token-weight box anneals on a cosine schedule, and this run sets --lookahead-origin-horizon 40 so the schedule completes inside its 40-update budget:

origin(k) = 0.5 * (1 + cos(pi * (k - 1) / 39))

It therefore starts at 1.0 and reaches exactly 0 at update 40, where the box is the symmetric [-1, 1] and half the tokens carry negative weight. Measured at the final update: origin 0.00000, mean token weight -0.0035, negative-weight tokens 50.2 %, saturation 8.0 % low and 7.8 % high.

This is the difference from ziansu/r2egym-rad-origin-cosine, which is a different run (ocf0916b) using the preset's default horizon of 100: over its 40 updates the origin only annealed from 1.0 to about 0.66, so its box never approached [-1, 1]. ocf0916b scored 51.13 % pass@1 on SWE-bench Verified at 98,304 context / 100 turns, with the best pass@3 of that sweep (65.00 %). This run exists to test whether completing the anneal inside the budget changes that.

Usage

Pass the subfolder explicitly — the repo root holds no weights:

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "ziansu/r2egym-rad-origin-cosine-h40"
model = AutoModelForCausalLM.from_pretrained(repo, subfolder="step40", dtype="bfloat16")
tokenizer = AutoTokenizer.from_pretrained(repo, subfolder="step40")

AutoModelForCausalLM yields Qwen3_5ForCausalLM (4.21 B parameters, the language model). The checkpoints also carry the base model's vision tower, so AutoModelForImageTextToText yields the full Qwen3_5ForConditionalGeneration (4.54 B). Agent evaluation in this project used the language model only.

Training

Base modelQwen/Qwen3.5-4B
MethodRAD, lookahead-projected-ascent-origin-cosine preset, against a frozen Qwen3.6-27B teacher
Origin horizon40 (--lookahead-origin-horizon 40), so the origin reaches 0 at the final update
Other RAD settingsTIS cap 5, one JVP microbatch per pass
CorpusR2E-Gym subset
Rollout context65,536 tokens
Learning rate1e-6
Global batch256
Rollout batch32 task groups x 8 samples per update
Updates40 committed, finishing 2026-09-24 07:45 UTC

Evaluation

Held-out and SWE-bench Verified evaluations of these checkpoints are in progress and will be added here when they complete. Until then this repo carries no score: do not transfer numbers from the other origin-cosine repo, which is a different run with a different origin horizon.

For reference, the comparable negative-warmup run (nwb0921a, published at ziansu/r2egym-rad-negative-warmup) scored 52.58 / 54.93 / 52.58 / 56.34 % pass@1 on the frozen 71-task R2E holdout at updates 10/20/30/40 (213 episodes per point), against 45.07 % for the base model.

Conversion details

Exported with slime's tools/convert_torch_dist_to_hf.py (--vocab-size 248320 -a), pointing at each iter_* directory directly, so the marker file is never consulted and a base-weight fallback cannot occur. Every export was checked before upload: the full 738-tensor key set of the base model, matching shapes, and at least one sampled weight matrix differing from the base model.

  • The vision tower is byte-identical to Qwen/Qwen3.5-4B; training updated the language model only.
  • 48 tensors are stored in bfloat16 where the base model uses float32: linear_attn.A_log and linear_attn.norm.weight on each of the 24 layers. Training held every parameter in bfloat16, and that is the precision the inference server served during training and evaluation.
  • At a learning rate of 1e-6 a single update moves a large matrix by roughly one bfloat16 ulp on 16-39 % of its elements, so even five updates apart these checkpoints look nearly identical tensor-by-tensor. They are distinct policies, not duplicates.

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
837692b

0 моделей