/ Модель

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

Контекст
1 024 токена
Параметры
45,9 млн
Лицензия
Apache 2.0
Архитектура
llama · dense
Библиотека
transformers
Опубликована
20 сен 2026

tinizong-46M

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

Экспериментальная англоязычная базовая Llama-совместимая модель на 45,9 млн параметров для генерации продолжения текста и исследований предобучения.

369скачиваний за 30 дней1лайквеса обновлены20 сен 2026

Бенчмарки

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

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

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

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

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

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

Tinizong-46M — экспериментальная авторегрессионная языковая модель примерно на 45,9 млн параметров, разработанная superAVTR. Это базовая decoder-only Transformer-модель, совместимая с архитектурой LlamaForCausalLM; она обучалась предсказывать следующий токен и не является чат-моделью или моделью, настроенной следовать инструкциям. Контекст составляет 1024 токена, словарь — 16 000 токенов с токенизатором SentencePiece и byte fallback.

Модель предназначена прежде всего для экспериментов с архитектурами языковых моделей, токенизаторами, подготовкой данных, предобучением, масштабированием и настройкой инструкций, а также для генерации продолжения англоязычного текста. В обучении использовались текст на основе Wikipedia, синтетические фактические и учебные тексты и другие экспериментальные материалы; метаданные указывают датасет superAVTR/wikipedia_en_512_for_pretraining. Конверсия в формат Hugging Face проверена на совпадение логитов и результатов генерации с исходной реализацией PyTorch.

В опубликованных zero-shot оценках модель показала 36,78% accuracy на ARC-Easy и 27,03% на HellaSwag; README отмечает, что на некоторых бенчмарках результаты близки к случайному выбору, а LAMBADA остаётся особенно сложной задачей. Репозиторий распространяется по лицензии Apache-2.0. Для практического применения следует учитывать малый размер модели и экспериментальный характер обучения, а также отсутствие настройки для диалога и инструкций.

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

  • генерация продолжения англоязычного текста
  • изучение работы компактной авторегрессионной языковой модели
  • эксперименты с токенизаторами и подготовкой обучающих данных
  • оценка малых языковых моделей на бенчмарках
  • исследование конверсии PyTorch-моделей в формат Hugging Face

Ограничения

Модель имеет экспериментальный характер, обучена лишь на 45,9 млн параметров и не настроена для чата или выполнения инструкций. README сообщает о результатах, близких к случайному выбору на некоторых бенчмарках, и отмечает особую сложность LAMBADA.

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

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

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

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

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

Открыть на Hugging Face

Tinizong-50M

Tinizong-50M is a small experimental decoder-only language model.

The model was created primarily as a research and engineering platform for exploring language-model architecture, tokenizer design, dataset construction, pretraining, scaling, and instruction tuning.

This release contains a Hugging Face-compatible conversion of the native Tinizong checkpoint.

It is a base language model, not an instruction-tuned or chat model.

Model details

PropertyValue
ArchitectureDecoder-only Transformer, Llama-compatible
Parameters~46M
Vocabulary16,000 tokens
TokenizerSentencePiece BPE
Context length1,024 tokens
Hidden size512
Transformer layers12
Attention heads8
Attention head dimension64
MLP intermediate size1,365
Positional encodingRoPE
RoPE theta10,000
NormalizationRMSNorm
MLPSwiGLU
Weight tyingInput embeddings / LM head
AttentionMulti-head causal self-attention

The native implementation was written directly in PyTorch and later converted to the Hugging Face LlamaForCausalLM architecture.

Training

Tinizong-50M was trained as a causal language model using next-token prediction.

Training data included a mixture of:

  • Wikipedia-derived text
  • synthetic factual / educational text
  • other experimental pretraining material used during development

The training corpus and methodology evolved during the project, so this release should be considered an experimental research checkpoint rather than a fully documented production model. The model uses a custom 16K SentencePiece tokenizer with byte fallback.

Evaluation

Tinizong-46M was evaluated with the EleutherAI LM Evaluation Harness using the public Hugging Face checkpoint:

superAVTR/tinizong-46M

Evaluation settings:

  • zero-shot
  • Hugging Face backend
  • batch size: 8
  • model dtype: float32
  • no custom evaluation code
BenchmarkMetricScore
ARC-Easyacc36.78%
ARC-Easyacc_norm36.11%
HellaSwagacc27.03%
HellaSwagacc_norm27.36%
PIQAacc53.16%
PIQAacc_norm52.83%
LAMBADA OpenAIaccuracy5.38%
LAMBADA OpenAIperplexity2539.74

For the multiple-choice benchmarks, acc_norm is the more useful comparison metric because it normalizes likelihood by completion length.

These results should be interpreted in the context of the model's small size (~46M parameters). The model performs above random-choice baseline on ARC-Easy, while HellaSwag and PIQA remain close to their respective random baselines. LAMBADA remains particularly challenging for this checkpoint.

The evaluation was run with:

lm_eval \
  --model hf \
  --model_args pretrained=superAVTR/tinizong-46M,dtype=float \
  --tasks lambada_openai,hellaswag,piqa,arc_easy \
  --device cuda:0 \
  --batch_size 8

Hugging Face conversion

The original Tinizong model uses a compact PyTorch implementation with:

  • combined Q/K/V projection
  • RMSNorm
  • rotary position embeddings
  • SwiGLU feed-forward layers
  • tied input/output embeddings

The trained weights were mapped into Hugging Face's LlamaForCausalLM representation. The combined native QKV projection was split into Hugging Face q_proj, k_proj, and v_proj tensors. Other layers were mapped directly to their corresponding Llama components.

Numerical validation

The native model and the converted Hugging Face model were evaluated with identical input token IDs.

For the released checkpoint:

  • Maximum absolute logit difference: approximately 9.54e-6
  • Mean absolute logit difference: approximately 1.14e-6
  • Logit cosine similarity: 1.0000000000
  • Next-token argmax: identical
  • Top-token ordering: identical in the validation test

Autoregressive generation was also tested using the same random seed and sampling configuration.

The native implementation and Hugging Face implementation produced an exact token-for-token match using:

  • temperature: 0.5
  • top-k: 30
  • top-p: 1.0

Hugging Face generation with KV caching was also verified against full-context recomputation.

Sample Generation

PROMPT: Photosynthesis is a process
OUTPUT: Photosynthesis is a process that can release energy from nutrients and improve the ability of plants to digest food. <|endoftext|>

Usage

my_prompt = "Photosynthesis is a process"

inputs = tokenizer(
    my_prompt,
    return_tensors="pt",
    add_special_tokens=False
)

with torch.no_grad():
    output = model.generate(
        **inputs,
        max_new_tokens=50,
        do_sample=True,
        temperature=0.5,
        top_k=30,
        top_p=1.0,
        use_cache=True,
        pad_token_id=1,
        eos_token_id=3,
    )

generated_text = tokenizer.decode(
    output[0],
    skip_special_tokens=False
)

print("PROMPT:", my_prompt)
print("OUTPUT:", generated_text)

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

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

GPU в ailist

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

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

Репозиторий недоступен на Hugging Face.

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

0 моделей