This gallery of examples uses luz to train and validate a range of common deep learning architectures. The gallery also demonstrates basic and advanced usage of luz.
Binary classification
basicDemonstrates using pre-trained models to build a binary classification model.
See codeAutoencoder
basicBuilds an autoencoder for the MNIST dataset. Demonstrates overwriting the predict method
See codeVirtual batch size
advancedShowcases how to create a custom fully customized training step
See codeUNET implementation
intermediateImplements a UNET model to separate the background of images of cats and dogs.
See codeTraining a causal language model from scratch
advancedImplements datasets and trains a causal language model from scratch using R source code.
See code