torchtext · PyPI
https://pypi.org/project/torchtext15.12.2021 · pip install sacremoses For torchtext 0.5 and below, sentencepiece: conda install -c powerai sentencepiece Building from source. To build torchtext from source, you need git, CMake and C++11 compiler such as g++.: