tokenizer

class ConvBertTokenizer(vocab_file, do_lower_case=True, do_basic_tokenize=True, never_split=None, unk_token='[UNK]', sep_token='[SEP]', pad_token='[PAD]', cls_token='[CLS]', mask_token='[MASK]', tokenize_chinese_chars=True, strip_accents=None, **kwargs)[源代码]

基类:paddlenlp.transformers.electra.tokenizer.ElectraTokenizer

Construct a ConvBERT tokenizer. ConvBertTokenizer is identical to ElectraTokenizer. For more information regarding those methods, please refer to this superclass.