A 7B parameter language model fine-tuned to generate code in toke, a programming language designed to reduce token cost of AI-generated code. This model writes syntactically valid toke 100% of the time.
25,953 records — 18,890 synthetic + 6,069 from loke production (87K lines)
Training time
37 hours on NVIDIA A10G (24 GB)
Weights
AWQ 4-bit quantized (this repo)
Context length
32,768 tokens
License
Apache 2.0
What is toke?
toke is a statically typed, compiled language with a 55-character alphabet (lowercase a-z, digits 0-9, and 19 symbols). It compiles to native binaries via LLVM. A purpose-built BPE tokenizer achieves 52% fewer tokens on average vs cl100k_base.
13 keywords:mftiifellpbrletmutasrtmt
No comments in source — documentation lives in companion files (.tkc.md)
Errors as values — no exceptions, result types with mt (match)
curl -X POST https://api.tokelang.dev/v1/generate \
-H "X-Api-Key: YOUR_KEY"\
-H "Content-Type: application/json"\
-d '{"description": "Return the absolute value of an integer"}'