Method TokenizeForEmbedding
- Namespace
- LMKit.Abstractions
- Assembly
- LM-Kit.NET.dll
TokenizeForEmbedding(string)
Tokenizes a passage exactly as the text embedding path does internally.
int[] TokenizeForEmbedding(string text)
Parameters
textstringThe passage text to tokenize. Cannot be null or empty.
Returns
- int[]
The token sequence the model consumes for
text.