Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Excited to share Penzai, a JAX research toolkit from Google DeepMind for building, editing, and visualizing neural networks! Penzai makes it easy to see model internals and lets you inject custom logic anywhere. Check it out on GitHub:

338,874 Aufrufe • vor 2 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Daniel Johnson
Daniel Johnsonvor 2 Jahren

Penzai integrates seamlessly with @GoogleColab and the JAX ecosystem. It represents models as legible, editable data structures, to help researchers understand and modify them after they are trained. Built with support from @DougalMaclaurin, @dtarlow2, and @hugo_larochelle!

Profilbild von Daniel Johnson
Daniel Johnsonvor 2 Jahren

Want to get started? Penzai's documentation ( includes guided tutorials that show how to visualize, analyze, and fine-tune the Gemma models in Colab. Interpreting attention heads: Low-rank finetuning:

Profilbild von Daniel Johnson
Daniel Johnsonvor 2 Jahren

Penzai's goal is to reduce the barrier of entry for research on understanding pretrained neural networks and steering their behaviors, and to make it easier for researchers to quickly try out new ideas. I'm excited to see what the community can do with it!

Profilbild von main
mainvor 2 Jahren

@GoogleDeepMind god i wish i used jax

Profilbild von Alex Yanko 🇺🇦
Alex Yanko 🇺🇦vor 2 Jahren

@GoogleDeepMind Is there something similar for @PyTorch ?

Profilbild von Tim Zaman
Tim Zamanvor 2 Jahren

@froystig @GoogleDeepMind Wow this is beautiful!

Profilbild von Garrett of DeepwriterAI
Garrett of DeepwriterAIvor 2 Jahren

@GoogleDeepMind Dang, I need more hours in the day to check this out. Amazing work.

Profilbild von Kale-ab Tessera
Kale-ab Tesseravor 2 Jahren

@GoogleDeepMind Looks really cool! Qq, can you port existing flax models weights to this, without the initial model being written in penzai.nn?

Profilbild von Daniel Johnson
Daniel Johnsonvor 2 Jahren

@GoogleDeepMind Flax models are partially supported, but they are harder to visualize due to how Flax represents submodules. But you can write a Penzai version that uses the same parameters. See the "Gemma from Scratch" tutorial for more information on how to port models from Flax to Penzai!

Profilbild von Erin Grant
Erin Grantvor 2 Jahren

@GoogleDeepMind So cool!

Ähnliche Videos