/ Модель

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

Контекст
2 048 токенов
Параметры
124 млн
Лицензия
Своя лицензия
Архитектура
llama · dense
Библиотека
transformers
Опубликована
14 окт 2026

nltower-100m-sft-tw1X-e2

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

Небольшая англоязычная Llama-модель, дообученная на трассах решения синтетических логических головоломок nl_tower для исследований SFT и последующего обучения с подкреплением.

419скачиваний за 30 дней0лайковвеса обновлены29 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

nltower-100m-sft-tw1X-e2 — языковая модель на 123,6 млн параметров, разработанная sfanm в рамках исследования nl_tower. Это декодерная модель семейства Llama (LlamaForCausalLM), дообученная на синтетических трассах пошаговых решений логических головоломок про размещение людей по этажам. Контекст модели — 2048 токенов; репозиторий содержит веса в формате safetensors.

Модель предназначена для экспериментов с обучением на трассах решений и последующим обучением с подкреплением без демонстраций. Она хорошо справляется с тестовыми задачами, построенными на показанных при обучении шаблонах, но заметно хуже — с проверками на новые комбинации косвенных ссылок. Для решения задача подаётся как текст головоломки с суффиксом «Answer: », а модель генерирует рассуждение и итоговое распределение в формате \\boxed{Имя=этаж, ...}. Модель ориентирована на английские запросы nl_tower и не является универсальным помощником.

Дообучение проводилось в течение двух эпох на 796 175 трассах детерминированного решателя. По данным карточки, обычные текстовые способности модели в значительной степени утрачены; она не настроена на инструкции или безопасность и не предназначена для пользовательских сценариев. Лицензия указана как other, поэтому условия использования следует сверить с лицензией и файлами репозитория.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

nltower-100m-sft-tw1X-e2

A 124M-parameter Llama-style model from the nl_tower study: the end-of-pretraining base model fine-tuned on solver-written reasoning traces for 2 epochs at learning rate 2e-4. It is the stage-1 starting point of the "staged" recipe (SFT, then pure RL without demonstrations), not a general-purpose assistant.

This repository is part of the nl_tower (100M) collection on the Hugging Face Hub (5 CPT models, 6 SFT models, the base model and 4 datasets).

nl_tower in brief

nl_tower is a synthetic reasoning task. Each puzzle places 6-12 people on distinct floors (1-40) of a tower. The prompt lists the occupied floors, each person's best friend, and clues that relate the floors of two terms ("greater than", "k floors above", sums, parity, "twice", highest/lowest). Many clues refer to people indirectly, for example "the best friend of the person on the second-highest floor"; such a clue becomes usable only after other clues have pinned part of the answer. Each puzzle has a unique solution that a step-by-step solver reaches without guessing.

The study asks whether reinforcement learning can teach reasoning compositions that the imitation data never shows:

  • Covered patterns (shown in the mid-training traces): friend ("Ava's best friend"), friend2 ("the best friend of Ava's best friend"), order ("the person directly above Ava"), rankn ("the person on the second-highest floor"), dfriend_occ ("the best friend of the person on floor 19").
  • Held-out patterns (appear only in RL prompts and tests): dfriend_rank ("the best friend of the person on the highest floor"), dfriend_above ("the best friend of the person directly above Ava"), and nested (two-level references).

Test rungs: easy (nltw_e, 6-7 people, covered only), covered mid (nltw_m0, 8-9 people, covered only), held-out mid (nltw_m, 8-9 people, 2-4 held-out steps), size-only hard (nltw_hb, 10-11 people, 2-4 held-out steps) and 12 people (nltw_hb12, test only).

Position in the pipeline

base pretraining (iteration 30,000, before the cooldown) --CPT-N (cooldown + N trace sequences per batch)--> CPT-N models --RL--> policies
base pretraining (iteration 38,147, end of the run) --SFT on the same traces--> SFT models --RL (no demos)--> policies

This model is one of the six staged SFT starting points (1 / 2 / 4 epochs x learning rate 2e-4 / 5e-5). Note that it starts from iteration 38,147 of the base run (the end of pretraining, after the full cooldown), not from sfanm/nltower-100m-base (iteration 30,000).

Training (SFT)

  • Start: end of the base pretraining run (iteration 38,147); that checkpoint is not part of this release.
  • Data: all 796,175 traces of sfanm/nltower-traces-tw1X (config traces), easy and covered-mid puzzles with covered patterns only.
  • Loss: token-level negative log-likelihood on the trace tokens plus EOS; prompt tokens get no loss. Sequences up to 2,048 tokens (the longest record has 1,218).
  • Optimiser: AdamW (beta1 0.9, beta2 0.95, weight decay 0.01), fp32 weights, peak learning rate 2e-4, cosine schedule with 5 % warmup.
  • Batch: 32 sequences per step on 4 GPUs (data parallel); 24,881 steps per epoch, 49,762 steps in total (2 epochs).

Architecture

propertyvalue
architectureLlamaForCausalLM (decoder-only)
parameters123,587,328 (embeddings tied with the output layer)
layers / hidden size / heads12 / 768 / 12 (head dim 64, no grouped-query attention)
MLPSwiGLU, intermediate size 2,048
normalisation / positionRMSNorm (eps 1e-5) / RoPE (theta 10,000)
tokenizerGPT-2 BPE (50,257 tokens; embedding padded to 50,304)
special tokens<|endoftext|> (id 50256) is BOS, EOS and PAD
context length2,048 tokens
weightsmodel.safetensors, bfloat16

Prompt format and usage

The prompt is the puzzle text followed by "\n\nAnswer: ". The model writes its reasoning and ends with the full assignment in \boxed{Name=floor, ...}. A completion is correct when every Name=floor pair in the boxed answer matches the solution (order does not matter). The chat template only concatenates message contents (no role markers), so apply_chat_template and the raw prompt give the same tokens.

from transformers import AutoModelForCausalLM, AutoTokenizer
from datasets import load_dataset

repo = "sfanm/nltower-100m-sft-tw1X-e2"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="bfloat16")

test = load_dataset("sfanm/nltower-env", "tests", split="nltw_m0")
prompt = test[0]["prompt"]                      # question + "\n\nAnswer: "
ids = tok(prompt, return_tensors="pt").input_ids
out = model.generate(ids, max_new_tokens=1280, do_sample=False, pad_token_id=tok.eos_token_id)
print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True))   # ... \boxed{Name=floor, ...}
print("gold:", test[0]["answer"])

Evaluation

Zero-shot screen of this model before RL. Protocol: 1,024 test questions per rung; 64 samples per question at temperature 1.0 (top-p 1.0) and up to 1,280 new tokens with vLLM in bfloat16; pass@k uses the unbiased estimator 1 - C(n-c, k)/C(n, k) with n = 64; greedy is one temperature-0 sample. Test sets: sfanm/nltower-env, config tests.

test rungpass@1pass@64greedy
easy (nltw_e)0.9531.0000.956
covered mid (nltw_m0)0.8701.0000.904
held-out mid (nltw_m)0.0190.2310.016

The covered rungs are nearly solved, while the held-out-pattern rungs stay low: imitation of covered patterns alone does not teach the held-out compositions.

RL runs that start from this model and have evaluations in sfanm/nltower-results (filter init == "staged-2ep-lr2e-4", the name of this model in the code), by setting (base: 8-9-person prompts, 6,000 updates; extended: 10-11-person prompts added, 12,000 updates) and group:

settinggroupruns
basestaged2
extendedstaged2

Intended use and limitations

  • Intended for research on imitation followed by reinforcement learning, as the stage-1 model of the staged recipe.
  • Fine-tuning on traces largely overwrites general text ability (its loss on ordinary English prose is high); use it only on nl_tower prompts.
  • 124M parameters and a synthetic task: results may not transfer to larger models or natural tasks. Not instruction-tuned or safety-tuned; not for user-facing use.

Training data

Code

Code: https://github.com/yudasong/unified-training/tree/release (environment generator, solver, data builders, training recipes and evaluator).

License

No license has been chosen for these weights yet, so the metadata says license: other. The base model was pretrained on:

Use the weights only in ways that the terms of these datasets allow. The nl_tower data used after pretraining is the authors' own synthetic data (Apache-2.0, see the dataset repositories).

Authors and citation

Authors and citation: to be added.

This release (files and this card) was prepared with AI assistance (Claude, an Anthropic model) and is being reviewed by the authors.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
36a3be2

0 моделей