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