| 407 | |
| 408 | @runtime_checkable |
| 409 | class Vocab(BaseVocab, Protocol): |
| 410 | vocab_size: int |
| 411 | added_tokens_dict: dict[str, int] |
| 412 | added_tokens_list: list[str] |
| 413 | fname_tokenizer: Path |
| 414 | |
| 415 | def __init__(self, base_path: Path): ... |
| 416 | def all_tokens(self) -> Iterable[tuple[bytes, float, gguf.TokenType]]: ... |
| 417 | |
| 418 | |
| 419 | class BpeVocab(Vocab): |
nothing calls this directly
no outgoing calls
no test coverage detected