Table of Contents
2.5.0

Home

  • Lightning in 15 minutes
  • Install
  • 2.0 Upgrade Guide

Level Up

  • Basic skills
  • Intermediate skills
  • Advanced skills
  • Expert skills

Core API

  • LightningModule
  • Trainer

Optional API

  • accelerators
  • callbacks
  • cli
  • core
  • loggers
  • profiler
  • trainer
  • strategies
  • tuner
  • utilities

More

  • Community
  • Glossary
  • How-to Guides
  • Overview
  • Team management
  • Production
  • Security
  • Open source
    • Overview
    • PyTorch Lightning
    • Fabric
    • Lit-GPT
    • Torchmetrics
    • Litdata
    • Lit LLaMA
    • Litserve
  • Examples
  • Glossary
  • FAQ
  • Docs >
  • Glossary >
  • Build a Model
Shortcuts

Build a ModelΒΆ

1: Train a model

Build a model to learn the basic ideas of Lightning

basic

2: Validate and test a model

Add a validation and test data split to avoid overfitting.

basic

3: Supercharge training

Enable state-of-the-art training techniques with the Trainer features.

intermediate

LightningModule API

Dig into LightningModule API in depth

Trainer API

Dig into Trainer API in depth

  • Build a Model

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.