MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / encode

Method encode

tests/test-tokenizer-random.py:121–122  ·  view source on GitHub ↗
(self, text: str)

Source from the content-addressed store, hash-verified

119class Tokenizer:
120
121 def encode(self, text: str) -> list[int]:
122 raise NotImplementedError
123
124 def decode(self, ids: list[int]) -> str:
125 raise NotImplementedError

Callers 6

__init__Method · 0.45
tokenizeMethod · 0.45
encodeMethod · 0.45
compare_tokenizersFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected