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

Method decoder_start_id

llms/speculative_decoding/decoder.py:22–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20
21 @property
22 def decoder_start_id(self) -> int:
23 return self._decoder_start_id
24
25 def encode(self, s: str) -> mx.array:
26 return mx.array(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected