Tutorial: How to Code and Understand DeepMind’s Synthetic Gradients (in Python)

TLDR: In this blogpost, we’re going to prototype (from scratch) and learn the intuitions behind DeepMind’s recently proposed Decoupled Neural Interfaces Using Synthetic Gradients paper. Read more


Be Careful with Python’s New-Style String Format

This should have been obvious to me for a longer time, but until earlier today I did not really realize the severity of the issues caused by str.format on untrusted user input. It came up as a way to bypass the Jinja2 Sandbox in a way that would permit r...

Read more »