Unable to open file 'model.bin' in model 'ct2fast_m2m100_418M'

I can’t open file ‘model.bin’ in model ‘ct2fast_m2m100_418M’


Thank for your help.

I got the same error and managed to fix it.

You can fix it too by doing what follows:

from huggingface_hub import snapshot_download
model_name = "michaelfeil/ct2fast-m2m100_418M"
model_path = snapshot_download(model_name)
translator = ctranslate2.Translator(model_path, compute_type="auto")