Downloads · 30 days
0
bigscience-catalogue-data-dev/byte-level-bpe-tokenizer-no-norm-250k-whitespace-and-eos-regex-alpha-v3-dedup-lines-articles
byte-level-bpe-tokenizer-no-norm-250k-whitespace-and-eos-regex-alpha-v3-dedup-lines-articles is a machine learning model from bigscience-catalogue-data-dev. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
You need a custom version of the tokenizers library to use this tokenizer.
Downloads · 30 days
0
Access
Public
Updated Mar 2, 2022
Repo size
14.5 MB
Likes
1
Trending 1
Click a slice to open those files.
.json14.5 MB · 100%
From the Hugging Face model README
You need a custom version of the tokenizers library to use this tokenizer.
To install this custom version you can:
pip install transformers
git clone https://github.com/huggingface/tokenizers.git
cd tokenizers
git checkout bigscience_fork
cd bindings/python
pip install setuptools_rust
pip install -e .
and then to load it, do:
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("bigscience-catalogue-data-dev/byte-level-bpe-tokenizer-no-norm-250k-whitespace-and-eos-regex-alpha-v3-dedup-lines-articles")