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