/ Модель

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

Контекст
65 536 токенов
Параметры
7,6 млрд
Размер весов
16,4 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-8B-Base
Библиотека
transformers
Опубликована
12 сен 2026

Keural-Cortex-8B-64K

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

Базовая модель Qwen3, дообученная на корейских данных и контексте до 65 536 токенов для генерации текста, экспериментов с длинным контекстом и дальнейшей адаптации.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Keural Cortex 8B — 64K — это базовая авторегрессионная модель семейства Qwen3, разработанная MKD Co., Ltd. на основе Qwen/Qwen3-8B-Base методом продолженного предобучения. Модель содержит 7,6 млрд параметров по метаданным и рассчитана на контекст до 65 536 токенов с масштабированием YaRN 2.0.

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

Это базовая модель без настройки на выполнение инструкций: она продолжает текст, а не гарантированно отвечает на вопросы. У неё нет обученного интерфейса чата или вызова инструментов; результаты бенчмарков предварительны, поскольку проверка на загрязнение тестовых данных не проводилась. Лицензия — Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Keural Cortex 8B — 64K context (Phase 5 final)

Korean-focused continued pretraining of Qwen/Qwen3-8B-Base with the context window extended from 32,768 to 65,536 tokens, by MKD Co., Ltd.

This is the completed Phase 5 model: 41B tokens of CPT followed by 2.5B tokens of context extension. It is a base model — no instruction tuning.

Parameters8.19 B
Context length65,536 (native, YaRN factor 2.0)
CPT tokens41.0 B
Context-extension tokens2.50 B
Precisionbfloat16
Completed2026-09-12

Evaluation

All measurements use lm-evaluation-harness 0.4.12 / transformers 4.55.2 in bfloat16, with settings identical to the Qwen3-8B-Base baseline, so the comparisons are like-for-like. Two reference points are shown: step10000 is the CPT checkpoint this phase started from, so it isolates what context extension changed; base is Qwen3-8B-Base.

Korean — context extension improved Korean

BenchmarkBasestep10000this modelvs step10000
KMMLU53.9153.5754.32+0.75 ✱
HaeRae63.0664.4464.62+0.18
KoBEST BoolQ57.0564.2563.46−0.78
KoBEST COPA72.3070.2070.200.00
KoBEST HellaSwag58.8059.6059.80+0.20
KoBEST SentiNeg83.8881.3691.69+10.33 ✱
Mean+1.78 (vs base +2.52)

✱ significant at 95%. Across KMMLU's 45 subtasks: 31 improved, 12 regressed. Three of four subject groups rose (STEM +0.96, applied science +1.16, other +0.75; humanities −0.58).

KMMLU 54.32 is above the base model's 53.91 — the first Korean knowledge gain in this project, and it came from 2.5B tokens of context-extension data rather than the preceding 41B tokens of CPT. See Why Korean improved here below.

English — no regression

BenchmarkBasestep10000this modelvs step10000
MMLU74.7074.0273.79−0.23
GSM8K (1,319 samples)84.6982.3482.71+0.38
ARC-Challenge57.2559.6458.79−0.85
HellaSwag78.5978.1278.40+0.28
WinoGrande72.3872.6172.77+0.16
Mean−0.05

No English result is statistically significant. Context extension is the operation most likely to damage short-context behaviour; it did not.

Long context — needle-in-a-haystack

A random 6-digit code is buried at a given depth in a document of a given length; the model must reproduce it. Measured on CPU via llama.cpp (Q8_0):

contextdepth 10%depth 50%depth 90%
4,096PASSPASSPASS
16,384PASSPASSPASS
32,768PASSPASSPASS
65,536PASSPASSPASS

12/12 retrieved, measured on this exact checkpoint.

The 32,768 and 65,536 rows are beyond what the base model could do at all, so this is direct evidence the YaRN scaling took effect rather than merely being configured. Retrieval is exact even at 90% depth.

Probe: eval/needle_cpu.py. It is framed as pure completion rather than question-answering (a base model has no instruction tuning and will continue the document instead of answering), and scored through llama.cpp's HTTP API rather than the CLI (both CLI tools echo the prompt, which contains the needle, so stdout-based scoring would pass on echo alone). Positive and negative controls are asserted before any grid is believed.

Rollback gate: PASS

The project gate is Korean up and English within −0.5 pt. Result: Korean +1.78, English −0.05, long context verified. This model ships rather than the pre-extension 32K checkpoint.

Why Korean improved here

The preceding 41B-token CPT did not improve Korean knowledge — KMMLU was negative at every checkpoint, and the gains were lexical (HaeRae rare_word +3.70, loan_word +2.96) rather than factual. Its Korean data was three web-crawl sources.

This phase used 2.5B tokens that are 58% Korean and 58% AI Hub — curated books and the modu corpus rather than web crawl. Same model, same recipe, same learning rate, 16× fewer tokens, and Korean knowledge moved. The HaeRae subtasks track the corpus: history +3.19 (curated books contain history) against general_knowledge −3.41.

The practical lesson, on this project's own evidence: for Korean knowledge the lever is data composition, not token volume.


⚠️ What this model is and is not

It is a base model. Qwen3-8B-Base has no instruction following, no chat format, no tool calling and no thinking mode; continued pretraining adds none of them. It continues text rather than answering instructions. Post-training (SFT/DPO) has not been done.

The chat_template.jinja is inherited from the base tokenizer and does not mean the model is chat-tuned. Driven through it, the model will imitate assistant phrasing because Qwen3-8B-Base absorbed large amounts of assistant text during its 36T-token pretraining — that is imitation, not instruction tuning.

It has not been compared against Qwen3-8B-Instruct. Every number here is against Qwen3-8B-Base — a base-to-base comparison. Comparing a base model to an instruct model is only meaningful on knowledge benchmarks, and has not been done.

The Korean gain is real but modest. KMMLU +0.41 over base is a genuine, statistically significant improvement, not a transformation. This is not a model that beats Qwen3-8B-Instruct, and it is not intended as one.

Benchmark decontamination has not been run. Treat any benchmark number from this project as provisional until n-gram overlap against the evaluation suites has been checked.


Training

Phase 4 — CPT (41B tokens)

Full-parameter FSDP on 4× H200, 18 days 10 hours, zero restarts. Sequence length 4,096, global batch 3,145,728 tokens/step, peak LR 1.0e-05 on a WSD schedule, AdamW (β 0.9/0.95, wd 0.1), grad clip 1.0 (never triggered — max observed norm 0.48). Corpus: 38.784B tokens across 19 sources, 42.45% Korean.

Phase 5 — context extension (2.5B tokens)

Started from step_0010000 of the CPT rather than the final checkpoint — that checkpoint measured best on every Korean aggregation, and being mid-stable-phase (undecayed) it is the more natural handoff to a phase that applies its own WSD schedule.

ParameterValue
RoPE scalingYaRN, factor 2.0 → 65,536 positions
Sequence length65,536
Global batch3,145,728 tokens/step (1 × 65,536 × 4 GPU × 12 accum)
Steps795
Peak LR1.0e-05, WSD, min ratio 0.1
Throughput10.3k tok/s
Runtime~2d 23h, zero crashes

Data: 2.501B tokens, 12 sources, every document ≥32,768 tokens. 58.1% Korean, and notably 58% of the total is AI Hub (aihub_modu 0.899B, aihub_books 0.553B) — curated, edited Korean rather than web crawl.

Note on the loss curve: training loss sat flat at ~1.94 throughout Phase 5, which in isolation looks like nothing was learned. The evaluations above show otherwise — Korean improved and 64K retrieval works. Average token loss is simply not the right instrument for either positional behaviour or a data-composition shift, which is why the gate is defined on evaluations rather than on loss.

A required implementation detail: HF computes the loss by materializing the full seq_len × vocab logits tensor and upcasting to fp32 — 37.09 GiB at seq_len 65,536, which OOMs with micro_bsz already at 1. Phase 5 used liger-kernel's fused linear cross-entropy, which never allocates that tensor.


Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

m = "mkd-hossain/Keural-Cortex-8B-64K"
tok = AutoTokenizer.from_pretrained(m)
model = AutoModelForCausalLM.from_pretrained(m, torch_dtype="bfloat16", device_map="cuda")

# Base model: complete text, do not instruct.
out = model.generate(**tok("대한민국의 수도는", return_tensors="pt").to("cuda"), max_new_tokens=64)
print(tok.decode(out[0], skip_special_tokens=True))

GGUF / llama.cpp

config.json includes rope_scaling.original_max_position_embeddings: 32768. transformers infers that field, but llama.cpp's converter requires it and fails with KeyError otherwise — it is present here so conversion works:

python3 convert_hf_to_gguf.py <this_model> --outfile out-f16.gguf --outtype f16
./llama-quantize out-f16.gguf out-q8_0.gguf Q8_0 8

On AMX-capable CPUs, Q8_0 outperforms Q4_K_M despite being larger (AMX-INT8 hardware path). Build llama.cpp with -DGGML_NATIVE=ON or those kernels are not compiled in.


Related models

ModelTokensContextPurpose
this41B + 2.5B65,536Phase 5 final
Keural-Cortex-8B-Base41B32,768CPT final
Keural-Cortex-8B-step1000031.5B32,768best Korean checkpoint; Phase 5 started here
Keural-Cortex-8B-step500015.7B32,768intermediate
Keural-Cortex-8B-pilot3B32,768recipe validation

Full audit record — configuration, training dynamics, corpus provenance, evaluation and findings — at github.com/MKD-CORP/Keural-Cortex-8B under CPT_details/.

License

Apache 2.0, inherited from Qwen/Qwen3-8B-Base. Derivative work of Qwen3-8B-Base by Alibaba Cloud; attribution required.

Intended use

Research, long-context experimentation, and as a base for further fine-tuning. Not a user-facing assistant — it has no instruction tuning — and not a basis for capability claims until decontamination is complete.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей