Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Refactoring #526

Merged
merged 20 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove files
  • Loading branch information
limarta committed Apr 30, 2024
commit 9ee1e4049518a7f57103f39f4b04263d4cb62ec7
19 changes: 0 additions & 19 deletions docs/src/tutorials/languages/static_dsl.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/src/tutorials/vi.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@
Variational inference involves optimizing the parameters of a variational family to maximize a lower bound on the marginal likelihood called the ELBO.
In Gen, variational families are represented as generative functions, and variational inference typically involves optimizing the trainable parameters of generative functions.

Let's create a generative model representing a joint set of coins.

Now let's fit a mean field approximation to the coins:

```@example vi_tutorial
@gen function independent_coins()

end
```

## Reparametrization trick

To use the reparametrization trick to reduce the variance of gradient estimators, users currently need to write two versions of their variational family, one that is reparametrized and one that is not.
Expand Down
Loading