/ Модель

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

Контекст
32 768 токенов
Параметры
63,9 млн
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Библиотека
transformers
Опубликована
11 сен 2026

minimind-64m-pretrain

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

Небольшая самостоятельно предобученная китайско-ориентированная языковая модель для экспериментов с продолжением текста и дальнейшего дообучения.

173скачиваний за 30 дней0лайковвеса обновлены11 сен 2026

Бенчмарки

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

Тесты пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

zhoumiaosen/minimind-64m-pretrain — компактная плотная языковая модель MiniMind, самостоятельно обученная с нуля за одну эпоху на китайском наборе данных с одной потребительской видеокартой. В репозитории она представлена в совместимой с Transformers архитектуре Qwen3ForCausalLM; предварительно обученные веса Qwen3 не использовались. Модель содержит 63,9 млн параметров, имеет 8 слоёв и размер скрытого представления 768. Для работы используется библиотека Transformers, веса сохранены в формате safetensors, нативное окно контекста — 32 768 токенов.

Это базовый чекпойнт для продолжения текста, изучения предобучения небольших моделей и последующего дообучения под надзором. Модель не проходила настройку инструкциями, оптимизацию предпочтений или выравнивание, поэтому не предназначена для надёжного диалога и ответов на вопросы. В двух приведённых проверках продолжения оказались пустым и повторяющим запятые; оценок на отложенной выборке и стандартизированных бенчмарках нет. Возможны бессвязные, повторяющиеся, фактически неверные, предвзятые или неподходящие ответы; качество на длинном контексте и мультиязычные возможности не проверены. Модель выпущена под лицензией Apache-2.0.

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

  • изучение предобучения компактных языковых моделей
  • эксперименты с генерацией продолжения текста
  • использование как начального чекпойнта для supervised fine-tuning
  • проверка загрузки и инференса модели Transformers
  • обучающие эксперименты с архитектурой Qwen3ForCausalLM

Ограничения

Модель не настроена для следования инструкциям и не является надёжным ассистентом; приведённые тестовые продолжения показывают низкое качество. Отложенные метрики, бенчмарки, мультиязычные возможности и поведение на длинном контексте не оценивались.

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

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

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

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

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

Открыть на Hugging Face

MiniMind 64M — Pretrained on a Single RTX 3060

A small, dense language model trained from scratch for one pretraining epoch on a consumer NVIDIA RTX 3060 with 12 GB VRAM. This release is a base model for text continuation and further fine-tuning. It has not undergone instruction tuning, preference optimization, or alignment training.

The checkpoint is exported to the standard Transformers Qwen3ForCausalLM architecture using MiniMind's conversion utility. Qwen3 describes the compatible architecture; no pretrained Qwen weights were used. The tokenizer comes from MiniMind.

Model at a glance

PropertyValue
Model familyMiniMind, dense decoder-only Transformer
ParametersApproximately 63.91 million unique parameters
Layers / hidden size8 / 768
Attention heads / KV heads8 / 4
Feed-forward size2,432
Vocabulary6,400 tokens
Training sequence length768 tokens
Configured position limit32,768; long-context performance was not tested
Training precisionBF16 mixed precision
Published weight precisionFP16, Safetensors
InitializationRandom model weights; upstream MiniMind tokenizer
HardwareOne NVIDIA RTX 3060 12 GB; approximately 8 GB system RAM

Quick start

Tested with Python, PyTorch 2.6.0 and Transformers 4.57.6. Install a PyTorch build suitable for your platform, then:

pip install 'transformers==4.57.6' safetensors

After publication, load the model directly from the Hub. For a local download, set model_id to its directory:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "zhoumiaosen/minimind-64m-pretrain"
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.float16 if device == "cuda" else torch.float32
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id, torch_dtype=dtype
).to(device).eval()

# Use a continuation prompt: this checkpoint is not an instruction model.
inputs = tokenizer("机器学习是一种", return_tensors="pt").to(device)
with torch.inference_mode():
    output = model.generate(
        **inputs,
        max_new_tokens=64,
        do_sample=False,
        eos_token_id=tokenizer.eos_token_id,
        pad_token_id=tokenizer.pad_token_id,
    )
print(tokenizer.decode(output[0], skip_special_tokens=True))

No trust_remote_code=True is required. A tokenizer chat template may be present because the upstream tokenizer includes one; that does not make this checkpoint instruction-tuned. CPU inference is supported by the exported architecture. Raspberry Pi performance has not been measured.

Training data and procedure

The run used pretrain_t2t_mini.jsonl from jingyaogong/minimind_dataset, containing 1,270,238 records. This is a Chinese-oriented training setup; language coverage and English capability have not been independently measured. Consult the upstream dataset card for its provenance and terms. The dataset is not redistributed here.

Each record is tokenized independently, truncated to 766 text tokens, wrapped with beginning/end tokens, and padded to 768 tokens. Padding labels are ignored. The objective is causal next-token prediction. Exact non-padding training token counts were not recorded.

SettingValue
Epochs1
Microbatch size4 sequences
Gradient accumulation64 microbatches
Nominal effective batch256 sequences
Final logged microbatch317,560
OptimizerAdamW; PyTorch defaults for betas, epsilon and weight decay
Learning rateCosine decay from 0.0005 toward 0.00005
Gradient clipping1.0
Seed42
Data-loader workers0
Logging / checkpoint interval100 / 1,000 microbatches, plus the final microbatch

The machine restarted during pretraining. The run resumed from microbatch 306,000, repeating the unsaved tail. Resume restored model and optimizer state, but did not preserve partially accumulated gradients; this was not a bit-for-bit uninterrupted run.

This release preserves the upstream out/pretrain_768.pth artifact exactly through format conversion. The upstream trainer saves at the final microbatch before its trailing partial-accumulation optimizer step, so that later in-memory update is not included in the saved artifact.

Training loss

Pretraining loss

MeasurementLoss
First logged microbatch (100)8.4318
Final logged microbatch (317,560)2.4801
Mean of first 50 logged readings6.7344
Mean of final 50 logged readings1.9887

These are individual training-microbatch losses, not held-out validation results or full-epoch averages. The curve keeps the last logged reading when a step was repeated after recovery. The smoothed line averages up to 50 logged readings. The machine-readable readings are included in pretraining-loss.csv.

No held-out perplexity, standardized benchmark, factuality score, or safety evaluation is reported. Falling training loss does not establish useful question-answering ability. Any sample continuations in sample-generations.json are generation smoke checks, not quality benchmarks. Chat samples produced by a separate fine-tuned checkpoint are not results for this release.

Observed base-model continuations

A CPU smoke check used greedy decoding (do_sample=False, max_new_tokens=64) with the exported model:

PromptDecoded continuation
机器学习是一种Empty after special-token removal
在一个宁静的早晨,,,,,,,,,,,,,

These two probes show poor continuation quality with these prompts and settings. The export loads and generates successfully, but this checkpoint should be treated as a training experiment rather than a usable assistant. Both outputs and generation settings are preserved in sample-generations.json.

The exported tokenizer's model_input_names was set to input_ids and attention_mask to match the Qwen3 generation interface; token vocabulary and model weights were not changed.

Intended uses and limitations

This checkpoint is intended for studying small-model pretraining, experimenting with inference, and serving as a starting point for supervised fine-tuning. It is not a reliable assistant. Outputs may be repetitive, incoherent, factually incorrect, biased, or inappropriate. Code completions may be invalid. Long-context behavior, multilingual performance, and Raspberry Pi throughput remain untested.

Reproducibility and attribution

  • Training implementation: jingyaogong/minimind.
  • Source revision: a3c7b01cc004d5de86aea961f20bf1e638e7c09e.
  • Training dataset SHA256: 6dd6716c84ab36897bdbfc7f88e04f4441c48c1ab7ecee88ce0b0e7d4685560c.
  • Training environment: PyTorch 2.6.0+cu124, Transformers 4.57.6, Datasets 3.6.0.
  • Original checkpoint hash and export checks are recorded in verification.json.

Command run from the upstream repository's trainer directory:

python train_pretrain.py --epochs 1 --batch_size 4 \
  --accumulation_steps 64 --max_seq_len 768 --num_workers 0 \
  --dtype bfloat16 --device cuda:0 --from_resume 1 \
  --log_interval 100 --save_interval 1000

The upstream project is distributed under Apache 2.0; its license is included in LICENSE. This release uses the same license. Credit for the architecture implementation, tokenizer, training utilities, and dataset preparation belongs to the upstream contributors. This is an independently trained checkpoint, not an official upstream release.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей