Files
tokenizers/bindings/python
Anthony MOI 663644e041 Fix ByteLevel Decoder
The join was done after replacing bytes and building subwords, which was preventing bytes across these subwords to be merged correctly. We need to join first.
2019-11-21 16:50:25 -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 16:50:25 -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