pytorch/examples

A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 21 minutes ago
Added to GitGenius on January 31st, 2026
Created on August 24th, 2016
Open Issues & Pull Requests: 252 (+0)
Number of forks: 9,824
Total Stargazers: 24,013 (+0)
Total Subscribers: 391 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 282.8 days
Mean response time: 711.8 days
90th percentile: 1918.9 days
Tracked items: 44

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 98% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 0% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 64
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,195 days
Stale 30+ days: 64
Stale 90+ days: 64

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • good first issue (16)
  • distributed (7)
  • bug (4)
  • help wanted (4)
  • triaged (4)
  • vision (4)
  • question (3)
  • enhancement (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

The pytorch/examples repository serves as an official collection of curated, high-quality code examples demonstrating PyTorch functionality across multiple domains including computer vision, natural language processing, reinforcement learning, and generative models. The repository is intentionally designed to contain short examples with minimal dependencies that showcase substantially different use cases, making them suitable for developers to emulate in their own projects.

The repository hosts a diverse range of model implementations and training scripts. Computer vision examples include image classification on MNIST using convolutional neural networks, ImageNet classifier training with popular architectures, generative adversarial networks implemented via DCGAN, variational autoencoders, super-resolution using sub-pixel convolution, and neural style transfer. Natural language processing examples cover word-level language modeling with RNNs and Transformers, natural language inference using GloVe vectors and LSTMs with torchtext, and language translation using Transformer architectures. Reinforcement learning examples demonstrate actor-critic methods and REINFORCE algorithms applied to OpenAI gym environments, including a CartPole balancing task. Additional examples include time sequence prediction using LSTMs, Hogwild distributed training across multiple processes, PyTorch module transformations using the fx framework, and illustrations of the C++ frontend.

The repository explicitly distinguishes itself from related PyTorch resources by directing users to separate repositories for tutorials, documentation changes, model hubs, production recipes, and community support. This focused scope allows pytorch/examples to maintain its specific purpose as a collection of standalone, reproducible examples rather than attempting to serve as a comprehensive learning platform or production deployment guide. The repository is classified across multiple domains including deep learning, machine learning, neural networks, code examples, model implementations, training scripts, computer vision, natural language processing, and generative adversarial networks, reflecting the breadth of its example coverage.