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 99 9.82%
Question Answering 60 5.95%
Sentence 47 4.66%
Text Generation 40 3.97%
Translation 31 3.08%
Retrieval 30 2.98%
Machine Translation 28 2.78%
Natural Language Understanding 21 2.08%
Sentiment Analysis 18 1.79%

Components


Component Type
BPE
Subword Segmentation

Categories