Download tokenization_olmo_fast.py from repetition-experiments/test: direct link, hf CLI and curl.
- Browser
- Download file 187 Bytes
-
https://huggingface.co/repetition-experiments/test/resolve/main/tokenization_olmo_fast.py
- Command line
-
hf download hf://repetition-experiments/test/tokenization_olmo_fast.py
-
curl -L -o tokenization_olmo_fast.py https://huggingface.co/repetition-experiments/test/resolve/main/tokenization_olmo_fast.py
187 Bytes
| from hf_olmo.tokenization_olmo_fast import OLMoTokenizerFast, OLMoConfig | |
| from transformers import AutoTokenizer | |
| AutoTokenizer.register(OLMoConfig, fast_tokenizer_class=OLMoTokenizerFast) |