runtime error
Exit code: 1. Reason: archive_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 398, in cached_file resolved_file = hf_hub_download( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1008, in hf_hub_download return _hf_hub_download_to_cache_dir( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1161, in _hf_hub_download_to_cache_dir _download_to_tmp_and_move( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1710, in _download_to_tmp_and_move xet_get( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 627, in xet_get download_files( RuntimeError: Data processing error: CAS service error : Reqwest Error: HTTP status server error (500 Internal Server Error), domain: https://cas-server-direct.xethub.hf.co/reconstruction/aa97a74498966880490885ce633f22f5de0ed60b7f242cebaf78886f69d359b8 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> model_1 = AutoModelForCausalLM.from_pretrained(generator_1_name) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 563, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3417, in from_pretrained raise EnvironmentError( OSError: Can't load the model for 'pierreguillou/gpt2-small-portuguese'. 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 'pierreguillou/gpt2-small-portuguese' 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...