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

معرّف الرمز من مُجزِّئ النموذج

معرّف في

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


logprob

• logprob: number

احتمالية السجل

معرّف في

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


خاص

• special: boolean

هل الرمز (token) هو رمز خاص يمكن استخدامه لتجاهل الرموز عند دمجها

معرّف في

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


نص

• نص: string

نص الرمز

معرّف في

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

Update on GitHub