ariG23498 HF Staff commited on
Commit
34437e7
·
verified ·
1 Parent(s): c02d766

Upload nvidia_Nemotron-Elastic-12B_1.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. nvidia_Nemotron-Elastic-12B_1.txt +107 -0
nvidia_Nemotron-Elastic-12B_1.txt ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```CODE:
2
+ # Use a pipeline as a high-level helper
3
+ from transformers import pipeline
4
+
5
+ pipe = pipeline("text-generation", model="nvidia/Nemotron-Elastic-12B")
6
+ messages = [
7
+ {"role": "user", "content": "Who are you?"},
8
+ ]
9
+ pipe(messages)
10
+ ```
11
+
12
+ ERROR:
13
+ Traceback (most recent call last):
14
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 402, in hf_raise_for_status
15
+ response.raise_for_status()
16
+ ~~~~~~~~~~~~~~~~~~~~~~~~~^^
17
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/requests/models.py", line 1026, in raise_for_status
18
+ raise HTTPError(http_error_msg, response=self)
19
+ requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/nvidia/Nemotron-Elastic-12B/resolve/main/config.json
20
+
21
+ The above exception was the direct cause of the following exception:
22
+
23
+ Traceback (most recent call last):
24
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/transformers/utils/hub.py", line 479, in cached_files
25
+ hf_hub_download(
26
+ ~~~~~~~~~~~~~~~^
27
+ path_or_repo_id,
28
+ ^^^^^^^^^^^^^^^^
29
+ ...<10 lines>...
30
+ local_files_only=local_files_only,
31
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32
+ )
33
+ ^
34
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
35
+ return fn(*args, **kwargs)
36
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
37
+ return _hf_hub_download_to_cache_dir(
38
+ # Destination
39
+ ...<14 lines>...
40
+ force_download=force_download,
41
+ )
42
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1114, in _hf_hub_download_to_cache_dir
43
+ _raise_on_head_call_error(head_call_error, force_download, local_files_only)
44
+ ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
45
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1655, in _raise_on_head_call_error
46
+ raise head_call_error
47
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
48
+ metadata = get_hf_file_metadata(
49
+ url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint
50
+ )
51
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
52
+ return fn(*args, **kwargs)
53
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
54
+ r = _request_wrapper(
55
+ method="HEAD",
56
+ ...<5 lines>...
57
+ timeout=timeout,
58
+ )
59
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
60
+ response = _request_wrapper(
61
+ method=method,
62
+ ...<2 lines>...
63
+ **params,
64
+ )
65
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper
66
+ hf_raise_for_status(response)
67
+ ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
68
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 419, in hf_raise_for_status
69
+ raise _format(GatedRepoError, message, response) from e
70
+ huggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-69255738-03106ee57f171d4a7c79692e;218dcfec-98db-4964-a22c-3b9b00233ddc)
71
+
72
+ Cannot access gated repo for url https://huggingface.co/nvidia/Nemotron-Elastic-12B/resolve/main/config.json.
73
+ Access to model nvidia/Nemotron-Elastic-12B is restricted and you are not in the authorized list. Visit https://huggingface.co/nvidia/Nemotron-Elastic-12B to ask for access.
74
+
75
+ The above exception was the direct cause of the following exception:
76
+
77
+ Traceback (most recent call last):
78
+ File "/tmp/nvidia_Nemotron-Elastic-12B_1y3SudR.py", line 26, in <module>
79
+ pipe = pipeline("text-generation", model="nvidia/Nemotron-Elastic-12B")
80
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 922, in pipeline
81
+ config = AutoConfig.from_pretrained(
82
+ model, _from_pipeline=task, code_revision=code_revision, **hub_kwargs, **model_kwargs
83
+ )
84
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1332, in from_pretrained
85
+ config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
86
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
87
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/transformers/configuration_utils.py", line 662, in get_config_dict
88
+ config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
89
+ ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
90
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/transformers/configuration_utils.py", line 721, in _get_config_dict
91
+ resolved_config_file = cached_file(
92
+ pretrained_model_name_or_path,
93
+ ...<10 lines>...
94
+ _commit_hash=commit_hash,
95
+ )
96
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/transformers/utils/hub.py", line 322, in cached_file
97
+ file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)
98
+ File "/tmp/.cache/uv/environments-v2/863e2991e2ec9e33/lib/python3.13/site-packages/transformers/utils/hub.py", line 543, in cached_files
99
+ raise OSError(
100
+ ...<2 lines>...
101
+ ) from e
102
+ OSError: You are trying to access a gated repo.
103
+ Make sure to have access to it at https://huggingface.co/nvidia/Nemotron-Elastic-12B.
104
+ 403 Client Error. (Request ID: Root=1-69255738-03106ee57f171d4a7c79692e;218dcfec-98db-4964-a22c-3b9b00233ddc)
105
+
106
+ Cannot access gated repo for url https://huggingface.co/nvidia/Nemotron-Elastic-12B/resolve/main/config.json.
107
+ Access to model nvidia/Nemotron-Elastic-12B is restricted and you are not in the authorized list. Visit https://huggingface.co/nvidia/Nemotron-Elastic-12B to ask for access.