Typo Fixer Program

Program Identification

Synopsis

mbase_typo_fixer model_path *[option [value]]
mbase_typo_fixer model.gguf -gl 80 -s typo.txt -o fixed.txt

Description

This is an applied example use case of the MBASE library. The program is reading a user-supplied text file and fixing the typos.

Fixed text will be written to a file specified by option -o or --output-file.

Options

--help

Print program information.

-v, --version

Shows program version.

-t count, --thread-count count

Amount of threads to use for token generation. (default=16)

-bt count, --batch-thread-count count

Amount of thread to use for initial batch processing. (default=8)

-gl count, --gpu-layers count

Number of layers too offload to GPU. Ignored if there is no GPU is present. (default=999)

-s file_path, --source-file file_path

File containing the text with typos.

-o, file_path, --output-file file_path

Output file where fixed text will be written to.