Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
119
class
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
compute_embedding_similarity
Function · 0.45
__init__
Method · 0.45
tokenize
Method · 0.45
encode
Method · 0.45
compare_tokenizers
Function · 0.45
test-tokenizer-0.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected