Models, data loaders and abstractions for language processing, powered by PyTorch
Warning: TorchText development is stopped and the 0.18 release will be the last stable release of the library.
This release is compatible with PyTorch 2.3.0 patch release. There are no new features added.
This release is compatible with PyTorch 2.2.2 patch release. There are no new features added.
This release is compatible with PyTorch 2.2.1 patch release. There are no new features added.
This release is compatible with PyTorch PyTorch 2.2.0. There are no new features added.
This is a patch release, which is compatible with PyTorch 2.1.2. There are no new features added.
This is a patch release, which is compatible with PyTorch 2.1.1. There are no new features added.
As of September 2023 we have paused active development of TorchText because our focus has shifted away from building out this library offering. We will continue to release new versions but do not anticipate any new feature development as we figure out future investments in this space.
__contains__
for Vectors class (#2144)This is a minor release, which is compatible with PyTorch 2.0.1. There are no new features added.
In this release, we add a new model architecture along with pre-trained weights, increase flexibility in our tokenizers, and improve the overall stability of the library.
GenerationUtils
Torchtext expanded its models to include both T5, Flan-T5 and DistilRoBERTa along with the corresponding pre-trained model weights. These additions represent both the smallest and largest models available in Torchtext to date as well as the first encoder/decoder model with T5. As usual, all models are Torchscriptable.
Since TorchText now has encoder/decoder models available, we prototyped a GenerationUtils
for generic decoding capabilities for encoder/decoder or decoder only models.
read_from_tar
call to load_from_tar
(#1997)overwite
typo (#2006)decode
method (#2092)This is a minor release, which is compatible with PyTorch 1.13.1. There are no new features added.