runtime error
Exit code: 1. Reason: you don't have a local directory with the same name. Otherwise, make sure 'MakD1227/afriberta-hsd-model' is the correct path to a directory containing a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1127, in _get_resolved_checkpoint_files if has_file(pretrained_model_name_or_path, TF2_WEIGHTS_NAME, **has_file_kwargs): File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 680, in has_file response = get_session().head( TypeError: Client.head() got an unexpected keyword argument 'allow_redirects' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/base.py", line 311, in infer_framework_load_model model = model_class.from_pretrained(model, **fp32_kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 604, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 277, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4900, in from_pretrained checkpoint_files, sharded_metadata = _get_resolved_checkpoint_files( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1160, in _get_resolved_checkpoint_files raise OSError( OSError: Can't load the model for 'MakD1227/afriberta-hsd-model'. 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 'MakD1227/afriberta-hsd-model' 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...