/ Модель

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

Контекст
512 токенов
Лицензия
MIT
Архитектура
cfrd · dense
Библиотека
transformers
Опубликована
15 авг 2026

haru_2

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

Haru v2.0 — компактная корейская причинная языковая модель для продолжения историй и повествовательного текста.

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

Бенчмарки

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

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

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

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

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

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

Haru v2.0 — компактная корейская модель продолжения историй от разработчика gaon12. Она использует плотную причинную архитектуру CFRD с шестью рекуррентными слоями, содержит около 17 млн параметров и принимает контекст длиной до 512 токенов. Модель обучалась на корейском корпусе, включая набор Tiny-Ko-Stories; опубликованные веса представлены в формате safetensors. Лицензия — MIT.

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

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

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Haru v2.0

Haru is a compact Korean story continuation model built with the custom CFRD causal architecture. It has 16,983,213 parameters and runs at recurrent depth 6 only.

Usage

Review the included Python files before enabling remote custom code.

from transformers import AutoModelForCausalLM, AutoTokenizer

MODEL_ID = "gaon12/haru_2"
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(MODEL_ID, trust_remote_code=True)

inputs = tokenizer("작은 마을에 아침이 찾아왔어요.", return_tensors="pt")
output = model.generate(
    **inputs,
    max_new_tokens=120,
    do_sample=True,
    temperature=0.7,
    top_p=0.9,
    top_k=40,
    repetition_penalty=1.08,
    use_cache=False,
)
print(tokenizer.decode(output[0], skip_special_tokens=True))

Model details

  • Parameters: 16,983,213
  • Context length: 512
  • Recurrent depths supervised during training: none; AUX_EXIT_LOSS_WEIGHT is 0.0, so the depth 2 and 4 exits are untrained
  • Exported checkpoint step: 32500
  • Training tokens seen: 4,259,840,000

Evaluation

Recurrent depthValidation lossPerplexity
28.795626605.228
45.56061259.982
63.3850329.519

Training data attribution

Tiny-Ko-Stories by psymon, licensed under CC BY 4.0. The dataset is not redistributed with this model.

Limitations

  • Haru is a continuation model, not an instruction-following assistant.
  • Longer generations can repeat ideas or drift between entities.
  • The model is not suitable for factual or safety-critical use.
  • There is no inference cache yet, so generation recomputes the active context.

License

Haru model weights and included code are released under the MIT License. The training dataset remains under its separate CC BY 4.0 license.

KoBEST

Scored with lm-eval on the five KoBEST tasks. The tasks mix two-way and four-way formats, so the mean has no fixed floor: 0.450 is what a coin flip scores. Read the "vs chance" column.

TaskHaru v2.0Haru v1.1Chancevs chance
kobest_boolq0.5070.5020.50+0.007
kobest_copa0.5290.5000.50+0.029
kobest_hellaswag0.3140.2240.25+0.064
kobest_sentineg0.5090.4960.50+0.009
kobest_wic0.4880.4880.50-0.012
mean0.4690.4420.450+0.019

v1.1 was at or below chance on every task. v2.0 is above chance on four of five, and hellaswag at 0.314 against a 0.25 chance level is the first evidence in this project of a task being learned rather than guessed.

Against other sub-20M Korean models

Every row was scored locally through the same harness and task list rather than quoted from a model card.

ModelParametersMeanvs chance
Haru v2.017.0M0.469+0.019
minpeter/tiny-ko-20m-sft20.0M0.463+0.013
minpeter/tiny-ko-20m-base20.0M0.457+0.007
Haru v1.111.6M0.442-0.008

These are small margins on a benchmark whose chance mean is 0.450, and all four models score below chance on wic. Sub-20M Korean models are all near the floor; Haru v2.0 is a little further from it than the others tested.

Recurrent depth

v2.0 runs at depth 6 only.

Depthv2.0 lossv2.0 PPL
28.795626605.2
45.56061260.0
63.3850329.5

v1.1 degraded gracefully across depths 2, 4 and 6 because it reused three physical cells and trained the intermediate exits with deep supervision. v2.0 unfolds the stack into six independent cells and sets the deep-supervision weight to zero, so the shallow exits receive no training signal. Early exit was a property of cell reuse plus deep supervision, and v2.0 dropped both.

Training

17.0M parameters, 12,000-token BPE tokenizer, 512-token context. Trained on 4.26B tokens drawn from a 2.6B-token Korean corpus that was n-gram decontaminated against all five KoBEST evaluation sets.

Training stopped at 4.26B of a planned 10.4B tokens: two KoBEST measurements 1.5B tokens apart moved the mean by +0.003, inside the harness's own noise, so the remaining budget was not buying measurable accuracy.

Limitations

  • Repetition collapse is common after the first sentence or two.
  • Entity tracking is unreliable; the model confuses referents in longer spans.
  • It reproduces encyclopaedic surface form without the underlying facts.
  • Not an instruction model, a factual assistant, or a safety-reviewed product.

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

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

GPU в ailist

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

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

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

Класс архитектуры
CFRDForCausalLM
Ревизия весов
1eac888

0 моделей