Build vocab

Train a tokenizer using HuggingFace tokenizers library

usage: mammoth_build_vocab [-h] --input_file INPUT_FILE [INPUT_FILE ...]
                           [--output_dir OUTPUT_DIR] [--vocab_size VOCAB_SIZE]

Named Arguments

--input_file

Path(s) to the training text file(s). Can provide multiple files.

--output_dir

Directory to save the trained tokenizer. Output to the current directory by default.

Default: './'

--vocab_size

Vocabulary size for the tokenizer

Default: 32000