---
title: SLM Chat with Thinking
emoji: ðŸ§
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 5.49.1
python_version: "3.12"
app_file: app.py
pinned: false
short_description: Chat with small language models that support thinking.
---
# SLM Chat with Thinking
A clean chat interface for small language models that support chain-of-thought / thinking tokens.
### Features
- Dedicated **Show Thinking** toggle – reasoning is displayed in a collapsible block above the final answer
- Automatic detection of common thinking formats (``, ``, `<|begin_of_thought|>`, etc.)
- Model search on Hugging Face Hub
- GPU acceleration via ZeroGPU (`@spaces.GPU`)
- Adjustable generation parameters
- System prompt support
### Recommended models
- `HuggingFaceTB/SmolLM2-135M-Instruct`
- `LiquidAI/LFM2.5-1.2B-Thinking`
- `Qwen/Qwen3-0.6B`
- Any model that emits `...` style tags
### Private / gated models
Add your Hugging Face token as a Space secret named `HF_TOKEN`.