Huggingface.js documentation

Interfaz: TextGenerationStreamPrefillToken

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interfaz: TextGenerationStreamPrefillToken

Propiedades

id

• id: number

ID de token del tokenizador del modelo

Definido en

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


logprob

• Optional logprob: number

Logprob Opcional, ya que no se puede calcular el logprob del primer token

Definido en

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


texto

• texto: string

Texto del token

Definido en

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

Update on GitHub