MCPcopy Create free account
hub / github.com/ml-explore/mlx-examples / decode

Method decode

llms/speculative_decoding/decoder.py:36–37  ·  view source on GitHub ↗
(self, t: List[int])

Source from the content-addressed store, hash-verified

34 )
35
36 def decode(self, t: List[int]) -> str:
37 return self._tokenizer.decode(t)
38
39
40class SpeculativeDecoder:

Callers 3

_generateMethod · 0.45
generateMethod · 0.45
speculative_decodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected