runtime error
Exit code: 1. Reason: | 0.00/3.71M [00:00<?, ?B/s][A vocab.json: 100%|██████████| 3.71M/3.71M [00:00<00:00, 40.0MB/s] sentencepiece.bpe.model: 0%| | 0.00/2.42M [00:00<?, ?B/s][A sentencepiece.bpe.model: 100%|██████████| 2.42M/2.42M [00:00<00:00, 16.5MB/s] special_tokens_map.json: 0%| | 0.00/1.14k [00:00<?, ?B/s][A special_tokens_map.json: 100%|██████████| 1.14k/1.14k [00:00<00:00, 8.82MB/s] config.json: 0%| | 0.00/908 [00:00<?, ?B/s][A config.json: 100%|██████████| 908/908 [00:00<00:00, 5.40MB/s] Traceback (most recent call last): File "/home/user/app/modules/translation_model.py", line 17, in __init__ self.tokenizer = M2M100Tokenizer.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2036, in from_pretrained raise EnvironmentError( OSError: Can't load tokenizer for 'models/'. 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/' is the correct path to a directory containing all relevant files for a M2M100Tokenizer tokenizer. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 190, in <module> translator_component() File "/home/user/app/modules/translator.py", line 7, in translator_component model = TranslationModel() File "/home/user/app/modules/translation_model.py", line 30, in __init__ self.model = M2M100ForConditionalGeneration.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 262, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3611, in from_pretrained raise ImportError( ImportError: Using `low_cpu_mem_usage=True` or a `device_map` requires Accelerate: `pip install 'accelerate>=0.26.0'`
Container logs:
Fetching error logs...