/ Модель

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

Контекст
4 096 токенов
Параметры
149 млн
Лицензия
Apache 2.0
Архитектура
rwkv7 · dense
Базовая модель
rwkv-7-world
Библиотека
transformers
Опубликована
30 июл 2026

rwkv7-0.1b-hf

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

Компактная модель RWKV-7 World на 149,4 млн параметров для генерации текста и диалогов, подготовленная для загрузки через Transformers.

306скачиваний за 30 дней0лайковвеса обновлены2 авг 2026

Бенчмарки

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

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

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

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

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

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

RWKV-7 «Goose» 0.1B — преобразованная для загрузки через Transformers версия весов RWKV-7 World от BlinkDL и проекта RWKV. Это плотная авторегрессионная языковая модель архитектуры RWKV-7 с 149,4 млн параметров и контекстом до 4096 токенов; доступны веса в формате safetensors и реализация для библиотеки Transformers. Модель поддерживает генерацию текста и диалоги, рассчитана прежде всего на английский и китайский языки.

Модель подходит для продолжения текста, простых диалоговых сценариев и экспериментов с компактными языковыми моделями. В README указана проверка совпадения 20 генерируемых токенов с официальной реализацией RWKV на CPU, Apple Silicon MPS и CUDA. Лицензия — Apache-2.0.

Репозиторий представляет собой преобразование формата исходной модели: README описывает переименование тензоров, а не изменение весов; метаданные классифицируют связь с базовой моделью как дообучение. Для воспроизведения результатов рекомендуется учитывать небольшой размер модели и ограниченный контекст; качество на конкретных задачах в карточке не оценивается.

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

  • продолжение английского текста
  • генерация коротких ответов в диалоге
  • эксперименты с компактными языковыми моделями
  • локальный запуск генерации на CPU
  • проверка совместимости реализаций RWKV-7

Ограничения

Размер модели невелик — 149,4 млн параметров, а контекст ограничен 4096 токенами; качество на прикладных задачах в карточке не приведено. README описывает конверсию весов, тогда как метаданные называют связь с базовой моделью дообучением.

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

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

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

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

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

Открыть на Hugging Face

RWKV-7 "Goose" 0.1B — converted for the in-tree transformers implementation

This is not a new model. It is a format conversion of BlinkDL/rwkv-7-world → RWKV-x070-World-0.1B-v2.8-20241210-ctx4096.pth, laid out as a transformers directory so that the rwkv7 implementation can load it with from_pretrained. All credit for the weights belongs to BlinkDL / the RWKV project; they are redistributed here under the Apache-2.0 licence they were released under.

Why this exists

RWKV-7 weights are published in two layouts, and until now neither loaded into the in-tree implementation:

  • the reference .pth — the same parameter names, but a bare torch.save of a flat dict rather than a transformers directory;
  • the fla layout — a transformers directory, but a trust_remote_code repo whose modelling code and tensor names come from flash-linear-attention, so it loads its own implementation.

The conversion is a rename, not a transformation. Every one of the 399 tensors in the source .pth is bit-identical here; the only additions are three all-zero placeholders for layer 0's value-residual LoRA, which that layer never reads (layer 0 produces v_first rather than mixing towards it) and which exist so the state dict is rectangular. bfloat16, the dtype the source is stored in.

Usage

The implementation ships inside this repo (auto_map remote code), so stock transformers is all you need — no fork, no extra package:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("RWKV/RWKV7-Goose-World2.8-0.1B-HF", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("Hakureirm/rwkv7-0.1b-hf", trust_remote_code=True, dtype=torch.bfloat16)

inputs = tokenizer("The Eiffel Tower is located in the city of", return_tensors="pt")
print(tokenizer.decode(model.generate(**inputs, max_new_tokens=20)[0]))

The same model class is also open as an in-tree PR (rwkv-rs/transformers-rwkv#2); this repo is the way to use it today on released transformers.

Runs on

Pure-PyTorch portable path, no CUDA-only code on it. Verified, greedy 20/20 against BlinkDL's own runtime in each case: CPU (fp32/bf16, transformers 5.12.1), Apple Silicon MPS (fp32 and fp16), CUDA (the full test suite). Optional Triton kernels engage only on CUDA and fall back to the portable path everywhere else.

RWKV-7 is attention-free and fully recurrent: the state is a fixed-size matrix per head, so there is no KV cache, memory is constant in context length, and each new token costs the same as the first.

Verification

Checked against BlinkDL's own runtime — the rwkv package at cpu fp32 with RWKV_V7_ON=1, not against the implementation being loaded here, which would be self-certifying, and not against fla, whose RWKV layer prints a warning on import saying it is potentially buggy and that results should be cross-checked against the official repository.

Greedy, 20 tokens, from "The Eiffel Tower is located in the city of":

loaded astokens matching the reference runtime
float3220/20
bfloat1620/20

Both produce " Paris, France. It is the tallest building in the world and is the world's tallest".

Logits agree with the reference to 7.06e-05 absolute and 1.97e-06 relative, with argmax agreement on every prompt position.

0.1B is a useful size to check against for a reason beyond its download: it is 768 wide with head_dim 64, i.e. twelve heads of width 64, so the head count and the head width differ. At larger widths where both are 64, a quantity indexed by the wrong one of them agrees by coincidence.

Reproducing the conversion

huggingface-cli download BlinkDL/rwkv-7-world RWKV-x070-World-0.1B-v2.8-20241210-ctx4096.pth --local-dir .
python src/transformers/models/rwkv7/convert_rwkv7_checkpoint_to_hf.py \
    --checkpoint RWKV-x070-World-0.1B-v2.8-20241210-ctx4096.pth \
    --flavour native --dtype bfloat16 --output_dir ./rwkv7-0.1b-hf

--flavour fla reads the safetensors layout instead. The converter compares the checkpoint's tensor shapes against the ones the config implies and refuses a disagreement, so a config that names a different model fails rather than producing something that loads and generates noise.

Citation

The model is RWKV-7 "Goose" by Bo Peng (BlinkDL) and the RWKV community. Reference implementation: BlinkDL/RWKV-LM.

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

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

GPU в ailist

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

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
Rwkv7ForCausalLM
Ревизия весов
16136bb

0 моделей