Spaces:
Running on Zero
Running on Zero
| title: Arithmetic-SLM | |
| emoji: 🧮 | |
| colorFrom: green | |
| colorTo: pink | |
| sdk: gradio | |
| sdk_version: 5.44.1 | |
| app_file: app.py | |
| short_description: Tiny 31.7M SLM that solves arithmetic expressions | |
| python_version: "3.12" | |
| startup_duration_timeout: 30m | |
| # Arithmetic-SLM | |
| An interactive demo for [WhirlwindAI/Arithmetic-SLM](https://huggingface.co/WhirlwindAI/Arithmetic-SLM), | |
| a tiny (31.7M parameter) specialized language model that completes arithmetic | |
| expressions token by token. It handles operator precedence, parentheses, and | |
| decimals. | |
| Inference is ported 1:1 from the model repo's `inference.py` reference | |
| implementation (custom manual sampling loop with the pure-torch attention | |
| backend), running on ZeroGPU. | |