Skip to content

Commit

Permalink
Remove files
Browse files Browse the repository at this point in the history
  • Loading branch information
limarta committed Apr 30, 2024
1 parent 40483df commit 9ee1e40
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
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

0 comments on commit 9ee1e40

Please sign in to comment.