Forest is a community repository of 196 generative models written in probabilistic programming languages, mainly Church and WebPPL, maintained as a teaching resource and archive.

Most models run right here in your browser: open a model below, edit the code box if you like, and press run.

Contribute a model Machine-readable index

runs in your browser links to external code static code listing (not runnable)

Concept Learning 6
Reasoning about Reasoning 36
Probabilistic Language Understanding 67
Counterfactuals and Explanations 14
Machine Learning 8
Nonparametric Models 15
Bayesian Data Analysis 3
Undirected Constraints 3
Inverse Dynamics 5
PPAML Challenge Problems 8
Miscellaneous 31
Add Model