Request: DOI
HTTPError Traceback (most recent call last)
/usr/local/lib/python3.11/dist-packages/huggingface_hub/utils/_http.py in hf_raise_for_status(response, endpoint_name)
405 try:
--> 406 response.raise_for_status()
407 except HTTPError as e:
17 frames
HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/microsoft/maira-2/resolve/main/config.json
The above exception was the direct cause of the following exception:
GatedRepoError Traceback (most recent call last)
GatedRepoError: 403 Client Error. (Request ID: Root=1-67cb494c-77171dfd57dd9a1e3c9b353f;5fe5aa6e-71ac-41c6-b45b-f169df5c828f)
Cannot access gated repo for url https://huggingface.co/microsoft/maira-2/resolve/main/config.json.
Access to model microsoft/maira-2 is restricted and you are not in the authorized list. Visit https://huggingface.co/microsoft/maira-2 to ask for access.
The above exception was the direct cause of the following exception:
OSError Traceback (most recent call last)
/usr/local/lib/python3.11/dist-packages/transformers/utils/hub.py in cached_file(path_or_repo_id, filename, cache_dir, force_download, resume_download, proxies, token, revision, local_files_only, subfolder, repo_type, user_agent, _raise_exceptions_for_gated_repo, _raise_exceptions_for_missing_entries, _raise_exceptions_for_connection_errors, _commit_hash, **deprecated_kwargs)
419 if resolved_file is not None or not _raise_exceptions_for_gated_repo:
420 return resolved_file
--> 421 raise EnvironmentError(
422 "You are trying to access a gated repo.\nMake sure to have access to it at "
423 f"https://huggingface.co/{path_or_repo_id}.\n{str(e)}"
OSError: You are trying to access a gated repo.
Make sure to have access to it at https://huggingface.co/microsoft/maira-2.
403 Client Error. (Request ID: Root=1-67cb494c-77171dfd57dd9a1e3c9b353f;5fe5aa6e-71ac-41c6-b45b-f169df5c828f)
Cannot access gated repo for url https://huggingface.co/microsoft/maira-2/resolve/main/config.json.
Access to model microsoft/maira-2 is restricted and you are not in the authorized list. Visit https://huggingface.co/microsoft/maira-2 to ask for access.