MCPcopy Create free account
hub / github.com/MLSysU/TD-Pipe / get_token_ids

Method get_token_ids

TD_Pipe/sequence.py:181–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

179 return self.data.get_output_len()
180
181 def get_token_ids(self) -> List[int]:
182 return self.data.get_token_ids()
183
184 def get_last_token_id(self) -> int:
185 return self.data.get_last_token_id()

Callers 2

_decode_sequenceMethod · 0.45
_prepare_promptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected