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