PolyAI/banking77
Updated • 8.05k • 70
This is a Variational Autoencoder (VAE) trained on the PolyAI/banking77 dataset.
The encoder maps the input to a latent space distribution.
encoder = nn.Sequential(
nn.Linear(input_dim, hidden_dim),
nn.ReLU()
)
mu = nn.Linear(hidden_dim, latent_dim)
logvar = nn.Linear(hidden_dim, latent_dim)
The decoder reconstructs the input from a sample of the latent space.
decoder = nn.Sequential(
nn.Linear(latent_dim, hidden_dim),
nn.ReLU(),
nn.Linear(hidden_dim, input_dim)
)
The model was trained and evaluated using the following metrics: