Method CreateWordPiece
CreateWordPiece(string, int, bool)
WordPiece over a vocab.txt. bert-base-uncased shape; overhead 2.
public static IChunkTokenizer CreateWordPiece(string vocabFilePath, int maxSequenceLength, bool lowerCase = true)
Parameters
Returns
CreateWordPiece(Stream, int, bool)
WordPiece over a vocab.txt stream, for an embedded or asset-packed vocabulary.
public static IChunkTokenizer CreateWordPiece(Stream vocabTxt, int maxSequenceLength, bool lowerCase = true)