runtime error
Exit code: 1. Reason: _download_to_tmp_and_move http_get( File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 439, in http_get raise RuntimeError( RuntimeError: An error occurred while downloading using `hf_transfer`. Consider disabling HF_HUB_ENABLE_HF_TRANSFER for better error handling. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 6, in <module> detector = TranslationDirectionDetector(NMTScorer("m2m100_418M")) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/nmtscore/scorer.py", line 21, in __init__ self.model = load_translation_model(model, **model_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/nmtscore/models/__init__.py", line 225, in load_translation_model translation_model = M2M100Model(model_name_or_path="facebook/m2m100_418M", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/nmtscore/models/m2m100.py", line 31, in __init__ self.model = self._load_model() ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/nmtscore/models/m2m100.py", line 46, in _load_model return M2M100ForConditionalGeneration.from_pretrained(self.model_name_or_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/modeling_utils.py", line 2850, in from_pretrained raise EnvironmentError( OSError: Can't load the model for 'facebook/m2m100_418M'. 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/m2m100_418M' is the correct path to a directory containing a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack.
Container logs:
Fetching error logs...