Skip to content
Computer vision

Modeline-584B-A17B

RL-адаптер для игры в Celeste в реальном времени

2 min readupdated

Modeline-584B-A17B — это LoRA-адаптер (небольшая обучаемая надстройка над базовой моделью) для мультимодальной модели Inkling 2 Small от Thinking Machines, обученный с помощью RL (обучения с подкреплением) проходить классический платформер Celeste Classic в реальном времени на бенчмарке CelesteBench. Обучение проходило на платформе Tinker исключительно на процедурно сгенерированных уровнях, без доступа к комнатам из самого бенчмарка. По сравнению с базовой моделью адаптер заметно повышает стабильность прохождения начального участка, хотя и генерирует более длинные рассуждения на каждый ход. Модель пригодится исследователям RL-агентов, игровых бенчмарков и работы с MoE-архитектурами (Mixture-of-Experts, смесь экспертов).

Ключевые особенности

  • Обучение методом GRPO: модель тренировалась на ~500 проверенных процедурных комнатах (30 шагов по 12 комнат и 8 прогонов) с наградой за выход из комнаты и прогресс к выходу.
  • Полный охват слоёв: LoRA с параметрами rank 32 и alpha 32 применена ко всем линейным слоям (attention, MoE-экспертам и unembedding) и сохранена в float32 весом 16.7 ГБ.
  • Рост стабильности в CelesteBench: средний результат вырос с 0.65% у базовой Inkling 2 Small до 1.07% в 300-секундных прогонах реального времени (режим thinking low).
  • Специфичный формат Tinker: веса экспортированы через save_weights_external с именами модулей Tinker, поэтому не грузятся напрямую через стандартный PeftModel.from_pretrained без переименования.

Что можно сделать

  • Запустить в среде Tinker: загрузить адаптер через экспериментальный API external-weights upload и протестировать агента в реальном времени на CelesteBench.
  • Изучить поведение RL-агентов в платформерах: проанализировать, как функция награды (учитывавшая прогресс в воздухе) сформировала стратегию прыжков в сторону выхода.
  • Смержить веса вручную: переименовать модули под структуру чекпоинта на Hugging Face и применить дельты LoRA к деквантованным весам MoE-экспертов для инференса вне Tinker.

Пример

import json, requests, tinker
from huggingface_hub import hf_hub_download

repo = "lucrbrtv/Modeline-584B-A17B"
rest, service = tinker.RestClient(), tinker.ServiceClient()
start = rest.external_weights_upload_start(
    base_model="thinkingmachines/Inkling-2-Small",
    lora_config=tinker.types.LoraConfig(rank=32, train_unembed=True, train_mlp=True, train_attn=True)).result()
ПодробнееБенчмарк CelesteBench RTC (300 с, thinking low): Modeline-584B-A17B набирает 1.07% (5 запусков) против 0.65% у Inkling 2 Small (7 запусков), уступая GPT 6 Astra (1.96%) и GPT 6.1 Sol medium (3.33%).
Стабильно добирается до вершины первой колонны в 5 из 5 запусков (у базы — 2 из 7), но выше не поднимается.
Средняя длина ответа выросла со ~180 до ~440 токенов на решение, что замедляет отклик и увеличивает стоимость.
Ограничения: пока не поддерживается в transformers/PEFT, для vLLM/SGLang нужен BF16-чекпоинт (публичные весы в NVFP4/MXFP8), а загрузка в Tinker требует активации экспериментального API для организации.
Discuss Telegram 0 45

Will it run?

Won't run

Not enough memory even for 4-bit. Below are GPUs you can rent.

  • U8weights 575 GB · ready files633 GB
  • FP8 / INT8recommendedweights 569 GB626 GB
  • 4-bitweights 327 GB360 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

No single instance holds the whole model: it needs RAM offload or a cluster.

Your own GPU: Won't fit any home GPU — renting is cheaper.

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

This is a LoRA: counted together with its base model Inkling-2-Small.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # lucrbrtv/Modeline-584B-A17B
    # ===== Tokens: paste yours between the quotes =====
    export HF_TOKEN=""        # huggingface.co/settings/tokens, for gated models
    # ==========================================
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download thinkingmachines/Inkling-2-Small --local-dir ~/models/Inkling-2-Small
    hf download lucrbrtv/Modeline-584B-A17B --local-dir ~/models/Modeline-584B-A17B
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to Inkling-2-Small
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

Requires the base model

thinkingmachines/Inkling-2-Small

This model is a LoRA / adapter. Download the base model first, then load this one on top.

New posts about versions of Inkling-2-Small (quants, finetunes, LoRAs) will show up under the bell.

Quantised versions 12All on Hugging Face
Fine-tunes 9All on Hugging Face
LoRAs and adapters 4All on Hugging Face

About the model

lucrbrtv/Modeline-584B-A17B
Author
lucrbrtv
Category
Computer vision
Released
Posted

On NeyroLearn

Hugging Face

450

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments

Computer vision

gpt2.5-v0.5

gpt2.5-v0.5