/ Модель

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

Контекст
2 048 токенов
Параметры
63,5 млн
Архитектура
helix · dense
Библиотека
transformers
Опубликована
18 ноя 2026

HelixLM-53.9M-IT-20261118-d512-h8-nl3-s2048-sft

Генерация текстаТекст → текст3 профессии
427скачиваний за 30 дней1лайквеса обновлены19 ноя 2026

Описание модели

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

Компактная англоязычная модель Helix, дообученная на инструкциях для исследований и дальнейшей адаптации, но пока не пригодная как готовый помощник.

HelixLM-53.9M-IT — компактная англоязычная языковая модель от david-thrower, полученная полным дообучением базовой HelixLM на примерах инструкций из Dolly и Cosmopedia с 8% повторного использования данных предобучения. Модель содержит около 63,5 млн параметров, использует плотную архитектуру HelixForCausalLM с рекуррентным графом нейронных колонок и разделяемыми весами, оконным многомасштабным вниманием, SwiGLU и механизмом адаптивного завершения вычислений. Контекст — 2048 токенов; веса представлены в safetensors.

Модель предназначена для исследований дообучения компактных языковых моделей, адаптации к специализированным данным и персонализации весов, в том числе в условиях ограниченных ресурсов. Это экспериментальная отправная точка для дальнейших исследований, а не готовый универсальный помощник: при 53,9 млн параметров модель лучше усвоила формат диалога, чем выполнение инструкций, а приведённые примеры демонстрируют слабое качество генерации. В README указаны отсутствие рабочего chat template и KV cache; шаблон диалога приходится формировать вручную. Лицензия в предоставленных данных не указана.

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

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

Ограничения

Качество генерации и следования инструкциям низкое: модель усвоила разговорный формат лучше, чем сами инструкции. Рабочий chat template и KV cache отсутствуют; шаблон запросов нужно задавать вручную.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

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

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

HelixLM 53.9M — Instruct

The nuclear hand grenade of LLMs, instruction-tuned.

  • This is the first instruct fine-tuned model derived from HelixLM-53.9M-20261116-br72-d512-h8-nl3-s2048-5.0BT-wsd. It is a full fine-tune on a Dolly + Cosmopedia instruction mix with 8% pretrain replay.
  • A full fine-tune of HelixLM-53.9M-...-br72 on a dolly + cosmopedia instruction mix with 8% pretrain replay.
  • This checkpoint is a research starting point for instruction tuning and further domain adaptation—not a finished, general-purpose assistant and a proof of concept for how this archtiecture could be used for fully personalized foundation models.

Intended use cases

  1. Instruction-tuning research: studying how full fine-tuning affects a compact, recurrent, graph-structured language model.
  2. Domain adaptation: a starting point for further fine-tuning on institutional or individual domain knowledge, terminology, instructions, and edge cases.
  3. Weight-level personalization: experimenting with inexpensive customization of model weights rather than relying only on prompting or retrieval.
  4. Resource-constrained and edge-model research: investigating instruction-following models at the 53.9M-parameter scale for potential local or offline applications where model size, privacy, connectivity, or centralized inference cost matter.
  5. Training-dynamics research: examining the effects of pretrain replay, full fine-tuning, and recurrent-depth architectures on benchmark performance and weight spectra.

These are intended research and development directions, not claims that this checkpoint is already suitable for deployment in each application. Its generation quality, missing chat template, and lack of a KV cache are material limitations.

Architecture

The instruct model retains the base model's architecture and parameter count. HelixLM inherits the Cerebros lineage of graph-structured MLPs and translates that approach into neural columns within a recurrent Transformer architecture.

Three columns each contain a multi-scale windowed-attention node, a SwiGLU node, and a gate. The columns are wired into a random directed acyclic graph (DAG), and the full graph is looped three times with shared weights. LTI-stable injection preserves the input embedding across loops; RoPE supplies positional information, and the input and output embeddings are tied. The design also incorporates adaptive computation time (ACT) halting.

The multi-scale attention mechanism uses hierarchical consensus for compression-error correction, together with aberrant-token detection and substitution. The architecture is intended to support linear-scaling attention across a long context.

Input tokens (B, T)                                   vocab 50,257
    ↓
Embedding [50257 × 512]  ─────────────┐  (tied with the LM head)
    ↓                                 │
    e  (preserved, injected every loop)│
    ↓                                 │
┌─ HelixRecurrentBlock × 3 loops, shared weights ───────────────┐
│   h ← RMSNorm(h + loop_index_embedding(t) + e)                │
│   3 columns, each:                                            │
│     ErrorCorrectingMultiScaleAttn (local 64 / coarse 128,     │
│       8 compressed windows × 8 views, cosine consensus,       │
│       FFN corrector, RoPE)                                    │
│       → SwiGLU (×2.5) → GateNode                              │
│   random wiring: vertical p=0.9 (depth 2), lateral p=0.8      │
│   h ← A·h + B·e + graph_out    LTI injection, A = e^(−e^(·))  │
└───────────────────────────────────────────────────────────────┘
    ↓
RMSNorm  →  tied LM head  →  logits
Basebr72 5B-token pretrain, val ppl 36.46
Parameters53,592,343
Data112,566 rows — 91.9% instructions (dolly + cosmopedia), 8.1% pretrain replay
Methodfull fine-tune, no LoRA (deliberate: rank collapse risk at this size, and a degree of overfitting is wanted)
Schedule200-step warmup → 1.5e-4 → cosine to 10%, 2 epochs, 7,584 steps
Batch8 × grad-accum 4 = 65,536 tokens/step
Hardware1× A100-80GB, 2 h 26 m
SFT valloss 2.4390 / ppl 11.46 (instruction-only split — not comparable to pretrain ppl)

Benchmarks — and what SFT cost

Same harness as the base (lighteval 0.13.0, 0-shot, float32), so this is a clean before/after:

taskbaseafter SFTdelta
ARC-Easy0.47600.4663−0.0097 (≈1σ)
ARC-Challenge0.18600.1834−0.0026
ARC average0.33100.3249−0.0061
WinoGrande0.51780.5201+0.0023
TruthfulQA mc10.21420.2313+0.0171
TruthfulQA mc20.38170.3978+0.0161

Instruction tuning cost about one ARC-Easy point—inside a single standard error—and gained about 1.6 points on TruthfulQA MC2, just over one standard error.

That is an unusually small cost. Small-model SFT normally trades several points of general ability for format compliance. Two things plausibly account for it here: the 8% interleaved pretrain replay, which keeps the language-modeling distribution in view throughout, and the fact that the base was undertrained (WeightWatcher median α 1.37, 73% of layers below the random-structure threshold), leaving capacity for SFT to move weights without destroying knowledge.

ARC average is the unweighted mean of ARC-Easy and ARC-Challenge, calculated from the displayed values and rounded to four decimal places. It is not an additional independent benchmark.

Task / scoreHelixLM 53.9M IT — this modelHelixLM legacy — 40.1MPythia-70MMantis-50M-Basegibc-v2-lm50M-proMiDo v3 BaseMiDo v3 Chat
ARC-Easy0.46630.42380.35230.44610.4785 ± 0.01030.45620.42210.4634
ARC-Challenge0.1834—0.21930.26370.2611 ± 0.01280.25510.27820.2645
ARC average0.3249—0.28580.35490.36980.35570.35020.3640
WinoGrande0.5201—0.5296———0.50510.4972
TruthfulQA MC10.2313——————0.2656
TruthfulQA MC20.39780.4636—————0.4440

Benchmark caveats

  • These numbers are lighteval acc, not lm-evaluation-harness acc_norm. Do not compare them directly with cards that report acc_norm.
  • TruthfulQA's gain is ~1.1σ on 0-shot MC2; treat it as suggestive, not settled.
  • HellaSwag, PIQA, WikiText-103, and BLiMP are omitted for harness reasons documented on the base model card.

Generation quality—honest assessment

At 54M parameters and two epochs, the model has learned the conversational format far better than instruction following. In-process samples after training:

"The capital of France is" → " Notre Dame, the city's largest city, and has a total area of 11"

"Write a haiku about rain." → "The first two are a word and the third is a short word."

It is a starting point, not a usable assistant. More data or more epochs would sharpen it; a different learning rate would not.

Known gap: this repository's tokenizer has a quirk with the chat template and may require a monkey patch (details coming once I test). The training data uses <|im_start|>user … <|im_end|><|im_start|>assistant …, but apply_chat_template raises an error, so callers must format prompts by hand. A chat template should be added before this model is used by an agent.

Weight spectrum—did full fine-tuning cause rank collapse?

WeightWatcher 0.7.7 was used to measure the SFT weights and, identically, the base from which they were derived: 124 of 132 two-dimensional matrices scored, using the CPU SciPy accurate-SVD path. α ≈ 2 is a random/untrained spectrum, 2–4 is the healthy trained range, and above 6 a matrix is effectively low-rank—the regime where rank collapse begins.

Base (5B pretrain)After SFT
α mean2.5422.262
α median1.371.37
α p753.191.44
α max30.2224.83
< 2 (undertrained)9196
2–4 (healthy)1616
4–6 (heavily trained)87
> 6 (low-rank)95

Conclusion: SFT did not cause rank collapse. It thinned the saturated tail. Layers above 6 fell from 9 to 5, and the worst layer relaxed from α 30.2 to 24.8. The healthy band held at 16 layers.

What SFT did not do is lift the bulk: the median is unchanged at 1.37, and the <2 mass grew from 91 to 96. That is the spectrum of a short, low-learning-rate fine-tune layered on an undertrained base, and it matches the benchmark behavior better than either “SFT damaged it” or “SFT improved it” would—the tail relaxed, while the bulk stayed where pretraining left it.

Two caveats stated plainly:

  • lm_head is absent from the 124 matrices because it is tied to the embedding, so embed is measured in its place and the comparison with the base stays like-for-like.
  • The 2/4/6 thresholds were calibrated on standard Transformers, not on this architecture with its per-column gates and recurrent graph, so read the distribution rather than any single layer.

Raw WeightWatcher output


weightwatcher 0.7.7

=== SUMMARY ===

{
  "log_norm": 2.7684650306497667,
  "alpha": 2.2616653644555798,
  "alpha_weighted": 3.592733048313148,
  "log_alpha_norm": 4.315611361992351,
  "log_spectral_norm": 1.65781092868133,
  "stable_rank": 21.005802412062497
}


=== PER LAYER (sorted by alpha) ===

 layer_id     name     alpha  alpha_weighted  log_alpha_norm  stable_rank  num_evals
       65 out_proj 24.828421       23.547326       23.612352   119.202766        512
      192       n6 11.047775       14.990159       15.269125   118.756610        512
      190       n3  9.778266       11.918254       12.427107   167.151171        512
      193       n7  7.364103       12.391037       12.651849   152.590194        512
      191       n4  6.668031       11.013655       11.045123    93.714841        512
      187 out_proj  5.601087        6.990479        7.153563    62.240924        512
       69 qkv_proj  5.219110        9.719863        9.921958    60.963909        512
      121       up  4.849918        6.640741        7.535906   116.375104        512
       61     down  4.524532        7.515035        7.723290    62.451248        512
      183     down  4.518813        8.658980        8.700939    37.699691        512
        9 out_proj  4.445772        7.853073        7.856851    18.679829        512
      182       up  4.032322        5.861355        6.843187   107.030084        512
       70 out_proj  3.960046        7.190201        7.211072    16.014039        512
      131 out_proj  3.950931        7.419431        7.440638    13.572691        512
        8 qkv_proj  3.825810        8.192729        8.205679    20.434035        512
      130 qkv_proj  3.814610        6.783306        7.241664    56.323542        512
       60       up  3.789109        6.191026        6.684362    65.026231        512
      110        0  3.782193        5.708250        5.837859    24.152876        256
      120     gate  3.700341        6.562081        6.832719    49.987073        512
       49        0  3.647524        6.521600        6.538638    12.713534        256
      171        0  3.596546        6.403383        6.421965    13.642678        256
      181     gate  3.584499        5.666418        6.413844    75.015969        512
      126 out_proj  3.465750        8.059986        8.060266     5.165458        512
      122     down  3.427425        5.437164        6.168170    70.565114        512
      113        3  3.388672        5.642289        5.745739    15.388108        256

=== ALPHA DISTRIBUTION ===

n=124 min=1.29 p25=1.34 median=1.37 p75=1.44 max=24.83
  undertrained/random (<2): 96
  healthy (2-4): 16
  heavily trained (4-6): 7
  overtrained/low-rank (>6): 5

=== vs BASE (br72 pretrain) ===

  alpha mean   2.542 -> 2.262
  alpha median 1.37 -> 1.37
  <2           91 -> 96
  2-4          16 -> 16
  4-6          8 -> 7
  >6           9 -> 5

Training data

HelixLM-s2048-sft-dolly-cosmopedia-replay8 contains instructions filtered to ≤ 2048 tokens so that no conversation is split across a window boundary. These are interleaved with 9,085 exact-2048-token pretrain windows whose chat markers are mutated to <.im_start.> so the template is never learned as prose.

The data was shuffled with seed 42, and 1,000 instruction-only rows were held out for evaluation.

Usage

As a pipeline (Still a monkey patch for the chat template)

from transformers import pipeline

model_id = "david-thrower/HelixLM-53.9M-IT-20261118-d512-h8-nl3-s2048-sft"

pipe = pipeline(
    "text-generation",
    model=model_id,
    trust_remote_code=True,
)

# Required because the published tokenizer_config.json has no chat template.
pipe.tokenizer.chat_template = (
    "{% for m in messages %}{{ m['role'] }}\n"
    "{{ m['content'] }}\n"
    "{% endfor %}"
    "{% if add_generation_prompt %}assistant\n{% endif %}"
)

messages = [
    {
        "role": "user",
        "content": "List three potential benefits of AI research. Use a numbered list.",
    }
]

result = pipe(
    messages,
    do_sample=True,
    max_new_tokens=80,
    temperature=0.35,
    top_k=20,
    top_p=0.85,
    repetition_penalty=1.25,
    no_repeat_ngram_size=3,
)

print(result[0]["generated_text"][-1]["content"])

As the model separately

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "david-thrower/HelixLM-53.9M-IT-20261118-d512-h8-nl3-s2048-sft"
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)

prompt = "<|im_start|>user\nName three primary colours.<|im_end|>\n<|im_start|>assistant\n"
ids = tok(prompt, return_tensors="pt").input_ids
print(tok.decode(model.generate(ids, max_new_tokens=60, do_sample=True,
      temperature=0.6, top_k=40, top_p=0.95, repetition_penalty=1.2,
      pad_token_id=tok.eos_token_id)[0], skip_special_tokens=True))

trust_remote_code=True is required. Prompts must currently be formatted manually because the tokenizer does not include a chat template.

Training data

HelixLM-s2048-sft-dolly-cosmopedia-replay8 — instructions filtered to ≤ 2048 tokens so no conversation is ever split across a window boundary, interleaved with 9,085 exact-2048-token pretrain windows whose chat markers are mutated to <.im_start.> so the template is never learned as prose. Shuffled at seed 42; 1,000 instruction-only rows held out for eval.

Limitations

  • Research checkpoint, not a usable general-purpose assistant. It has learned conversational formatting better than instruction following and can produce incorrect or nonsensical answers.
  • No chat template. Callers must reproduce the training prompt format manually; apply_chat_template currently raises an error.
  • No KV cache. Every generated token re-runs the full prefix, and the evaluation path runs every sequence at the full 2048-token training layout regardless of prompt length. Generation cost grows with length squared; this is the main obstacle to on-device use.
  • Compression error compounds with loop depth. Three loops beat four at d512 in earlier ablations.
  • English-language model. It is not intended for multilingual use or code generation.
  • 54M parameters is 54M parameters. No multi-step reasoning.
  • Limited benchmark coverage. HellaSwag, PIQA, WikiText-103, and BLiMP are unmeasured for the harness reasons described above.
  • Small benchmark changes. The ARC-Easy decline is within approximately one standard error, and the TruthfulQA MC2 improvement is approximately 1.1σ; neither should be overinterpreted.
  • Not safety-tuned.

License

Modified Apache 2.0 with ethical-use limitations. See the license for the applicable terms.

Out-of-scope uses

  • Uses prohibited or limited by the license.
  • Deployment as a finished general-purpose assistant without substantial further development and evaluation.
  • Applications for which the reported metrics and generation quality do not establish suitability, particularly mission-critical or high-stakes use.

Compliance

  • Only open-source data was used to train this model.
  • As with all AI models, its outputs may be factually incorrect and should not be treated as authoritative.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
HelixForCausalLM
Ревизия весов
ac654a2

0 моделей