/ Модель

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

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

haru_2

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

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

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

Бенчмарки

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

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

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

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

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

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

Haru v2.0 — компактная корейская языковая модель для продолжения историй, разработанная автором репозитория alice-noa-chan. Она использует плотную причинную архитектуру CFRD с 16 983 213 параметрами и работает на рекуррентной глубине 6. Модель принимает текстовый контекст и предсказывает продолжение; длина контекста — 512 токенов, токенизатор BPE содержит 12 000 токенов.

Модель обучена на корейском корпусе, включая набор Tiny-Ko-Stories, и предназначена прежде всего для генерации продолжений корейских рассказов. В карточке опубликованы результаты KoBEST, однако оценки близки к случайному уровню, поэтому их не следует считать свидетельством надёжных общих способностей. Haru v2 — устаревший выпуск; автор указывает, что актуальна версия Haru v3.

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

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Haru v2.0 (legacy)

Legacy release / 레거시 모델: Haru v2 is preserved for research and reproducibility. Haru v3 is the latest release. / 최신 버전은 Haru v3입니다.

Latest Haru v3 modelParametersRepository
Student non-IT — plain story continuation13,688,705haru_3-student-base
Student IT — experimental chat-formatted story instructions13,688,705haru_3-student-chat
Teacher non-IT30,997,377haru_3-teacher-base
Teacher IT30,997,377haru_3-teacher-chat

새로 사용할 때는 학생 non-IT 모델로 동화를 이어 쓰거나, 학생 IT 모델의 apply_chat_template 사용 예제를 참고하세요. 최신 저장소에는 FP32 가중치, MIT 라이선스와 실행 예제가 포함되어 있습니다. IT는 실험 모델이며 이야기의 사실 유지와 새로운 지시 형식에 대한 일반화에는 한계가 있습니다.

See the Haru collection and current GitHub release.

The original v2 architecture, weights and usage are documented below.

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 = "alice-noa-chan/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.

Demo Spaces were retired at the owner's request. All model weights and revision history are preserved.

Haru model collection

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

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

GPU в ailist

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

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

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

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

0 моделей