get Token Count
Gets the token count for a text.
Return
The number of tokens
Parameters
text
The text to tokenize
Throws
if the operation fails or model not loaded
Gets the token count for a text.
The number of tokens
The text to tokenize
if the operation fails or model not loaded