I'm looking to build from scratch an implementation of the wake-sleep algorithm, for unsupervised learning with neural networks. I plan on doing this in Python in order to better understand how it works. In order to facilitate my task, I was wondering if anyone could point me to an existing (open-source) implementation of this concept. I'm also looking for articles or, in general, resources that could facilitate this task.
I found the following detailed and well documented Python notebook, which uses only NumPy.
I don't know if you are looking for something in a library, but I've found this in a public Github (I've not checked deeply if it fits for you).
I hope that's what you're looking for.