EvSys

CompletionSlice

Attributes

attributetokenslist[int]

The completion tokens themselves.

attributeteacher_prompt_lenint

Length of the teacher prompt in tokens (used to pull the right slice from teacher logprob arrays).

attributetruncatedbool

Functions

func__init__(self, tokens, teacher_prompt_len, truncated) -> None
paramself
paramtokenslist[int]
paramteacher_prompt_lenint
paramtruncatedbool

Returns

None

On this page