Table of Contents
2.5.1rc2

Home

  • Welcome to ⚡ Lightning Fabric
  • Install

Get started in steps

  • Basic skills
  • Intermediate skills
  • Advanced skills

Core API Reference

  • Fabric Arguments
  • Fabric Methods

Full API Reference

  • Accelerators
  • Collectives
  • Environments
  • Fabric
  • IO
  • Loggers
  • Precision
  • Strategies
  • Utilities

More

  • Examples
  • Glossary
  • How-tos
  • Style Guide
  • Overview
  • Team management
  • Production
  • Security
  • Open source
    • Overview
    • PyTorch Lightning
    • Fabric
    • Lit-GPT
    • Torchmetrics
    • Litdata
    • Lit LLaMA
    • Litserve
  • Examples
  • Glossary
  • FAQ
  • Docs >
  • Examples
Shortcuts

Examples¶

Image Classification

Train an image classifier on the MNIST dataset

basic

Transformer Language Model

A simple language model that learns to predict the next word in a sentence

basic

GAN

Train a GAN that generates realistic human faces

intermediate

Meta-Learning

Distributed training with the MAML algorithm on the Omniglot and MiniImagenet datasets

intermediate

Large Language Models

Pretrain a large language model (LLM)

advanced

Reinforcement Learning

Implementation of the Proximal Policy Optimization (PPO) algorithm with multi-GPU support

intermediate

K-Fold Cross Validation

Cross validation helps you estimate the generalization error of a model and select the best one.

intermediate

Active Learning

Coming soon

intermediate

  • Examples

To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. Read PyTorch Lightning's Privacy Policy.