I have a function to get the model size of a particular pytorch model. How can i figure out the model size using faster-whisper model?
I am looking for finding the number of parameters in the model and not the file size of the model
def get_model_size(model):
total_params = sum(param.numel() for param in model.parameters())
return numerize.numerize(total_params)