Zrodlo/Docs

zrodlo tokenizer inspect

Load a tokenizer and report its vocabulary size, special tokens and digest.

Usage#

sh
zrodlo tokenizer inspect --tokenizer tokenizer.json

Flags#

FlagRequiredDescription
--tokenizeryesThe tokenizer.json file to inspect

What it does#

Loads the file as a Hugging Face tokenizer and reports its vocabulary size, its special tokens with their ids and the file's SHA-256. It writes nothing.

Refusals#

  • tokenizer <path> cannot be loaded: <error>