MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / __init__

Method __init__

llama_cpp/llama_tokenizer.py:78–79  ·  view source on GitHub ↗
(self, hf_tokenizer: Any)

Source from the content-addressed store, hash-verified

76
77class LlamaHFTokenizer(BaseLlamaTokenizer):
78 def __init__(self, hf_tokenizer: Any):
79 self.hf_tokenizer = hf_tokenizer
80
81 def tokenize(
82 self, text: bytes, add_bos: bool = True, special: bool = True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected