Files
enginex-mlu370-any2any/transformers/utils/test_module/custom_tokenization_fast.py

9 lines
193 B
Python
Raw Permalink Normal View History

2025-10-09 16:47:16 +08:00
from transformers import BertTokenizerFast
from .custom_tokenization import CustomTokenizer
class CustomTokenizerFast(BertTokenizerFast):
slow_tokenizer_class = CustomTokenizer
pass