← all repositories

pytorch/examples

Official PyTorch repository with curated examples covering vision, NLP, reinforcement learning, and generative models.

examples
Velocity · 7d
+6.7
★ / day
Trend
steady
star history

This repository contains high-quality, minimal-dependency examples demonstrating how to use PyTorch for various machine learning tasks. Examples cover image classification, language modeling with RNNs and transformers, generative adversarial networks, variational autoencoders, neural style transfer, reinforcement learning with actor-critic methods, distributed training, and the C++ frontend. Each example is designed to be short and emulated in existing projects.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.