NETBYTE
Start a project

Research

Helix, part 2: what the finished model can do

Helix is finished. It read 6.5 billion tokens, went through long context, instruction tuning and a thinking stage, and got a small draft model that makes it faster without changing a word of its output. This part is about what came out – and what did not.

By Marcus Weitschat 9 min read

Twenty-two rows of bars on a dark background: a blue bar for the drafts each cycle accepted and a short amber cap for the token the target model added, with a ragged right edge.

Finished at 1.07 bits per byte

The last 1.15 billion tokens ran in a cooldown: the learning rate fell to zero, and the data mix shifted towards mathematics, code and chat. Held-out loss ended at 2.835 nats per token, or 1.072 bits per byte over all streams.

Bits per byte is the fairer comparison across languages, because it divides by the bytes of text rather than by tokens, and the tokenizer packs different languages into different numbers of tokens. Across the 24 languages the average fell from 1.32 at 5.35 billion tokens to 1.21 at 6.5 billion. The last billion tokens bought about 0.11 bits per byte – little drama, but the cheapest part of the run.

Figure 1 Bits per byte, per language Held-out loss in bits per byte for the 24 official EU languages at the end of pretraining. Lower is better. Greek and Bulgarian are low because their scripts fit into few tokens per byte.
  1. Greek 0.654
  2. Bulgarian 0.754
  3. French 0.977
  4. English 1.018
  5. Spanish 1.057
  6. Portuguese 1.135
  7. German 1.163
  8. Dutch 1.165
  9. Italian 1.189
  10. Polish 1.240
  11. Danish 1.261
  12. Maltese 1.265
  13. Irish 1.277
  14. Hungarian 1.279
  15. Slovak 1.282
  16. Slovenian 1.303
  17. Romanian 1.306
  18. Swedish 1.314
  19. Latvian 1.317
  20. Czech 1.319
  21. Lithuanian 1.325
  22. Croatian 1.376
  23. Finnish 1.376
  24. Estonian 1.576
Show the data
LanguageBits per byte
Greek0.654
Bulgarian0.754
French0.977
English1.018
Spanish1.057
Portuguese1.135
German1.163
Dutch1.165
Italian1.189
Polish1.240
Danish1.261
Maltese1.265
Irish1.277
Hungarian1.279
Slovak1.282
Slovenian1.303
Romanian1.306
Swedish1.314
Latvian1.317
Czech1.319
Lithuanian1.325
Croatian1.376
Finnish1.376
Estonian1.576

The order barely moved: Estonian is still last, French and English still lead the Latin-script languages. Estonian improved the most (1.73 → 1.58) because it started last and had the most room. This is not a ranking of languages; it is a ranking of how much text we had for each.

128,000 tokens, with a caveat

The long-context stage added 500 million tokens at 32,000 tokens per sequence and raised the RoPE base. On a passkey task – find one number in a long text – accuracy at 32k went from 27 of 50 (54 %) to 41 of 50 (82 %) with STRING, which shifts the global heads’ positions back into the range seen in training.

Beyond that, YaRN stretches the rotary frequencies. ×4 plus STRING reaches 86 % at 128k; ×8 reaches 90 %. The difference is not significant with ten trials, and ×8 costs more loss, so the recommendation is ×4 + STRING.

Figure 2 Retrieval across distance Accuracy on a passkey task – one number hidden in a long text – over 50 trials per point. Three configurations of the same checkpoint; the dashed line is the trained length.
  • Plain checkpoint
  • YaRN ×4 + STRING
  • YaRN ×8

Accuracy (%)

Context length (tokens)

Show the data
Context length (tokens)Plain checkpointYaRN ×4 + STRINGYaRN ×8
4.00989898
32.00549696
128.00158690

Two caveats. First, the task is easy: one number, no reasoning. With four numbers in the text, accuracy at 4k is only 64 %, and 13 of the 18 errors pick a later number – the model retrieves something, just not the right thing. Second, 262k works in a screening (16 of 20, 80 %), but a prompt costs 80–97 seconds of prefill and 5.1 GiB on the local card.

The limit is the model, not the window. A 320M model has a finite budget for storing facts; more context gives it more places to look, not a better memory.

It answers, but it does not know

Two post-training runs followed. SFT read 600 million tokens of chat, code, mathematics and rewrites (two epochs, cross-entropy 1.348, perplexity 3.85); the thinking stage read 474 million tokens of traces (1.449, 4.26). The thinking loss is higher – its answers are longer and more varied – and not directly comparable to SFT.

What it learned best is format. The lowest losses are on code (0.73 nats), mathematics (0.55) and rewrites (0.73); structured answers are easy to predict. Human-written multilingual answers are the hardest stream (2.90), and that is where the translation stage is supposed to help next.

What it did not learn is conversation. In a 38-item test with follow-ups (“And Italy?” after France), SFT answers the last question 19 times, the thinking model 14 times; otherwise it repeats an earlier answer. The cause is the data: the median Magpie answer is 108 characters, only 4 % are shorter than 40, and short follow-ups are almost absent. A repetition penalty of 1.1 halves repeated 4-grams (0.403 → 0.087) and stops the model from running to the token limit; it does not fix the copying.

Web search is no better: across three layouts and 15 trials each, the SFT model uses the snippets in 2 of 15 cases, the thinking model in 5 or 6. It continues the snippet list or invents names. That is a data gap, not a prompting trick.

Same model, temperature 0.6, unedited. Prompt: “Fasse den folgenden Text in einem Satz zusammen: Die Stadt hat beschlossen, den alten Bahnhof zu sanieren. Die Arbeiten beginnen im Frühjahr und dauern voraussichtlich zwei Jahre.”

Prompt: Die Stadt hat beschlossen, den alten Bahnhof zu sanieren. Die Arbeiten beginnen im Frühjahr und dauern voraussichtlich zwei Jahre. Model output: Die Stadt hat beschlossen, den alten Bahnhof zu sanieren, um den Bahnhof zu erweitern und die Arbeiten zu beginnen im Frühjahr.

The summary keeps the topic and drops the number; the sentence is fluent and the fact is gone. We did not run MMLU, GSM8K or similar suites. At 320M parameters they would mostly measure how much trivia fits into the weights; the probes above test the behaviour we built for.

Same model. Prompt: “Was ist 17 + 25?”

Prompt: Was ist 17 + 25? Model output: 17 + 25 = 39.

It answers, quickly and confidently, and the answer is wrong. That is not a sampling accident; it is what 320 million parameters buy.

Seven drafts, one pass

The last piece is not a better model but a faster one. DSpark trains a small draft model against the frozen target. It sees the target’s hidden states from three layers, proposes seven tokens, and the target checks all seven in a single forward pass. Speculative sampling accepts a prefix and corrects the first rejected token, so the output distribution is exactly the target’s. Greedy output is token-for-token identical; the benchmark refuses to report if it is not.

The drafter has 77 million parameters, two layers and a rank-256 bigram bias, trained for 30,000 steps (about 3.7 h) on the RX 7800 XT, with held-out conversations for the acceptance eval. The 320M target stays frozen.

Figure 3 Accepted tokens per cycle Mean accepted drafts per cycle on held-out conversations during training. The confidence head estimates whether a draft survives verification; the scheduler uses it to pick a draft length. In the benchmark it did not beat a fixed length.
  • Confidence scheduler

Accepted tokens

Training step

Show the data
Training stepConfidence scheduler
1,000.001.23
2,000.001.31
3,000.001.39
4,000.001.44
5,000.001.49
6,000.001.53
7,000.001.55
8,000.001.60
9,000.001.62
10,000.001.63
11,000.001.67
12,000.001.68
13,000.001.69
14,000.001.73
15,000.001.72
16,000.001.73
17,000.001.77
18,000.001.79
19,000.001.82
20,000.001.81
21,000.001.82
22,000.001.83
23,000.001.84
24,000.001.85
25,000.001.85
26,000.001.86
27,000.001.87
28,000.001.86
29,000.001.88
30,000.001.89

On eight held-out prompts and 256 tokens at temperature 0.7, the trained drafter accepts 2.78 tokens per cycle. With a fixed draft length that turns 27.5 tokens per second into 48.9 – a speedup of 1.78×. The confidence scheduler chooses the draft length per step and was supposed to do better; here it did not: 46.4 tokens per second, 1.69×. It accepts the same number of drafts, but its cycles are 6 % longer.

Figure 4 Speed on one consumer card Eight held-out prompts, 256 tokens each, temperature 0.7, batch 1, on the RX 7800 XT. The target model is identical in all three bars; only the decoder changes. The confidence scheduler is slower than the fixed length here.
  1. Target alone 27.5
  2. DSpark, fixed draft length 48.9
  3. DSpark, confidence scheduler 46.4
Show the data
DecoderTokens/s
Target alone27.5
DSpark, fixed draft length48.9
DSpark, confidence scheduler46.4

Why not more? Both passes are overhead-bound. One target pass costs 39 ms whether it verifies one token or 40, and the drafter adds 17 ms; the rest of the cycle is Python and cache bookkeeping. The target alone runs at 27.5 tokens per second, so it is already latency-bound: the cycle time, not arithmetic, sets the ceiling. Batching, CUDA graphs and a compiled decoder are the next levers; we have not measured them.

The honest limit: acceptance depends on the text. Code and structured answers are easy to draft, open prose is not. The numbers are an average over eight chat prompts, not a guarantee.

The bill

The rented GPUs cost about $20 in total: about $12 for pretraining (33 hours on two RTX 4070 Ti Super at $0.363 an hour), $4.15 for SFT and about $4.30 for the thinking run (both on two RTX 5080 at $0.476). That is $1.85 per billion pretraining tokens. The workstation’s RX 7800 XT, the electricity and our time are not in the number.

What Helix is not

  • Not a chatbot you would ship. It writes fluent text and invents facts. Three hundred million parameters and 6.5 billion tokens buy grammar, not knowledge.
  • Not multilingual in the frontier sense. It covers the 24 official EU languages; Russian, Chinese or Japanese prompts are outside its training distribution.
  • Not long-context in the “give it a book” sense. Retrieval works to roughly half the trained length; reasoning over 128k is untested.
  • Not fast in absolute terms. About 46 tokens per second on one consumer card is fine for a demo, not for serving a product.

What it is: a complete, reproducible pipeline – data, tokenizer, architecture, four training stages, a drafter, a server – where every claim has a run directory and every failure is written down.

What comes next

The next step is a 2B pilot on JUPITER and then a 10B recipe on HPC, with a 131k tokenizer and 150–300 billion tokens. The FSDP code, the HPC suite and the v3 data chain exist and are CPU-tested; none of it has run on real HPC hardware yet. That is the status.

On the model side, the open items are the ones above: real multi-turn data, a better web-search format, batching for DSpark, and a benchmark suite that can tell whether any of it helped. The runs and logs stay with the project; every number in this post can be checked against them.

Back to all posts

Next step

What should exist next?

Tell us about your game, app, website or AI project. A short message is enough to get started.