google-deepmind/penzai
A JAX library for building, editing, and visualizing neural networks as legible functional pytree data structures.

Velocity · 7d
+2.4
★ / day
Trend
→steady
star history
Penzai provides tools for working with neural networks after training, supporting tasks like model surgery, ablation studies, and internal activation inspection. It includes an interactive tree pretty-printer called Treescope for visualizing deeply-nested JAX pytrees and arrays. The library offers pytree manipulation utilities and a named axis system for flexible JAX programming.