How to use mjbommar/magic-bert-tokenizer-8k with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mjbommar/magic-bert-tokenizer-8k", dtype="auto")