Tiny Add2 LLM 10MB

This is a tiny addition-only model package. It is not a real general-purpose LLM like Llama/GPT. It is made for one job only:

add exactly 2 non-negative numbers.

Example:

python infer.py "12 + 30"
# 42

What is included

  • model/add2_model.bin โ€” 10 MB model file
  • model.py โ€” model loader
  • infer.py โ€” one-shot addition answer
  • chat.py โ€” simple chat mode
  • build_model.py โ€” rebuild the 10 MB model file
  • test_model.py โ€” quick tests

Limit

Default model supports numbers from 0 to 2199.

Valid inputs:

12 + 30
add 15 and 7
100 plus 55

Invalid inputs:

hello
12 + 30 + 5
-1 + 5
99999 + 1

Run on PC

pip install -r requirements.txt
python infer.py "123 + 456"
python chat.py

Rebuild model

python build_model.py --max-number 2199 --target-mb 10 --out model/add2_model.bin

Hinglish note

Bhai, ye ek chhota addition-only mini model hai. Ye chatbot jaisa general answer nahi dega. Sirf 2 number add karega.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support