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

Properti

id

• id: number

Token ID dari tokenizer model

Didefinisikan di

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


logprob

• Optional logprob: number

Logprob Opsional karena logprob dari token pertama tidak dapat dihitung

Didefinisikan di

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


teks

• teks: string

Token teks

Didefinisikan di

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

Update on GitHub