MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / decode_list

Method decode_list

lm_inference.py:90–91  ·  view source on GitHub ↗
(self, tokens: list[int])

Source from the content-addressed store, hash-verified

88 return self.vocab.decode(ids)
89
90 def decode_list(self, tokens: list[int]) -> list[str]:
91 return [self.decode([tok]) for tok in tokens]
92
93 def encode(self, inputs_str: str) -> list[int]:
94 return self.vocab.encode(inputs_str)

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.95

Tested by

no test coverage detected