runtime error
Exit code: 1. Reason: , response) from e huggingface_hub.utils._errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-66d0187f-1b8e3c333e9de1161d2f44ed;4405ee4b-ab28-4e94-8814-13f1497357c4) Cannot access gated repo for url https://huggingface.co/nvidia/NV-Embed-v1/resolve/main/config.json. Access to model nvidia/NV-Embed-v1 is restricted. You must be authenticated to access it. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/langchainapp.py", line 59, in <module> nvidiamodel = load_model() File "/home/user/app/langchainapp.py", line 55, in load_model model = AutoModel.from_pretrained(model_name, token=hf_token, trust_remote_code=True).to(device) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 524, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 976, in from_pretrained config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 632, in get_config_dict config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 689, in _get_config_dict resolved_config_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 420, in cached_file raise EnvironmentError( OSError: You are trying to access a gated repo. Make sure to have access to it at https://huggingface.co/nvidia/NV-Embed-v1. 401 Client Error. (Request ID: Root=1-66d0187f-1b8e3c333e9de1161d2f44ed;4405ee4b-ab28-4e94-8814-13f1497357c4) Cannot access gated repo for url https://huggingface.co/nvidia/NV-Embed-v1/resolve/main/config.json. Access to model nvidia/NV-Embed-v1 is restricted. You must be authenticated to access it.
Container logs:
Fetching error logs...