dex-lang icon indicating copy to clipboard operation
dex-lang copied to clipboard

Gibbs with Gradients demo

Open duvenaud opened this issue 4 years ago • 2 comments

'Main algorithm from "Oops I Took A Gradient: Scalable Sampling for Discrete Distributions" by Will Grathwohl, Kevin Swersky, Milad Hashemi, David Duvenaud, Chris J. Maddison Arxiv Link demonstrated on an Ising model.

This one already works - the main thing that needs to be done is make the colors nicer.

duvenaud avatar Apr 13 '21 18:04 duvenaud

I'd like to reduce the size of the peace.ppm image. Checking in binary files is generally a bad practice and I'd like to avoid doing that as much as possible.

Yes, I realize this. How about if I host the image somewhere, and use the shell to download it?

Plus, are there any licensing constraints on it?

Nope, it's in the public domain. Source

duvenaud avatar Aug 24 '21 14:08 duvenaud

Downloading via the shell sounds good! Alternatively you could assume that it's in the file system and add the download instructions (+ insert them in CI). That's what we do for the tutorial IIRC.

apaszke avatar Aug 24 '21 16:08 apaszke