CompletionSlice
Attributes
attributetokenslist[int]The completion tokens themselves.
attributeteacher_prompt_lenintLength of the teacher prompt in tokens (used to pull the right slice from teacher logprob arrays).
attributetruncatedboolFunctions
func__init__(self, tokens, teacher_prompt_len, truncated) -> Noneparamselfparamtokenslist[int]paramteacher_prompt_lenintparamtruncatedboolReturns
None