Downloads · 30 days
29
28% of all-time downloads
0arch-io/kisoku-3b-sft
kisoku-3b-sft is a machine learning model from 0arch-io. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Superseded. This is Kisoku v1, an earlier 3B model. The current release is Kisoku 1.6B. Training log, benchmark charts and run instructions: 0arch.io/kisoku.
Downloads · 30 days
29
28% of all-time downloads
All-time downloads
105
Public
Parameters
3.6B
7.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors7.1 GB · 100%
From the Hugging Face model README
Superseded. This is Kisoku v1, an earlier 3B model. The current release is Kisoku 1.6B. Training log, benchmark charts and run instructions: 0arch.io/kisoku.
The instruction-tuned version of Kisoku 3B Base, fine-tuned using supervised fine-tuning (SFT) on Google Cloud TPUs with MaxText.
Trained entirely from scratch (pretraining + SFT) by a solo researcher, supported by Google's TPU Research Cloud (TRC).
This model was SFT'd from the Kisoku 3B base checkpoint using a custom text-only chat template (### User / ### Assistant format) designed to avoid out-of-vocabulary special token issues common with Llama-family tokenizers.
The model uses Granite architecture (identical to Llama but with runtime logit scaling), enabling GGUF conversion and local deployment via llama.cpp.
| Parameter | Value |
|---|---|
| Architecture | GraniteForCausalLM |
| Parameters | ~3B |
| Layers | 28 |
| Hidden size | 3072 |
| FFN size | 8192 |
| Attention heads | 24 |
| KV heads | 6 (Grouped-Query Attention) |
| Head dim | 128 |
| Vocab size | 128,256 |
| Context length | 4,096 |
| Logit scaling | 55.43 (Granite-specific) |
| Activation | SiLU |
| Detail | Value |
|---|---|
| Framework | MaxText (JAX) on TPU v4-32 |
| Steps | 460,000 |
| Data | DCLM-Baseline 1.0, FineWeb-Edu |
| Detail | Value |
|---|---|
| Framework | MaxText SFT on TPU |
| Steps | ~2,499 |
| Final loss | ~1.6 |
| Chat template | Custom text-only (### User / ### Assistant) |
| Tokenizer | Custom (at kisoku-sft-tokenizer/) |
A GGUF quantized version (Q8_0, 3.5GB) is available for local serving via llama.cpp:
# Serve with llama-server
llama-server -m kisoku-3b-sft-q8.gguf -c 4096 --port 8900
# Use with any OpenAI-compatible client
curl http://localhost:8900/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model": "kisoku", "messages": [{"role": "user", "content": "Hello!"}]}'
Note: Due to Granite logit scaling (55.4x), use temperature ~0.01 for standard behavior, or use the included proxy script that auto-adjusts temperature and injects logit_bias for special tokens.
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC).
Apache 2.0