• id: number
Token ID from the model tokenizer
tasks/nlp/textGenerationStream.ts:7
• logprob: number
Logprob
tasks/nlp/textGenerationStream.ts:11
• special: boolean
Is the token a special token Can be used to ignore tokens when concatenating
tasks/nlp/textGenerationStream.ts:16
• text: string
Token text