Huggingface.js documentation

Arayüz: TextGenerationStreamToken

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Arayüz: TextGenerationStreamToken

Özellikler

id

• id: number

Modelden gelen Token ID

Tanımlandığı yer

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


logprob

• logprob: number

Logprob

Tanımlandığı yer

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


özel

• özel: boolean

Token özel bir token mı Birleştirme sırasında tokenları yok saymak için kullanılabilir

Tanımlandığı yer

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


metin

• metin: string

Token metni

Tanımlandığı yer

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

Update on GitHub