Shortcuts

torchtext

_images/torchtext_logo.png

Warning

TorchText development is stopped and the0.18release (April 2024) will be the last stable release of the library.

This library is part of thePyTorchproject. PyTorch is an open source machine learning framework.

Features described in this documentation are classified by release status:

Stable:These features will be maintained long-term and there should generally be no major performance limitations or gaps in documentation. We also expect to maintain backwards compatibility (although breaking changes can happen and notice will be given one release ahead of time).

Beta:Features are tagged as Beta because the API may change based on user feedback, because the performance needs to improve, or because coverage across operators is not yet complete. For Beta features, we are committing to seeing the feature through to the Stable classification. We are not, however, committing to backwards compatibility.

Prototype:These features are typically not available as part of binary distributions like PyPI or Conda, except sometimes behind run-time flags, and are at an early stage for feedback and testing.

Thetorchtextpackage consists of data processing utilities and popular datasets for natural language.

Getting Started

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources