/ Модель

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

Контекст
2 048 токенов
Параметры
441 млн
Лицензия
CC BY-NC 4.0
Архитектура
llm8 · dense
Библиотека
transformers
Опубликована
13 окт 2026

llm8-chat-417m

Генерация текстаТекст → текст

Экспериментальная англоязычная чат-модель на 417 млн параметров для исследований и обучения, не предназначенная для практических или производственных задач.

202скачиваний за 30 дней1лайквеса обновлены13 окт 2026

Бенчмарки

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

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

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

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

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

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

ZdsAlpha разработала llm8-chat-417m — экспериментальную авторегрессионную языковую модель с 417 млн параметров, основанную на плотном decoder-only трансформере семейства llm8. Модель прошла предварительное обучение и короткую донастройку для чата; веса опубликованы в формате safetensors и имеют тип bfloat16. Для загрузки используется Transformers с trust_remote_code=True, поскольку архитектура пользовательская.

Модель предназначена для экспериментов и обучения на примере небольшого чат-чекпойнта: она принимает сообщения пользователя и генерирует ответы на английском языке. Контекст составляет 2 048 токенов; шаблон чата поддерживает роли user и assistant, но не system. Лицензия CC BY-NC 4.0 разрешает использование на некоммерческих условиях.

Модель существенно недообучена для своего размера: ответы часто содержат уверенные фактические ошибки, повторы и ненадёжный код. Следование инструкциям ограничено, настройка безопасности отсутствует; автор не рекомендует использовать её в производстве, для консультаций или принятия решений.

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

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

Ограничения

Модель недообучена: часто ошибается в фактах, повторяется и генерирует ненадёжный код; следование инструкциям ограничено, настройка безопасности отсутствует. Не подходит для производства, консультаций и принятия решений.

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

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

Открыть на Hugging Face

llm8-chat-417m

An experimental 417M-parameter decoder-only transformer with a short chat fine-tune on top. It exists to test an architecture, not to be useful: the training budget was about 2.3 billion tokens of pretraining and 0.2 billion of chat fine-tuning, far too little for a model of this size, and it shows. Expect confident nonsense, repetition, and wrong code. Nothing it says should be relied on.

This repository is published for research and educational use only, under a non-commercial license, with no warranty of any kind.

Try it

pip install "transformers>=5" torch safetensors
python chat.py                      # interactive, sampling defaults
python chat.py --greedy --max-new-tokens 256
python chat.py --prompt "Give me three tips for sleeping better."

chat.py downloads the weights on first use, picks cuda, mps or cpu, keeps the conversation within the 2,048-token context by dropping the oldest exchanges, and streams the reply. /reset clears the conversation, /quit exits.

In code:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "ZdsAlpha/llm8-chat-417m"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, dtype=torch.float32).eval()

messages = [{"role": "user", "content": "Why is the sky blue?"}]
input_ids = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
output = model.generate(input_ids, max_new_tokens=256, do_sample=True, temperature=0.7, top_p=0.9, top_k=50)
print(tokenizer.decode(output[0, input_ids.shape[1]:], skip_special_tokens=True))

The model is a custom architecture, so loading needs trust_remote_code=True; the code it runs is the two short files in this repository. Weights are stored in bfloat16; use dtype=torch.bfloat16 on a GPU and torch.float32 elsewhere.

Chat format

The tokenizer's chat template renders a conversation as

<|begin▁of▁sentence|><|User|>{user turn}<|Assistant|>{assistant turn}<|end▁of▁sentence|>...

with <|Assistant|> appended as the generation prompt. Only user and assistant roles are supported; there is no system prompt. The model ends its turn with <|end▁of▁sentence|>, which is also the EOS and padding token.

Greedy decoding tends to collapse into repetition within a few sentences; the sampling defaults (temperature 0.7, top-p 0.9, top-k 50) are the usable mode and are what generation_config.json carries.

Training loss

Training loss curves

Pretraining on the left, chat fine-tune on the right. The faint line is the raw per-step train loss, the solid line its moving average, and the dots the held-out validation loss, scored on the same fixed set every time.

runtokensvalidation loss, first to lastfinal top-1 / top-5
pretraining, 30 epochs2.33B3.883 to 2.88245.1% / 66.8%
chat fine-tune, 3 epochs0.18B2.570 to 2.03855.0% / 78.6%

Validation is still falling at the end of both runs, with no sign of overfitting: the model is undertrained, not saturated. The step in the pretraining train curve near 1.9B tokens is where the training context was raised from 512 to 2,048 tokens and the learning rate lowered; validation is measured the same way before and after, so its curve shows no step.

Architecture

parameters416,630,784 unique (132M of them in the tied embedding, counted once)
layers24
width1,024
attention8 heads, per-head RMSNorm on Q, K and V, RoPE (θ = 100,000), no output projection
MLPSwiGLU, hidden 2,816
residualzero-initialised per-channel LayerScale on both branches; the attention branch takes the raw residual, the MLP branch is RMSNormed
headRMSNorm, a linear readout, then the tied embedding
context2,048 tokens
vocabulary129,280 byte-level BPE tokens

The tokenizer is the byte-level BPE from deepseek-ai/DeepSeek-V4.1-Flash (MIT licensed), with this repository's own chat template.

Limitations

  • Extremely undertrained for its size. Factual claims are frequently wrong and code is unreliable.
  • English only, no instruction following beyond the shape of an answer, no safety tuning.
  • Not suitable for any production, advisory, or decision-making use.

License

The weights and accompanying files are released under CC BY-NC 4.0: attribution required, no commercial use. Provided as-is, with no warranty, for research and educational purposes.

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

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

GPU в ailist

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

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

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

Класс архитектуры
Llm8ForCausalLM
Ревизия весов
1732c9d

0 моделей