Source symbols: scripts/tok_train.py
Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.
- Revision: master@92d63d4e8bb4df75c3b71618f31ddde2378b2bcd · 2026-07-04T18:18:25Z
- Declarations: 1
- Referenced calls: 23
Declared symbols
text_iterator— def at line 28; referencesparquets_iter_batched,len,time,train_from_iterator,print,get_base_dir,join,save,encode,decode,get_vocab_size,set,encode_special,get_special_tokens,range,append,decode_single_token_bytes,tensor,open
File-level call references
ArgumentParser— line 16add_argument— line 17parse_args— line 20print— line 21parquets_iter_batched— line 35len— line 38text_iterator— line 44time— line 48train_from_iterator— line 49get_base_dir— line 56join— line 57save— line 58encode— line 67decode— line 68get_vocab_size— line 76set— line 77encode_special— line 77get_special_tokens— line 77range— line 79append— line 81decode_single_token_bytes— line 85tensor— line 87open— line 89
Source: scripts/tok_train.py