Huggingface.js documentation

الواجهة: TextGenerationStreamPrefillToken

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

الواجهة: TextGenerationStreamPrefillToken

الخصائص

id

• id: number

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

معرّف في

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


logprob

• Optional logprob: number

Logprob اختياري لأن logprob للرمز الأول لا يمكن حسابه

معرّف في

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


نص

• نص: string

نص الرمز

معرّف في

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

Update on GitHub