Huggingface.js documentation

Arayüz: TextGenerationStreamPrefillToken

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Arayüz: TextGenerationStreamPrefillToken

Özellikler

id

• id: number

Modelden gelen Token ID

Tanımlandığı yer

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


logprob

• Optional logprob: number

Logprob İlk token'ın logprob'u hesaplanamadığı için isteğe bağlıdır

Tanımlandığı yer

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


metin

• metin: string

Token metni

Tanımlandığı yer

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

Update on GitHub