automate-test / tokenization_olmo_fast.py
cbrownpinilla's picture
Upload folder using huggingface_hub
c98e54a verified
raw
history blame contribute delete
187 Bytes
from hf_olmo.tokenization_olmo_fast import OLMoTokenizerFast, OLMoConfig
from transformers import AutoTokenizer
AutoTokenizer.register(OLMoConfig, fast_tokenizer_class=OLMoTokenizerFast)