comba-2b-mm-longctx65k
comba-2b-mm (base, step 96,038) continued for 2,098 steps at a context length of 65,536 tokens, to teach it to use long context. Same architecture, tokenizer and token grammar as the base model; see the base card for details.
Training
- Start: base checkpoint step 96,038 (trained at 8,192 tokens).
- Data: drawn from a subset of about 1.1B tokens in about 12,700 long documents (32,768 to 262,144 tokens each) of the pre-training corpus, mostly long text plus some long speech documents.
- Sequence length 65,536, two 80 GB GPUs, same optimizer and loss as pre-training. This phase ran after the EuroHPC allocation, on rented GPUs.
Training and inference code: github.com/nstern-digital-solution/comba-2b-mm
Evaluation: needle in a haystack
Greedy exact match, 25 trials per cell. Needle position = depth in the context (100 % = at the end).
| Context | depth 25 % | 50 % | 75 % | 100 % |
|---|---|---|---|---|
| 8k, base model (for comparison) | 0.04 | 0.16 | 0.08 | 0.52 |
| 8k | 0.60 | 0.32 | 0.40 | 0.72 |
| 16k | 0.00 | 0.20 | 0.68 | 0.64 |
| 32k | 0.00 | 0.00 | 0.00 | 0.24 |
| 64k | 0.00 | 0.00 | 0.00 | 0.28 |
Retrieval improved clearly at 8k and works mid-context up to 16k; at 32k and 64k only needles near the end are found, so the model does not yet use the full 64k reliably.
Limitations
As for the base model: a small research base model that hallucinates and does not follow instructions; image and audio outputs are low quality.
License and acknowledgement
Apache-2.0.
We acknowledge the EuroHPC Joint Undertaking for awarding this project access to the EuroHPC supercomputer LEONARDO, hosted by CINECA (Italy) and the LEONARDO consortium through an EuroHPC AI Factory Playground Access call (project EHPC-AIF-2026PG01-340).
Developed by nStern Digital Solutions UG.
- Downloads last month
- 2