Huggingface.js documentation

인터페이스: TextGenerationStreamPrefillToken

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

인터페이스: TextGenerationStreamPrefillToken

속성

id

• id: number

모델 토크나이저의 Token ID

정의 위치

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


logprob

• Optional logprob: number

Logprob 첫 번째 토큰의 logprob를 계산할 수 없으므로 선택 사항입니다

정의 위치

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


텍스트

• 텍스트: string

토큰 텍스트

정의 위치

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

Update on GitHub