I built a chatbot with DeepSeek-R1-Distill-Qwen-1.5B to try a downloadable reasoning model. The interface shows its intermediate output separately from the final response.
Try the Hugging Face demo or read the source.
Showing the intermediate output
The model produced reasoning text before its answer, so I displayed it instead of discarding it.
Asked about climate change in Malaysia, it gave a structured response that included the Andaman and Nicobar Islands and a “Ch bamboo” initiative I had never heard of. It sounded convincing despite those mistakes.
The intermediate text helped me inspect responses and compare prompts. It still needed fact-checking.
Hosting the experiment
I used Gradio on a basic Hugging Face Spaces instance with 2 vCPUs and 16 GB RAM, so the demo can be slow to respond.
The small model kept things manageable: I could download it, read the model card, and change the interface without a paid inference API.
Model details and published results are on the official model card; hosting is in the Spaces documentation.