/ Модель

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

Контекст
1 024 токена
Параметры
161 млн
Лицензия
AGPL 3.0
Архитектура
andrea · dense
Библиотека
transformers
Опубликована
2 авг 2026

ANDREA-120M-ft

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

Компактная англоязычная авторегрессионная модель для генерации текста и простых диалоговых ответов.

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

Бенчмарки

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

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

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

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

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

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

ANDREA-120M-ft — авторегрессионная языковая модель с архитектурой decoder-only, разработанная в рамках проекта permacomputer. В метаданных указано 160,6 млн параметров, в README — 145,1 млн; модель обучена на открытых данных с curriculum, управляемым многоруким бандитом, а опубликованные веса побитово совпадают с CUDA-чекпойнтом шага 852106. Для работы требуется Transformers с trust_remote_code=True и формат диалога, использованный при обучении: вопросы и ответы располагаются в одной строке через разделители.

Модель предназначена для генерации текста и диалоговых ответов на английском языке. Контекст составляет 1024 токена, архитектура — собственная AndreaForCausalLM, веса опубликованы в safetensors. Открыты исходный код, данные и веса; лицензия — AGPL-3.0. Компактный размер может быть полезен для экспериментов и запуска с ограниченными ресурсами, однако README не приводит оценок качества или результатов сравнительных тестов.

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

  • генерация продолжения английского текста
  • ответы на простые вопросы на английском языке
  • эксперименты с малой языковой моделью
  • изучение влияния curriculum на обучение языковой модели

Ограничения

Контекст ограничен 1024 токенами, а для запуска требуется trust_remote_code=True и формат промпта из обучающего корпуса. README не содержит результатов оценки качества, поэтому пригодность для конкретных задач нужно проверять отдельно.

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

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

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

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

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

Открыть на Hugging Face

ANDREA-120M-ft

A 145.1M parameter decoder-only language model grown on a single RTX 4090 with a bandit-controlled curriculum over open data. Part of a permacomputer project: open source, open data, open weights.

Weights here are bit-identical to the CUDA training checkpoint step_852106.bin at step 852,106 — the export is verified tensor by tensor, not assumed.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("russellbal/ANDREA-120M-ft", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("russellbal/ANDREA-120M-ft", trust_remote_code=True)

ids = tok.apply_chat_template(
    [{"role": "user", "content": "What is a permacomputer?"}],
    add_generation_prompt=True, return_tensors="pt")
print(tok.decode(model.generate(ids, max_new_tokens=64, do_sample=True,
                                temperature=0.7)[0]))

trust_remote_code=True is required: ANDREA is its own architecture, and the three *_andrea.py files in this repo are its reference implementation.

Prompt format matters more than usual here

The corpus writes dialogue on a single line as > question / < answer, with turns joined by /. The chat template shipped with this repo produces exactly that, and staying inside it is the difference between coherent output and word salad — a bare prose prompt is out of distribution for this model.

Documents are also separated by BOS during training, and the tokenizer prepends it by default. Encoding with add_special_tokens=False drops it and starts the model mid-document, which measurably degrades generation. Sampling at temperature=0.7 matches how the model was sampled during training; greedy decoding at this scale degenerates into repetition.

An unconditional sample (input_ids=[[bos]], temperature=0.7) looks like:

> what is the most popular breed of dog? / < the most popular breed of dog is ...
> How does GPU architecture affect gaming performance? / < Modern GPU architectures
  like NVIDIA's Ada Lovelace and AMD's ...

Architecture

PropertyValue
Parameters145,098,240
Embedding dim768
Heads12
Layers15
Context1024 tokens
Vocab24,833
TokenizerHarris successor-variety, 24,576 morpheme segments
Training steps852,106
Precisionfloat32
LicenseAGPL-3.0

ANDREA is deliberately neither GPT-2 nor LLaMA. Reimplementing it means matching all of these:

  • RMSNorm with no learnable gain. There is no norm weight in this checkpoint because the architecture has none.
  • Learned absolute position embeddings. No RoPE, no ALiBi. The model cannot extrapolate past 1024 tokens and raises rather than guessing.
  • A norm on the embedding sum, applied once before layer 0.
  • A gainless final RMSNorm on the residual stream before the LM head. It is part of the architecture: serving without it puts the raw residual scale into the softmax and cross-entropy lands in the hundreds.
  • ReLU MLP at 4x. Not GELU, not SwiGLU.
  • No biases on any projection.
  • Untied LM head — lm_head.weight is its own tensor, not wte reused.
x = wte[tok] + wpe[pos]
x = rmsnorm(x)
per layer:
    x = x + o_proj(attn(rmsnorm(x)))
    x = x + down_proj(relu(up_proj(rmsnorm(x))))
logits = lm_head(x)

RMSNorm is x * (mean(x^2) + 1e-05) ** -0.5.

Tokenizer

Harris (1955) successor-variety segmentation: morpheme boundaries discovered from the distributional properties of text, with no language-specific rules. The vocabulary is 256 raw byte fallbacks, then 24,576 learned segments, then BOS at id 24832. Any byte sequence encodes and round-trips, so text the segment table has never seen degrades to bytes rather than to an unknown token.

Training

Trained on the megachat-v8 corpus through a phase-based UCB1 bandit curriculum that reweights sources as the model's per-source loss moves. Data was filtered for dirty text, non-English, and assistant refusals before training.

Limitations

A model this size is a research artifact. It produces fluent English and has absorbed real factual material, but it hallucinates, has no alignment tuning, and has no safety filtering beyond the corpus cleaning described above. It was not built for and should not be used for advice, moderation, or any decision affecting a person.

Provenance

Full training history, probe analyses, and reproduction instructions live with the source: https://git.unturf.com. Companion papers: ANDREA-WHITEPAPER (training) and ANDREA-PROBES (15 interpretability probes).

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

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

GPU в ailist

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

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

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

Класс архитектуры
AndreaForCausalLM
Ревизия весов
22c1ca6

0 моделей