MCPcopy
hub / github.com/policy-gradient/GRPO-Zero / detokenize

Method detokenize

tokenizer.py:37–38  ·  view source on GitHub ↗
(self, token_ids: List[int])

Source from the content-addressed store, hash-verified

35 return self.tokenizer.encode(text)
36
37 def detokenize(self, token_ids: List[int]) -> str:
38 return self.tokenizer.decode(token_ids, skip_special_tokens=False)

Callers 1

rolloutFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected