NetherQuartz/wikipesija
Viewer • Updated • 3.06k • 19
Climb 1 Toki is an ultra-compact language model (2.85M tied parameters / 3.05M un-tied GGUF tensors) engineered natively for Toki Pona by BBTeam (Climb AI).
For pre-quantized GGUF binaries ready for llama.cpp and Open WebUI, visit Climb-Ai/Climb-1-Toki-GGUF.
Is training a causal neural language model fundamentally faster, more parameter-efficient, and sample-compact when built upon the world's most minimal and isolating language (Toki Pona, ~120–137 root words, strictly regular syntax, zero inflectional morphology) compared to natural languages like English or Russian?
[ ]—fits within 1,024 Byte-Level BPE tokens. The resulting embedding table occupies just 196k parameters (~0.7 MB).jan li moku e telo), the network stabilized valid sentence structures within just 3.26 MB of training text (~1M tokens).telo seli = tea/coffee, telo nasa = alcohol, ilo suno = screen/flashlight, ilo lukin = microscope/glasses). Disentangling subtle contextual meanings from identical roots proved significantly harder for a 2.85M model than learning distinct dedicated tokens.[ ])Climb 1 Toki, BBTeam (Climb AI)), grammatical calibration, sentence capitalization, and strict punctuation spacing.import torch
from tokenizers import Tokenizer
from modeling_micro_llama import MicroLlamaForCausalLM
tokenizer = Tokenizer.from_file("tokenizer.json")
model = MicroLlamaForCausalLM(vocab_size=1024, dim=192, n_head=6, n_layer=6, hidden_dim=512, max_len=256)
state = torch.load("pytorch_model.bin", map_location="cpu", weights_only=True)
model.load_state_dict(state)
model.eval()
prompt = "<|user|> toki! sina jan seme? <|bot|>"
input_ids = tokenizer.encode(prompt).ids
generated = list(input_ids)
with torch.no_grad():
for _ in range(40):
inp = torch.tensor([generated[-256:]], dtype=torch.long)
logits, _ = model(inp)
next_tok = torch.argmax(logits[0, -1]).item()
if next_tok == 0: # <|endoftext|>
break
generated.append(next_tok)
reply = tokenizer.decode(generated[len(input_ids):])
print("Bot:", reply.strip())
Apache 2.0. Developed by BBTeam (Climb AI).