libreasr.lib.model_utils.save_asr_model

libreasr.lib.model_utils.save_asr_model(lang, path_tokenizer=Path('tokenizer.yttm-model'), path_model=Path('model.pth'), path_archive=Path('libreasr-model.tar.gz'))[source]

Bundles - tokenizer.yttm-model (tokenizer model) - model.pth (PyTorch model) into a single .tar.gz :path_archive: