/ Модель

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

Контекст
131 072 токена
Параметры
1,2 млрд
Размер весов
4,9 ГБ
Лицензия
Llama 3.2
Архитектура
llama · dense
Библиотека
transformers
Опубликована
9 окт 2026

Llama-3.2-1B-dolma3_mix

Генерация текстаТекст → текст3 профессии
315скачиваний за 30 дней0лайковвеса обновлены25 ноя 2026

Описание модели

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

Компактная авторегрессионная модель Llama, обученная с нуля с онлайн-дистилляцией для исследований предобучения и эффективности обучения.

Это авторегрессионная языковая модель на 1,2 млрд параметров, опубликованная пользователем asciibase64. Она использует архитектуру decoder-only Transformer Llama 3.2 1B и обучалась с нуля на наборе allenai/dolma3_mix-150B-1025: параметры студента инициализировали случайно, без загрузки весов предварительно обученной модели. Токенизатор и архитектурная конфигурация унаследованы от meta-llama/Llama-3.2-1B. При обучении применялась онлайн-дистилляция от замороженной Llama 3.2 3B; учитель нужен только для обучения, не для инференса. Контекст модели — до 131 072 токенов.

Модель предназначена прежде всего для исследований предобучения языковых моделей, дистилляции знаний и эффективности обучения при ограниченных бюджетах токенов и вычислений. Контрольное сравнение показало снижение perplexity на 3,94% относительно недистиллированного варианта при том же бюджете входных токенов; результаты основаны на одном запуске и не означают равенства вычислительных затрат. Модель не проходила дообучение для следования инструкциям или выравнивание безопасности, а качество на прикладных задачах систематически не оценивалось. Лицензия — Llama 3.2.

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

  • исследование предобучения языковых моделей при ограниченном бюджете токенов
  • сравнение методов оптимизации и расписаний скорости обучения
  • изучение онлайн-дистилляции от более крупной языковой модели
  • генерация продолжения текста и оценка языковой perplexity
  • воспроизведение экспериментов обучения модели на Dolma 3 Mix

Ограничения

Результаты основаны на экспериментах с одним seed и оценке perplexity на отложенных текстах; качество на прикладных задачах, рассуждениях и безопасность систематически не проверялись. Модель не настроена на выполнение инструкций и может генерировать неточную, предвзятую или вредоносную информацию.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

Llama 3.2 1B — Dolma 3

Pretraining from random initialization under constrained token and compute budgets.

Training Repository · Training Recipe · Weights & Biases

Overview

This model is a 1B-parameter causal language model trained from random initialization on allenai/dolma3_mix-150B-1025, following the Llama 3.2 1B architecture.

The project investigates how optimizer design, learning rate scheduling, batch size policies, and knowledge distillation affect language model pretraining under limited token and compute budgets.

The released checkpoint uses the R5 training recipe, which combines NorMuon and AdamW with online knowledge distillation from a frozen Llama 3.2 3B teacher.

Value
Student parameters1B
Teacher parameters3B
Student training tokens6.0B
Context length8,192
Optimizer updates28,619
Training compute64.71 H200 GPU-hours
Held-out perplexity12.3989

No pretrained student weights or intermediate training checkpoints were loaded. The pretrained teacher provides additional supervision during training and is not required for inference.

Evaluation Results

Three training recipes were evaluated using the same student architecture, initialization seed, student token budget, and held-out documents.

Training recipeFixed 1K PPL ↓Combined 10K PPL ↓
NorMuon + AdamW, without KD12.773912.9078
R5: Online knowledge distillation12.267812.3989
C2: Adaptive batching + early decay12.395312.5380

The released R5 checkpoint achieves a 3.94% reduction in held-out perplexity relative to the non-distilled baseline at the same student token budget.

This comparison does not imply equal training compute, as online distillation introduces additional teacher inference costs.

All results are obtained from single-seed experiments. R5 is the best-performing recipe among the completed 6B-token experiments in this project.

Detailed evaluation results

Training Dynamics

Training loss and held-out perplexity

The left panel shows the R5 training objective and next-token cross-entropy. The right panel compares held-out perplexity across the three training recipes as a function of cumulative student input tokens.

The training curves use a fixed 1,000-document evaluation subset. The final results reported above use the combined 10,000-document set.

Interactive training curves · Figure data and reproduction instructions

Model Details

ConfigurationValue
ArchitectureLlama 3.2 1B
Model typeDecoder-only Transformer
Training initializationRandom initialization with residual-half scaling
Vocabulary size128,256
Training context length8,192
Attention implementationFlashAttention-3
Attention maskingIntra-document causal attention
Training precisionFP32 student parameters with BF16 autocast
Random seed42

The architecture and tokenizer are inherited from meta-llama/Llama-3.2-1B, but the student parameters are initialized independently.

Training Data

The model is trained on Dolma 3 Mix 150B 1025 using the canonical, unfiltered dataset preparation.

The dataset is globally shuffled at the document level with seed 42. The final 50,000 documents are reserved for evaluation and excluded from the training corpus before tokenization and sequence packing.

Training sequences are packed into 8,192-token contexts with document-aware causal attention, preventing attention across document boundaries.

  • Training dataset revision: afa92bfb22366821c5e6cd427cdd036b34b713ef
  • Total student input tokens: 6,000,082,944
  • Reserved evaluation documents: 50,000
  • Evaluated documents: 10,000

Usage

This model is compatible with Hugging Face Transformers and can be loaded as a standard causal language model.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "asciibase64/Llama-3.2-1B-dolma3_mix"
revision = "3f9196e11f990ed2cb60fcf558d5f1f07a7a36d6"

tokenizer = AutoTokenizer.from_pretrained(
    model_id,
    revision=revision,
)

model = AutoModelForCausalLM.from_pretrained(
    model_id,
    revision=revision,
    torch_dtype=torch.bfloat16,
    device_map="auto",
).eval()

prompt = "The fundamental idea behind machine learning is"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

with torch.inference_mode():
    outputs = model.generate(
        **inputs,
        max_new_tokens=128,
        do_sample=True,
        temperature=0.8,
        top_p=0.95,
        pad_token_id=tokenizer.eos_token_id,
    )

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

This is a base language model rather than an instruction-tuned or chat model.

Intended Use and Limitations

This checkpoint is primarily intended for research on language model pretraining, knowledge distillation, optimization, and training efficiency.

  • The student is randomly initialized, but training benefits from knowledge transferred from a pretrained teacher.
  • The reported comparison controls for student input tokens, not total compute or teacher training data.
  • Results are based on single-seed experiments and do not establish statistical significance.
  • No matched full-length unaccelerated KD experiment is available to establish end-to-end quality equivalence for the execution optimizations.
  • Evaluation is limited to held-out language modeling perplexity. Downstream task performance, reasoning ability, and safety have not been systematically evaluated.
  • The model has not undergone instruction tuning or safety alignment and may generate inaccurate, biased, or harmful content.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
dd31342

0 моделей