libreasr.lib.model_utilsΒΆ

Utilities for persisting models.

Functions

add

extract_tars

extract .tar.gz file

load_asr_model

Loads an asr model from a given .tar.gz file

save_asr_model

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