Files
tokenizers/bindings/python
2019-11-21 11:55:07 -05:00
..
2019-11-21 11:55:07 -05:00
2019-11-19 19:31:37 -05:00
2019-11-01 19:42:36 -04:00
2019-11-21 11:55:07 -05:00
2019-11-19 19:38:57 -05:00

Python Bindings

# This expect the rust chain to be nightly
rustup update
rustup default nightly

# In this folder:
python3 -m venv .env
source .env/bin/activate
pip install maturin
maturin develop --release

# Then test:
pip install transformers

python example.py --file <FILE_PATH>
# or
python example.py