/ Модель

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

Лицензия
Своя лицензия
Архитектура
tiny_manas · dense
Библиотека
pytorch
Опубликована
6 сен 2026

tiny-manas

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

Компактная исследовательская модель для генерации продолжений кыргызского текста в стиле одного издания эпоса «Манас».

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

Бенчмарки

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

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

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

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

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

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

Tiny Manas — компактная языковая модель Nik1t7n для продолжения кыргызского текста в стиле одного изданий эпоса «Манас». Это 26,78-миллионная decoder-only Transformer-модель, обученная с нуля на PyTorch; в архитектуре используются pre-LayerNorm, RoPE, байтовый BPE-токенизатор и KV-кэш. Модель принимает начало кыргызского отрывка и генерирует вероятное продолжение. Она не является чат-ассистентом и не предназначена для ответов на вопросы или выполнения инструкций.

Модель подходит для учебного изучения полного цикла небольшой языковой модели, экспериментов с кыргызской токенизацией и генерации коротких продолжений текста. Контекст ограничен 256 токенами. Обучение проводилось на одном документе корпуса Manas-UdS, поэтому оценки относятся к отложенным фрагментам того же издания; перенос на другие издания и рассказчиков слабый. Генерация может повторяться, содержать искажённые слова и терять связность. Лицензия модели указана как other; исходный корпус распространяется по CC BY-NC-SA 4.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Tiny Manas

Tiny Manas is a 26.78M-parameter decoder-only Transformer trained from scratch to continue Kyrgyz text in the style of one edition of the epic Manas. It is a small research model built to make the full language-model path inspectable, from byte-level BPE tokens and causal attention to training, evaluation, and cached generation.

Tiny Manas is not a chat assistant. It does not follow instructions or answer general questions. Its task is narrower: given the beginning of a Kyrgyz passage, it predicts and samples what comes next.

Model details

PropertyValue
ArchitectureDecoder-only, pre-LayerNorm Transformer with RoPE
Parameters26,779,392
Layers8
Attention heads8
Embedding width384
Feed-forward networkGELU, 4x expansion
Context window256 tokens
Vocabulary32,768-token Kyrgyz byte-level BPE
Training precisionBF16
Inference precisionFP32
Weight formatSafetensors

The implementation uses tied input and output embeddings, causal scaled dot-product attention, adjacent-pair rotary position embeddings, and request-local KV caching. It is a compact PyTorch implementation rather than a Transformers AutoModel package, so the hosted Hugging Face inference widget is disabled.

Quick start

git clone https://huggingface.co/Nik1t7n/tiny-manas
cd tiny-manas
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python generate.py --device cpu --prompt "Манас" --max-new-tokens 64 --seed 1337

The device must be selected explicitly. generate.py accepts cpu, cuda, or mps and never silently switches to another backend.

Training data

The accepted weights were trained on the pinned Manas01 document from the Manas-UdS Kyrgyz corpus, attributed to Sayakbai Karalaev. The source corpus is licensed under CC BY-NC-SA 4.0. Source text and token arrays are not included in this model repository.

The tokenizer is the frozen kyrgyz-byte-bpe-v1 artifact at commit 594d9e142cca1593963ccf12f344ab7ea4938fa5. Its SHA-256 is 5047b4f427bb1af1c06cfb9cefbe83790b56df409b137b887988db6eba4b159f.

Training and selection

The model was trained for a 3,000-update budget on an Apple M5 using PyTorch MPS. Each update covered 4,096 target tokens through gradient accumulation. Training used AdamW, a warmup plus cosine learning-rate schedule, dropout 0.2, and BF16 arithmetic. Evaluation and deployed inference remain FP32.

RoPE replaced learned positional embeddings after a controlled comparison on matched data. The selected RoPE checkpoint reduced validation loss from 4.34578 to 4.11584 relative to the previous accepted architecture. Later experiments with more books, context 512, and BF16 inference did not replace this checkpoint.

Evaluation

The post-selection test used 100 fixed FP32 batches from the original chronological test split. It was run after model selection.

MetricResult
Loss4.531258
Perplexity92.8753
Top-1 token accuracy31.698%
Top-5 token accuracy48.527%

These scores describe next-token prediction on held-out text from the same edition. Separate book-level evaluations showed weak transfer to other editions and narrators, so the numbers should not be read as general Kyrgyz-language performance.

Intended use

Tiny Manas is intended for:

  • studying a complete small-language-model implementation;
  • local research on causal language modeling and Kyrgyz tokenization;
  • generating short experimental continuations from Kyrgyz prompts;
  • reproducing the model-specific measurements documented in the source repository.

It is not intended for factual answers, instruction following, translation, safety-critical use, or unattended publication of generated text.

Limitations

The model learned from one edition of one epic. It can reproduce local names, phrasing, rhythm, and short action patterns, but it often repeats formulas, creates malformed words, and loses narrative continuity over longer spans. Its outputs can also reproduce biases or errors present in the source and tokenizer data.

The released checkpoint was not instruction-tuned, aligned, or evaluated as a general-purpose Kyrgyz model. The training corpus is small, the context window is 256 tokens, and the evaluation does not establish broad linguistic coverage.

Release provenance

ArtifactSHA-256
Accepted PyTorch inference exportabc13354d5cb1cc94c966985d95252befdfaf9f25b19c1884701442f4e519d8f
Published model.safetensors9870407329c400a267cc3978c5ee7162fbe61695feae74c094a771bb5e4d7795
Published tokenizer.json5047b4f427bb1af1c06cfb9cefbe83790b56df409b137b887988db6eba4b159f

Source commit: c903734fe29c5e087cb753b2bb1c3b93edc31584

The Safetensors file was converted from the accepted export and checked against it with exact FP32 logits on a fixed Kyrgyz prompt. release-manifest.json contains hashes for every published file.

License and attribution

This repository contains materials under different terms. See LICENSE before reuse. In particular, public availability does not relicense the model code or tokenizer, and it does not remove the attribution, non-commercial, or share-alike conditions attached to the Manas-UdS source corpus.

Citation

@misc{nosov2026tinymanas,
  author = {Nosov, Nikita},
  title = {Tiny Manas: An Inspectable Kyrgyz Language Model Trained on the Epic Manas},
  year = {2026},
  url = {https://huggingface.co/Nik1t7n/tiny-manas}
}

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

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

GPU в ailist

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

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

Архитектура tiny_manas неизвестна transformers в образе рантайма.

Класс архитектуры
ManasGPT
Ревизия весов
127850a

0 моделей