Huggingface.js documentation

インターフェース: TextGenerationStreamToken

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

インターフェース: TextGenerationStreamToken

プロパティ

id

• id: number

モデルのトークナイザーからのトークンID

定義場所

inference/src/tasks/nlp/textGenerationStream.ts:9


logprob

• logprob: number

Logprob

定義場所

inference/src/tasks/nlp/textGenerationStream.ts:13


special

• special: boolean

トークンが特殊トークンかどうか concatenate 時にトークンを無視するために使用できます

定義場所

inference/src/tasks/nlp/textGenerationStream.ts:18


テキスト

• テキスト: string

トークンテキスト

定義場所

inference/src/tasks/nlp/textGenerationStream.ts:11

Update on GitHub