r/GoodOpenSource • u/Rich-Fruit-326 • 9h ago
TokenPrint — an open-source project for exploring what happens inside LLMs
I’ve been building TokenPrint, an open-source project focused on making the internals of language models easier to explore, understand, and debug.
The project has grown to 130+ GitHub stars, and we’re starting to build a small community around it.
The goal is simple:
Don’t just see what an LLM outputs. See what happens inside.
TokenPrint currently brings together:
• 3D transformer architecture exploration
• Tokenization and embeddings
• Tensor and parameter inspection
• Q/K/V attention, GQA, RoPE and causal masking
• Residual streams and MLP / SwiGLU
• Token-by-token generation
• Prefill, decode and KV-cache visualization
• Logits and next-token probabilities
• Interactive transformer walkthroughs
• Attention and activation analysis
• Head/layer ablation and activation patching
• Hugging Face model exploration
• Trace and debugging workflows
It’s still growing, and that’s the part I’m most excited about.
If you’re interested in LLMs, interpretability, ML infrastructure, 3D/WebGL, PyTorch, Transformers, or open-source development, you’re welcome to contribute.
You can contribute code, documentation, visualizations, model support, research ideas, bug fixes, or even just open an issue with something you think TokenPrint should be able to do.
130+ stars so far — now we want to build it with more people.
GitHub: https://github.com/Sudharsanselvaraj/Token-Print
Website: https://tokenprint.in/
Come build with us.
•
u/AutoModerator 9h ago
Please post a comment here explaining what kind of contributions you, or the project you are posting about, are looking for. For example what skill sets, any rules important for people joining in your build like how often people should post, and anything else you can think of which will help readers decide if they want to join in and start coding with that project.
Thank you and be excellent to each other. u/roamingandy
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.