MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / decode

Method decode

utils/tokenizer.py:43–44  ·  view source on GitHub ↗
(self, tokens: List[int])

Source from the content-addressed store, hash-verified

41 return self._encoding.encode(text)
42
43 def decode(self, tokens: List[int]) -> str:
44 return self._encoding.decode(tokens)
45
46
47class CharEstimationTokenizer:

Callers 15

decodeMethod · 0.45
get_blip_captionFunction · 0.45
img2base64Function · 0.45
_truncate_to_tokensMethod · 0.45
_truncate_to_tokensMethod · 0.45
_truncate_to_tokensMethod · 0.45
_truncate_to_tokensMethod · 0.45

Calls

no outgoing calls

Tested by 2

setUpClassMethod · 0.36