tokenize

abstract fun tokenize(text: String): List<Int>

Converts a string into a list of token IDs.

Return

A list of integer token IDs.

Parameters

text

The input text.