/ Модель

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

Размер весов
17,6 ГБ
Лицензия
Apache 2.0
Библиотека
xllm
Опубликована
28 сен 2026

LoopedLM-P1-moe-middle-500b

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

Экспериментальный чекпойнт MoE-языковой модели IFM для исследования генерации текста с looped-архитектурой.

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

Бенчмарки

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

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

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

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

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

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

Экспериментальный чекпойнт IFM из работы «Towards Looped Models Done Right. Part I: Topology, Input Injection, Recurrent-State Organization». Это модель генерации текста семейства MoE middle loop с архитектурой Huginn; контрольная точка получена на этапе обучения, соответствующем обработке 500 млрд токенов, шаг оптимизатора 119 210. Веса BF16 сохранены в Safetensors в нативном формате xLLM.

Модель предназначена для исследования и оценки рецепта обучения looped-языковых моделей. Для запуска требуется код xLLM, CUDA GPU и FlashAttention 3; стандартный загрузчик Transformers её не загружает. README предлагает оценивать модель по протоколу статьи. Указана лицензия Apache-2.0. Точный размер модели и длина контекста в доступных данных не приведены.

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

  • оценка генерации текста в эксперименте с looped-моделью
  • воспроизведение протокола оценки из Part I
  • исследование архитектур MoE для языковых моделей

Ограничения

Для инференса необходимы xLLM, CUDA GPU и FlashAttention 3; загрузка через Transformers AutoModel не поддерживается. Оптимизатор, состояние загрузчика данных и состояние обучения в репозитории отсутствуют, поэтому продолжить обучение с этой контрольной точки нельзя.

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

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

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

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

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

Открыть на Hugging Face

MoE Middle · 500B tokens

Checkpoint of the moe_middle recipe at the 500B-token endpoint (optimizer step 119,210), from Towards Looped Models Done Right. Part I: Topology, Input Injection, Recurrent-State Organization.

[!IMPORTANT] Loading this checkpoint requires the xLLM code. The weights are stored in xLLM's native format (BF16 Safetensors with an xLLM config.json and artifact_manifest.json). This is not a Hugging Face transformers checkpoint: AutoModel.from_pretrained cannot load it. Get the code at https://github.com/ifm-ai/xllm-loop and load the directory with xllm.paper_part1.native_inference.load_native_model.

Model details

FieldValue
Recipemoe_middle
FamilyMoE middle loop
Architecture (model.arch)huginn
Endpoint500b: optimizer step 119,210, 500,002,979,840 training tokens
Parameters (resident)8,780,889,600
Parameters (activated per token)1,563,803,136
Training seed1
OptimizerAdamW; weight decay 0.1
LR schedulecosine; 200-step warmup; 119,210-step horizon (the 500B endpoint)
Global batch512 sequences × 8,192 tokens = 4,194,304 tokens/step
WeightsBF16 Safetensors, 4 shards of at most 5 GiB
Tokenizertokenizer/, derived from IFM/K2-Horizon-3.7B (see NOTICE)
Other endpoint336B tokens

Download

hf download IFM/LoopedLM-P1-moe-middle-500b --local-dir models/moe_middle/500b

The xLLM loader checks the directory against artifact_manifest.json: it rejects symbolic links and files the manifest does not list, apart from the .gitattributes file and the .cache/huggingface/ folder that hf download --local-dir adds. Download into a directory as above, not into the Hub cache (~/.cache/huggingface/hub), whose files are symbolic links.

Use

Native inference requires a CUDA GPU and FlashAttention 3; the xLLM repository documents installation.

export ENABLE_FLASH_ATTENTION_3=true
from xllm.paper_part1.native_inference import generate_native, load_native_model

model, tokenizer, config = load_native_model("models/moe_middle/500b")
tokens = generate_native(model, tokenizer, ["The capital of France is"],
                         max_gen_len=32, use_sampling=False)
print(tokenizer.decode(tokens[0]))

The loader verifies the directory against artifact_manifest.json, then strictly loads tensor names, shapes and dtypes. Evaluate with the paper protocol:

ENABLE_FLASH_ATTENTION_3=true python eval_paper_part1.py --artifact models/moe_middle/500b \
    --tasks-root /path/to/composite-eval-root --output /path/to/evaluation-output \
    --protocol paper-part1

Retrain from scratch with the same recipe (the base config holds the data, tokenizer, logging and checkpoint-retention settings):

ENABLE_FLASH_ATTENTION_3=true python train_paper_part1.py --recipe moe_middle --target 500b \
    --base-config /path/to/base.json --dump-dir /path/to/new-run

Files

  • config.json: the recipe's model fields with the training checkpoint's values, and the tokenizer settings with tokenizer.path set to tokenizer/.
  • model.safetensors.index.json and model-*-of-*.safetensors: BF16 weights; no tensor is split across shards.
  • tokenizer/: tokenizer.json, tokenizer_config.json, special_tokens_map.json.
  • artifact_manifest.json: size and SHA-256 of every file.
  • LICENSE, NOTICE.

Optimizer, dataloader and training state are not included; resuming a run mid-training needs the original training checkpoint.

Paper and citation

Towards Looped Models Done Right. Part I: Topology, Input Injection, Recurrent-State Organization: https://huskydoge.github.io/husky-blog/posts/recursive_models/towards-looped-models-done-right/

@misc{huang2026loopedmodels,
  title  = {Towards Looped Models Done Right. Part I: Topology, Input Injection, Recurrent-State Organization},
  author = {Benhao Huang and Chufan Shi and Junlin Chen and Shicheng Wen and Zhengzhong Liu and Eric Xing and Xuezhe Ma},
  year   = {2026},
  url    = {https://huskydoge.github.io/husky-blog/posts/recursive_models/towards-looped-models-done-right/}
}

License

The weights and tokenizer are released under the Apache License 2.0 (LICENSE). NOTICE records the tokenizer's attribution to IFM/K2-Horizon-3.7B and its modifications. The xLLM code is distributed under its own license.

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

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

GPU в ailist

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

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

Архитектура ? неизвестна transformers в образе рантайма.

Ревизия весов
4284259

0 моделей