anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Continues English text with a tiny 65M-parameter decoder-only model trained on 80B tokens. For learners and researchers who want a small transformers model to study, compare or test code against.
Kiyo-65M is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U transformers safetensors torch
A tiny English language model with 65M parameters, the smallest of the Kiyo family. It is a base model, so it continues the text you give it and does not follow instructions. It was trained on 80B tokens starting from random weights, using web text, code and math, and it follows the SmolLM2 architecture.
People who want a small, fully described model to learn from, compare against, or use as a light test target.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Education | Students of language models | Study a small decoder-only model from its layer and head counts | Read the model table, then run the sample script |
| Research | Small-model researchers | Use it as a baseline at the 50M to 65M scale | Compare its ARC-Easy score with other base models |
| Software | Developers testing pipelines | Test generation code against a model of about 130 MB | Check a generate loop before switching to a larger model |
You can skip it if you need a chat assistant, instruction following, long documents or reliable facts.
It runs in Python with the transformers library, on Windows, macOS or Linux.
| Use case | Who | What they get back |
|---|---|---|
| Text continuation | Learners | The start of a sentence continued by up to 64 new tokens in the card's sample |
| Baseline comparison | Researchers | Zero-shot scores on four benchmarks to measure against |
| Pipeline testing | Developers | A small checkpoint to run code against before using a bigger model |
Install three Python packages, then run the card's short script. The script loads the model by its ID.
pip install -U transformers safetensors torch
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "DedeProGames/Kiyo-65M"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16 if torch.cuda.is_available() and torch.cuda.is_bf16_supported() else torch.float16,
).cuda().eval()
prompt = "The meaning of life is "
input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(model.device)
with torch.no_grad():
output = model.generate(
input_ids=input_ids,
max_new_tokens=64,
do_sample=False,
repetition_penalty=1.1,
pad_token_id=tokenizer.eos_token_id,
eos_token_id=tokenizer.eos_token_id,
)
print(tokenizer.decode(output[0], skip_special_tokens=True))pip install -U huggingface_hub hf download DedeProGames/Kiyo-65M
Change the prompt line to the start of a text and run the script again. The model writes a continuation of that start, so phrase your prompt as an opening and not as a question.
| Tool | What it does |
|---|---|
| AutoTokenizer | Turns your text into token IDs and back into text |
| AutoModelForCausalLM | Loads the model so it can continue text |
| generate | Continues the prompt, here by up to 64 new tokens without sampling |
With the prompt The meaning of life is followed by a space, the script prints that opening plus up to 64 more tokens. Expect a fluent continuation, not a checked answer.
A language model predicts what text comes next, and this one is small enough to read about in full. A first small try is to run the card's script as it is, then change the prompt and compare the continuations.
For experts, it is a Llama-style decoder with 15 layers, hidden size 512, 8 attention heads and 4 KV heads, so grouped query attention. It also uses RMSNorm, SwiGLU, RoPE with theta 10,000, tied embeddings and the 49,152-token SmolLM2 vocabulary. Training ran 152,587 optimizer steps of 524,288 tokens each, with a warmup-stable-decay schedule and a peak learning rate of 2.0e-3. The data mix is 45.0% FineWeb-Edu, 30.0% DCLM-Baseline, 17.5% Stack-v3-train code and 7.5% FineMath. The trade is size against reasoning, since harder items sit near chance.
The card compares it with other small base models on four zero-shot benchmarks.
Continues English text with a tiny 65M-parameter decoder-only model trained on 80B tokens. For learners and researchers who want a small transformers model to study, compare or test code against.
Made by DedeProGames on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: A tiny English language model with 65M parameters, the smallest of the Kiyo family. It is a base model, so it continues the text you give it and does not follow instructions. It was trained on 80B tokens starting from random weights, using web text, code and math, and it follows the SmolLM2 architecture.
Who it suits: People who want a small, fully described model to learn from, compare against, or use as a light test target.
Industry | Who uses it | How they use it | Example
Education | Students of language models | Study a small decoder-only model from its layer and head counts | Read the model table, then run the sample script
Research | Small-model researchers | Use it as a baseline at the 50M to 65M scale | Compare its ARC-Easy score with other base models
Software | Developers testing pipelines | Test generation code against a model of about 130 MB | Check a generate loop before switching to a larger model
You can skip it if you need a chat assistant, instruction following, long documents or reliable facts.
Where to use it: It runs in Python with the transformers library, on Windows, macOS or Linux.
Use case | Who | What they get back
Text continuation | Learners | The start of a sentence continued by up to 64 new tokens in the card's sample
Baseline comparison | Researchers | Zero-shot scores on four benchmarks to measure against
Pipeline testing | Developers | A small checkpoint to run code against before using a bigger model
How to set it up: Install three Python packages, then run the card's short script. The script loads the model by its ID.
pip install -U transformers safetensors torch
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "DedeProGames/Kiyo-65M"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16 if torch.cuda.is_available() and torch.cuda.is_bf16_supported() else torch.float16,
).cuda().eval()
prompt = "The meaning of life is "
input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(model.device)
with torch.no_grad():
output = model.generate(
input_ids=input_ids,
max_new_tokens=64,
do_sample=False,
repetition_penalty=1.1,
pad_token_id=tokenizer.eos_token_id,
eos_token_id=tokenizer.eos_token_id,
)
print(tokenizer.decode(output[0], skip_special_tokens=True))
pip install -U huggingface_hub
hf download DedeProGames/Kiyo-65M
How to use it: Change the prompt line to the start of a text and run the script again. The model writes a continuation of that start, so phrase your prompt as an opening and not as a question.
Tool | What it does
AutoTokenizer | Turns your text into token IDs and back into text
AutoModelForCausalLM | Loads the model so it can continue text
generate | Continues the prompt, here by up to 64 new tokens without sampling
Example: With the prompt The meaning of life is followed by a space, the script prints that opening plus up to 64 more tokens. Expect a fluent continuation, not a checked answer.
For newcomers and experts: A language model predicts what text comes next, and this one is small enough to read about in full. A first small try is to run the card's script as it is, then change the prompt and compare the continuations.
For experts, it is a Llama-style decoder with 15 layers, hidden size 512, 8 attention heads and 4 KV heads, so grouped query attention. It also uses RMSNorm, SwiGLU, RoPE with theta 10,000, tied embeddings and the 49,152-token SmolLM2 vocabulary. Training ran 152,587 optimizer steps of 524,288 tokens each, with a warmup-stable-decay schedule and a peak learning rate of 2.0e-3. The data mix is 45.0% FineWeb-Edu, 30.0% DCLM-Baseline, 17.5% Stack-v3-train code and 7.5% FineMath. The trade is size against reasoning, since harder items sit near chance.
Tokenize your prompt
Run the 65M decoder
Pick the next token
Repeat up to the limit
Decode back to text
Good to know: The card compares it with other small base models on four zero-shot benchmarks.
Title: Kiyo-65M zero-shot accuracy
ARC-Easy: 46.51%
PIQA: 62.30%
ARC-Challenge: 23.29%
HellaSwag: 31.98%
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download DedeProGames/Kiyo-65M
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 7 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Kiyo-65M This page | 1,179 | 5 | 65M | apache-2.0 | |
| RWKV7-G1 GooseOneShares causal-lm · pytorch · text-generation | 9,911 | 253 | — | apache-2.0 | |
| ALLaM-7B-Instruct-previewShares llama · pytorch · text-generation | 93,626 | 207 | 7B | apache-2.0 | |
| GPT-X3-150MShares language-model · text-generation · transformers | 3,000 | 104 | 149M | apache-2.0 | |
| Maple-PreviewShares causal-lm · text-generation · conversational | 1,867 | 433 | 20.2B | mit | |
| Meta-Llama-3.1-8B-Instruct-GGUFShares llama · pytorch · text-generation | 322,920 | 433 | 8B | llama3.1 |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.