Skip to content
Other

Starlord-27B-v2.0-preview

выбор ответа за один проход без генерации текста

2 min readupdated

Модель принятия решений на базе Qwen3.8-27B (27.36B параметров) от автора xsdfasfgsa. Вместо привычной посимвольной генерации ответа она считывает логиты (сырые оценки вероятностей токенов) напрямую из исходного словаря и обрабатывает контекст вместе со всеми вопросами за один прямой проход (forward pass). За счёт этого модель сразу вычисляет вероятности вариантов через FP32 softmax с отключённым KV-кэшем, что ускоряет оценку выбора среди большого числа опций. Пригодится исследователям и разработчикам систем принятия решений, тестирования и автоматического выбора вариантов в длинном контексте.

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

  • Работает без генерации токенов (0 generated tokens): вычисляет вероятности кандидатов за один проход.
  • Принимает длинный общий запрос до 131 072 токенов с контекстом и набором вопросов сразу.
  • Поддерживает до 512 вариантов ответа на каждый вопрос.
  • Основана на Qwen/Qwen3.8-27B, в семействе релиза также есть версия на 2B параметров.

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

  • Встроить в пайплайны оценки и бенчмарки через библиотеку decision_index (DirectEngine) для задач выбора из множества вариантов.
  • Использовать в системах маршрутизации и классификации, где нужно ранжировать до 512 готовых решений по длинному описанию состояния без затрат на авторегрессивную генерацию.

Пример

export PYTHONPATH="$PWD/inference${PYTHONPATH:+:$PYTHONPATH}"
CUDA_VISIBLE_DEVICES=0 python -m decision_index pipeline \
  --edition 0.3 \
  --suite-dir /path/to/suite-0.3 \
  --engine direct_engine:DirectEngine \
  --model . \
  --option maximum_tokens=131072 \
  --out decision-index-results
ПодробнееБенчмарк Decision Index Public 0.3 (локальный прогон): 78.45 (официальная проверка ожидается).
Железо и точность: требуется CUDA GPU с поддержкой BF16 и FlashAttention 2.8.3 (тестировалось на 8 × NVIDIA H800, по одной модели на GPU, batch size 1, TF32 и KV-кэш отключены).
Стек: PyTorch 2.10.0+cu130, Transformers 5.3.0, Accelerate 1.15.0, flash-linear-attention 0.4.1.
Discuss Telegram 0 22

Will it run?

Runs in 4-bit

Full precision does not fit, a quantised version does: quality barely changes down to 8 bits, more noticeably at 4 bits.

  • BF16weights 51 GB · ready files57 GB
  • FP8 / INT8recommendedweights 25 GB29 GB
  • 4-bitweights 14 GB16 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.

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.

    # xsdfasfgsa/Starlord-27B-v2.0-preview
    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 xsdfasfgsa/Starlord-27B-v2.0-preview --local-dir ~/models/Starlord-27B-v2.0-preview
    # The model is in ~/models. How to run it is in the model card (link above).
  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

New posts about versions of Qwen3.8-27B (quants, finetunes, LoRAs) will show up under the bell.

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

About the model

xsdfasfgsa/Starlord-27B-v2.0-preview
Author
xsdfasfgsa
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

220

Ask AI about this model

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

Comments