GlassNet math1
a mini-model for two-digit addition
2 min read
GlassNet math1 is a tiny arithmetic model with 9,084 parameters, trained from scratch on a custom engine without using external weights or third-party code. It solves the task of two-digit addition by writing intermediate calculations (digits and carries) as tokens before the final answer. The model is designed to demonstrate transparent computations on an extremely small number of parameters and is available in safetensors, GGUF, and JSON formats for browser applications.
Key features
- 9,084 parameters: ultra-compact size; the model is not a language model and works only with specific numbers.
- Step-by-step output: records the solution process (like column addition) before giving the result, eliminating post-hoc hallucinations.
- 100% accuracy: tested on 300 test tasks that the model never saw during training.
- Custom engine: training took place without using standard deep learning libraries.
What you can do
- Browser integration: run the model in a client-side application using a JSON weights file.
- Architecture study: explore the operation of the custom engine and the principles of step-by-step output on ultra-small models.
- Emulation on low-spec devices: implement arithmetic inference in lightweight mobile or embedded solutions.
Example
The model accepts two numbers as input and generates a step-by-step addition trace from the least significant digit with carries, concluding the process by providing the final answer.
Read more
DetailsParameters: 9,084
Accuracy on holdout set: 100.0% (300 tasks)
Context: 15 tokens, vocabulary: 23 tokens
License: MIT










Comments