/
sentencepiece
sentencepiece
GitHub - google/sentencepiece: Unsupervised text tokenizer for Neural Network-based text generation.
Steps to build sentencepiece library and python package is given below.
git clone https://github.com/google/sentencepiece.git
cd sentencepiece
mkdir build
cd build
set CURRENT_PATH=%~dp0
set LIBRARY_PATH=%CURRENT_PATH%build\root
cmake .. -A ARM64 -DSPM_BUILD_TEST=ON -DSPM_ENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=%LIBRARY_PATH%
cmake --build . --config Release --target install
cd ../python
python setup.py bdist_wheel
, multiple selections available,
Related content
Pre-release Python binary wheels and dependencies
Pre-release Python binary wheels and dependencies
More like this
Shapely and PyGEOS
Shapely and PyGEOS
More like this
Pillow
Pillow
More like this
CMake
CMake
More like this
PyWin32
PyWin32
More like this
Pyproj
Pyproj
More like this