OSError
I am getting this error when using nllb-200-distilled-600M (translation's task):
Can't load the configuration of './models/facebook/nllb-200-distilled-600M'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure './models/facebook/nllb-200-distilled-600M' is the correct path to a directory containing a config.json file
What is the solution. Thanks in advance.
use model="facebook/nllb-200-distilled-600M, not './models/facebook/nllb-200-distilled-600M', since it is not something in your local models
I have the same error, and I am using model='facebook/nllb-200-distilled-600M'
Full error message:
OSError: Can't load the model for 'facebook/nllb-200-distilled-600M'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'facebook/nllb-200-distilled-600M' is the correct path to a directory containing a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack.
try pip install --upgrade huggingface_hub