A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.
24,034
stars
772
commits
Python
primary language
Sep 1, 2025
updated
pytorch/examples is a repository showcasing examples of using PyTorch. The goal is to have curated, short, few/no dependencies high quality examples that are substantially different from each other that can be emulated in your existing work.
Additionally, a list of good examples hosted in their own repositories:
If you'd like to contribute your own example or fix a bug please make sure to take a look at CONTRIBUTING.md.
Python
83.1%
C++
11.1%
Shell
4.6%
CMake
1.2%
A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.
24,034
stars
772
commits
Python
primary language
Sep 1, 2025
updated
pytorch/examples is a repository showcasing examples of using PyTorch. The goal is to have curated, short, few/no dependencies high quality examples that are substantially different from each other that can be emulated in your existing work.
Additionally, a list of good examples hosted in their own repositories:
If you'd like to contribute your own example or fix a bug please make sure to take a look at CONTRIBUTING.md.
(top 30 of 258)
Python
83.1%
C++
11.1%
Shell
4.6%
CMake
1.2%