Interface: TextGenerationStreamToken

Properties

id

id: number

Token ID from the model tokenizer

Defined in

HfInference.ts:232


logprob

logprob: number

Logprob

Defined in

HfInference.ts:236


special

special: boolean

Is the token a special token Can be used to ignore tokens when concatenating

Defined in

HfInference.ts:241


text

text: string

Token text

Defined in

HfInference.ts:234