File size: 269 Bytes
23fe031 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#
# Zhou Bo
#
""" tokenizers
"""
from .spm_tokenizer import *
from .gpt2_tokenizer import GPT2Tokenizer
from wywLM.models import BertTokenizer
__all__ = ['tokenizers']
tokenizers={
'gpt2': GPT2Tokenizer,
'spm': SPMTokenizer,
'bert': BertTokenizer
}
|