Hi,
I’m trying to use custom model from guillaumekln/faster-whisper-small · Hugging Face but I can’t configure the yaml correctly.
This is what i tried:
model: custom
language: de
beam_size: 3
debug_logging: true
model-name: guillaumekln/faster-whisper-small
and it generated a loop with errors if I try to start it:
[19:45:11] INFO: Service exited with code 1 (by signal 0)
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 155, in <module>
run()
File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 150, in run
asyncio.run(main())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 124, in main
whisper_model = faster_whisper.WhisperModel(
File "/usr/local/lib/python3.9/dist-packages/faster_whisper/transcribe.py", line 139, in __init__
model_path = download_model(
File "/usr/local/lib/python3.9/dist-packages/faster_whisper/utils.py", line 78, in download_model
raise ValueError(
ValueError: Invalid model size 'null', expected one of: tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3, large, distil-large-v2, distil-medium.en, distil-small.en, distil-large-v3
Highly appriciate if somebody could point me in the right direction.