Download README.md from Kpllan/README: direct link, hf CLI and curl.
- Browser
- Download file 5.29 kB
-
https://huggingface.co/spaces/Kpllan/README/resolve/main/README.md
- Command line
-
hf download hf://spaces/Kpllan/README/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Kpllan/README/resolve/main/README.md
title: Kapllan Labs
colorFrom: indigo
colorTo: blue
sdk: static
pinned: false
Kapllan Labs
Kapllan Labs focuses on foundation models, agentic systems, multimodal interaction, robotics, knowledge orchestration, and decision intelligence.
The lab develops its own internal model family under the K-Series β K0, K1, K2, and future frontier-scale systems.
What we've shipped
v3 Tokenizer (2026-05-15)
384,000-vocab SentencePiece Unigram trained on 115 GB of native multilingual corpus. Six evidence-based fairness gates passed across 31 languages:
- Tier-1 whitespace languages:
ar1.22Γ (max) within 1.5Γ whitespace-median - Tier-1 CJK languages:
zh2.72Γ,ja1.86Γ,ko1.74Γ β all within 3.0Γ whitespace-median (XLM-R / mT5 baselines) - Tier-2 languages:
he1.46Γ (max) within 2.5Γ - Code/English ratio: 0.98
- Round-trip idempotence: 100% across 60,000 documents
- 71 special tokens locked at IDs 0-70 per surface map
The 71 special tokens cover boundary, role, visual, doc structure, audio, reasoning, agentic, and reserved surfaces β committed once, never changed across all K-Series rungs.
Three training experiments, one falsified
The v3 tokenizer programme ran three full Pass 2 training runs:
- Proportional sampling β baseline; zh 3.20Γ FAIL
- CJK-heavy 50% sampling β production winner; zh 2.72Γ (pareto-optimal within Unigram-EM paradigm)
- Per-script pre-segmentation (Path B) β empirically FALSIFIED; train/eval distribution mismatch produced zh 3.40Γ (worse)
Path B is preserved as a documented negative result. The lesson: pre-segmentation in tokenizer training requires a matching runtime segmenter. Without that, train/eval distribution mismatch reverses the intended effect.
K-0 native base model
Validation rung at 200M class. Native multimodal batches cold-start with all modalities present from step 0. 5,000-step production validation run completed 2026-05-15 with all four review fixes live: DDP per-category loss reduce, attention/loss masks correctness, real audit pipeline, per-step sampled-category logging at rank-0.
K-1 corpus (post-v3 tokenizer)
27,643,776 documents to 23,140,725,058 tokens (23.14 B) repacked with canonical v3 tokenizer, pre-tokenized JSONL with cached token-IDs for the trainer hot-path. Per-category breakdown:
| Category | Docs | Tokens | Share |
|---|---|---|---|
| text | 22.3 M | 17.12 B | 74.0% |
| code | 2.4 M | 3.49 B | 15.1% |
| reasoning_trace | 906 K | 1.89 B | 8.2% |
| math | 1.86 M | 574 M | 2.5% |
| tool_call | 177 K | 75 M | 0.3% |
Research hypotheses filed (active, not yet doctrine)
- RCA β Reflective Cognition Architecture (v0.1, 2026-05-15) β concurrent reflection stream with typed revision vocabulary and utility-driven gate policy. Six revision kinds (
soft,factual,scope,confidence_up,confidence_down,retract) as native vocabulary. F1βF5 falsification criteria defined; pilot timed post K-0 success gate. - PCVA β Parallel Cognitive Voice Architecture β voice-domain instantiation of the same architectural insight. Private alpha.
- Per-script tokenizer fairness gates β replacing Latin-centric heuristics with bounds measured against XLM-R / BLOOM / mT5 published baselines.
Engineering principles
- Native from step zero β every modality is a token type from K-0. No surgery-after-the-fact pretraining. No bolted-on encoders.
- Multilingual is foundation, not a feature β measured per-script fairness against published baselines, not Latin-centric heuristics.
- Open weights for K-Series base models. Closed weights for fine-tuned product surfaces.
- Falsifiable hypotheses, not feature advocacy β research positions ship with F1βF5-style criteria. Negative results preserved as documented dead-ends.
- Frontier optionality β architectural decisions stay reversible until pilot evidence arrives. Reserved-token surfaces remain generic until research validates the kind typology.
Stack
Qwen3-base fine-tunes (Apache 2.0 to Kapllan IP). SentencePiece Unigram tokenization. Custom UnifiedSequence native batch format with per-category loss accounting and stability throttling. DDP-NCCL distributed training. vLLM serving.
Hardware β 4-node DGX Spark cluster with MikroTik 400G fabric. Hetzner GPU node for production training. Latitude.sh elastic for tokenizer R&D bursts.
The K-Series
Each rung locks the tokenizer, special-token map, and per-category loss accounting from K-0. Future rungs scale data, parameters, and capabilities β never re-litigate the foundation.
- K-0 β validation rung. 200M class. 5000-step validation completed 2026-05-15.
- K-1 β first real native base. 23.14 B token corpus repacked 2026-05-16. Production training launch pending.
- K-2 β first useful production native model. Quality-targeted data mix.
- K-3 β production dense frontier-tier.
- K-3-R β reasoning-specialist branch.
- K-4 β frontier-tier open weights. MoE.
Built in the Nordics. Made for the frontier.
kapllan.ai β Kapllan AS β Norwegian trademark reg.nr 341834 (Klasse 9 + 42, registered 2026-05-13)