{"library":"torchtext","type":"library","category":null,"description":"TorchText is a Python library providing text utilities, models, transforms, and datasets for PyTorch. As of version 0.18.0, released in April 2024, active development on new features has stopped, and it is considered the last stable release, primarily focusing on compatibility with PyTorch 2.3.0 and subsequent patch releases.","language":"python","status":"maintenance","version":"0.18.0","tags":["pytorch","nlp","text processing","deep learning","datasets","embeddings","data preprocessing"],"last_verified":"Fri May 22","install":[{"cmd":"pip install torchtext","imports":["from torchtext.data.utils import get_tokenizer","from torchtext.vocab import build_vocab_from_iterator","from torchtext.vocab import Vocab","from torchtext.datasets import AG_NEWS","from torchtext import transforms","from torchtext import models","from torchtext.legacy import data as legacy_data"]}],"homepage":null,"github":"https://github.com/pytorch/text","docs":null,"changelog":null,"pypi":"https://pypi.org/project/torchtext/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":90,"avg_install_s":69.9,"avg_import_s":6.54,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/torchtext/compatibility"}}