Downloads · 30 days
19
21% of all-time downloads
junzzhu/atomllama-33K-5x5-DigitMesh
atomllama-33K-5x5-DigitMesh is a text generation model from junzzhu. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A minimal 33K parameter language model for 5×5 digit mesh recognition, built on the LlamaForCausalLM architecture.
Downloads · 30 days
19
21% of all-time downloads
All-time downloads
91
Public
Parameters
33.8K
137 KB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors137 KB · 95%
From the Hugging Face model README
A minimal 33K parameter language model for 5×5 digit mesh recognition, built on the LlamaForCausalLM architecture.
AtomLlama-33K-5x5-DigitMesh is an ultra-lightweight causal language model designed for efficient digit recognition from 5×5 binary mesh patterns. With only 33,000 parameters, this "atom-sized" model demonstrates effective pattern recognition with minimal computational resources.
python -m vllm.entrypoints.openai.api_server \
--model junzzhu/atomllama-33K-5x5-DigitMesh \
--max-model-len 32
Example: Testing Digit 0
curl http://localhost:8000/v1/completions \
-H 'Content-Type: application/json' \
-d '{
"model": "junzzhu/atomllama-33K-5x5-DigitMesh",
"prompt": "1 1 1 1 1 1 0 0 0 1 1 0 0 0 1 1 0 0 0 1 1 1 1 1 1 <SEP>",
"max_tokens": 1,
"temperature": 0
}'
Expected output: D0
Test Patterns for Other Digits
Replace the prompt value in the curl command above with these patterns:
"0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 <SEP>" → Expected: D1"1 1 1 1 0 0 0 0 1 1 0 1 1 1 0 1 1 0 0 0 1 1 1 1 1 <SEP>" → Expected: D2"1 1 1 1 0 0 0 0 1 1 0 1 1 1 0 0 0 0 1 1 1 1 1 1 0 <SEP>" → Expected: D3"1 0 0 0 1 1 0 0 0 1 1 1 1 1 1 0 0 0 0 1 0 0 0 0 1 <SEP>" → Expected: D4"1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 <SEP>" → Expected: D5"1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 <SEP>" → Expected: D6"1 1 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 <SEP>" → Expected: D7"0 1 1 1 0 1 0 0 0 1 0 1 1 1 0 1 0 0 0 1 0 1 1 1 0 <SEP>" → Expected: D8"1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 <SEP>" → Expected: D9The model expects 25 space-separated binary values (0 or 1) representing a 5×5 grid, followed by <SEP>:
[5 values] [5 values] [5 values] [5 values] [5 values] <SEP>
Apache-2.0
@misc{atomllama-33k-digitMesh,
title={AtomLlama-33K-5x5-DigitMesh: A Minimal Parameter Model for Digit Recognition},
author={Jun Zhu},
year={2026}
howpublished={\url{https://huggingface.co/junzzhu/atomllama-33K-5x5-DigitMesh/}}
}