Huggingface.js documentation

Interface : TextGenerationStreamPrefillToken

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface : TextGenerationStreamPrefillToken

Propriétés

id

• id : number

ID de jeton du tokeniseur du modèle

Défini dans

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


logprob

• Optional logprob : number

Logprob Facultatif, car le logprob du premier jeton ne peut pas être calculé

Défini dans

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


texte

• texte : string

Texte du jeton

Défini dans

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

Update on GitHub