r/coolgithubprojects • • 4d ago

What if you could actually see inside a Transformer? I built TokenPrint — an interactive 3D LLM debugger

LLMs shouldn't have to remain black boxes.

Meet TokenPrint an open-source 3D visualization and debugging platform that lets you explore what's happening inside transformer models during real execution.

Explore attention heads and hidden states ,Visualize Logit Lens and residual streams, Experiment with head ablation and activation patching ,Explore model architectures and GGUF support, Hosted inference backend powered by Hugging Face Spaces

Built with Next.js, Three.js, React Three Fiber, PyTorch, Transformers and FastAPI.

Check it out:

GitHub: https://github.com/Sudharsanselvaraj/Token-Print

Live Demo: https://tokenprint.in/

Hugging Face Backend: https://huggingface.co/spaces/sudharsan112321/tokenprint-backend

I'm building TokenPrint in the open. Feedback, contributions, and new ideas are very welcome.

⭐ Like what we're building? Give the GitHub repo a star — it genuinely helps the project reach more developers!

Let's make transformer internals easier to explore.

2 Upvotes

0 comments sorted by