You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I finetuned Whisper-small on a custom dataset. When I try to convert the hf model to ggml using convert-h5-to-ggml.py, I get an error saying max_length is not an integer. Upon reviewing the config.json, I saw that the max_length param was set to null. Setting it to 448 (suggested by line 89 in convert-h5-to-ggml.py file) solved the issue.
Modifying the if block in the script will fix the issue, but sharing the modification of the param in config.json as a quick fix for my fellow devs.
Happy to open a PR to fix this if required.
The text was updated successfully, but these errors were encountered:
I finetuned Whisper-small on a custom dataset. When I try to convert the hf model to ggml using
convert-h5-to-ggml.py
, I get an error sayingmax_length
is not an integer. Upon reviewing theconfig.json
, I saw that the max_length param was set to null. Setting it to 448 (suggested by line 89 inconvert-h5-to-ggml.py
file) solved the issue.Modifying the if block in the script will fix the issue, but sharing the modification of the param in
config.json
as a quick fix for my fellow devs.Happy to open a PR to fix this if required.
The text was updated successfully, but these errors were encountered: