
Train a BPE model: merge the most frequent adjacent pair greedily
Source:R/sentpc_native.R
train_bpe.RdTrain a BPE model: merge the most frequent adjacent pair greedily

R/sentpc_native.R
train_bpe.RdTrain a BPE model: merge the most frequent adjacent pair greedily