MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / __init__

Method __init__

tokenizer/convert/convert.py:1290–1293  ·  view source on GitHub ↗
(self, path: Path)

Source from the content-addressed store, hash-verified

1288 _FILES = {"spm": "tokenizer.model", "bpe": "vocab.json", "hfft": "tokenizer.json"}
1289
1290 def __init__(self, path: Path):
1291 self.path = path
1292 self.file_paths = self._detect_files()
1293 print(f"Found vocab files: {self.file_paths}")
1294
1295 def _detect_files(self) -> dict[str, Path | None]:
1296 def locate(file: str) -> Path | None:

Callers

nothing calls this directly

Calls 1

_detect_filesMethod · 0.95

Tested by

no test coverage detected