Tokenizers

SentencePiece is a subword tokenizer and detokenizer for natural language processing. It performs subword segmentation, supporting the byte-pair-encoding (BPE) algorithm and unigram language model, and then converts this text into an id sequence guarantee perfect reproducibility of the normalization and subword segmentation.

Source: SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processing

Papers


Paper Code Results Date Stars

Tasks


Task Papers Share
Language Modelling 97 9.36%
Question Answering 59 5.69%
Sentence 47 4.54%
Decoder 44 4.25%
Text Generation 39 3.76%
Translation 31 2.99%
Retrieval 30 2.90%
Machine Translation 28 2.70%
Natural Language Understanding 21 2.03%

Components


Component Type
BPE
Subword Segmentation

Categories