#3302 RuntimeError: Unable to open file 'model.bin' in model 'D:/win-pyvideotrans-v3.97/models/models--mobiuslabsgmbh--faster-

83.11* Posted at: 10 hours ago 👁8

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 181, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/win-pyvideotrans-v3.97/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'


=
system:Windows-10-10.0.26200-SP0
version:v3.97
frozen:True
language:en
root_dir:D:/win-pyvideotrans-v3.97

1 Replies

This error occurs because the required faster-whisper model file (model.bin) is missing from the specified directory. This is typically due to a failed or incomplete download from HuggingFace.

Solution Steps:

  1. Manually download the model: Go to the HuggingFace model page for mobiuslabsgmbh/faster-whisper-large-v3-turbo. Due to network restrictions, you may need to use a mirror site or a download tool.
  2. Place the model correctly: Download the entire model repository (including config.json, model.bin, tokenizer.json, etc.) and place it in the correct folder. The folder structure must be exact:
    D:/win-pyvideotrans-v3.97/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo
    Ensure the model.bin file is directly inside this folder.
  3. Alternative - Use a different model: In the software's settings, switch your Speech Recognition (ASR) channel to a different model that may already be downloaded (e.g., Systran/faster-whisper-large-v3), or use an online API like OpenAI Whisper if you have a key.

Key Constraints from Knowledge Base:

  • The model folder name must strictly follow the HuggingFace naming convention (e.g., models--author--model-name).
  • If you cannot access HuggingFace, you must configure a "Network Proxy" in the software's settings or manually download the model files.

Please refer to the relevant documentation:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource

Similar issues already exist