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

Method encode

utils/tokenizer.py:13–13  ·  view source on GitHub ↗
(self, text: str)

Source from the content-addressed store, hash-verified

11class TokenizerProtocol(Protocol):
12 """Tokenizer protocol."""
13 def encode(self, text: str) -> List[int]: ...
14 def decode(self, tokens: List[int]) -> str: ...
15
16

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected