examples
by
pytorch

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

View on GitHub ↗

Summary Information

Updated 34 minutes ago
Added to GitGenius on January 31st, 2026
Created on August 24th, 2016
Open Issues & Pull Requests: 251 (+0)
Number of forks: 9,829
Total Stargazers: 23,950 (+1)
Total Subscribers: 392 (+0)

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.

Repository Insights (GitGenius)

Median issue/PR response: 176.7 days
Mean response time: 618.4 days
90th percentile: 1916.8 days
Tracked items: 51

Most active contributors

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.

According to GitGenius activity tracking, the repository has experienced moderate engagement with a median issue and pull request response latency of approximately 4242 hours and a mean latency of 14841 hours across 51 tracked items. The most frequently applied issue labels are good first issue with 8 occurrences, distributed with 4 occurrences, and bug with 1 occurrence, indicating that the repository actively encourages new contributors while maintaining focus on distributed computing examples. The most active contributors tracked by GitGenius are msaroufim with 15 events, followed by dannypike and doshi-kevin each with 6 events.

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.

examples
by
pytorchpytorch/examples

Repository Details

Fetching additional details & charts...