ariG23498 HF Staff commited on
Commit
29f8c03
·
verified ·
1 Parent(s): f57e545

Upload nvidia_NVIDIA-Nemotron-Parse-v1.1_1.txt with huggingface_hub

Browse files
nvidia_NVIDIA-Nemotron-Parse-v1.1_1.txt ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```CODE:
2
+ # Load model directly
3
+ from transformers import AutoModel
4
+ model = AutoModel.from_pretrained("nvidia/NVIDIA-Nemotron-Parse-v1.1", trust_remote_code=True, dtype="auto")
5
+ ```
6
+
7
+ ERROR:
8
+ Traceback (most recent call last):
9
+ File "/tmp/nvidia_NVIDIA-Nemotron-Parse-v1.1_1CdxA0K.py", line 25, in <module>
10
+ model = AutoModel.from_pretrained("nvidia/NVIDIA-Nemotron-Parse-v1.1", trust_remote_code=True, dtype="auto")
11
+ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 549, in from_pretrained
12
+ config, kwargs = AutoConfig.from_pretrained(
13
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~^
14
+ pretrained_model_name_or_path,
15
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16
+ ...<4 lines>...
17
+ **kwargs,
18
+ ^^^^^^^^^
19
+ )
20
+ ^
21
+ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1350, in from_pretrained
22
+ return config_class.from_pretrained(pretrained_model_name_or_path, **kwargs)
23
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
+ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/configuration_utils.py", line 640, in from_pretrained
25
+ return cls.from_dict(config_dict, **kwargs)
26
+ ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
27
+ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/configuration_utils.py", line 808, in from_dict
28
+ config = cls(**config_dict)
29
+ File "/tmp/.cache/huggingface/modules/transformers_modules/nvidia/NVIDIA_hyphen_Nemotron_hyphen_Parse_hyphen_v1_dot_1/5934e4862c6f0e08107f95c592409929c825730c/hf_nemotron_parse_config.py", line 113, in __init__
30
+ vision_auto_config = get_class_from_dynamic_module(*encoder["auto_map"]["AutoConfig"].split("--")[::-1])
31
+ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 604, in get_class_from_dynamic_module
32
+ final_module = get_cached_module_file(
33
+ repo_id,
34
+ ...<8 lines>...
35
+ repo_type=repo_type,
36
+ )
37
+ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 467, in get_cached_module_file
38
+ get_cached_module_file(
39
+ ~~~~~~~~~~~~~~~~~~~~~~^
40
+ pretrained_model_name_or_path,
41
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
+ ...<8 lines>...
43
+ _commit_hash=commit_hash,
44
+ ^^^^^^^^^^^^^^^^^^^^^^^^^
45
+ )
46
+ ^
47
+ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 427, in get_cached_module_file
48
+ modules_needed = check_imports(resolved_module_file)
49
+ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 260, in check_imports
50
+ raise ImportError(
51
+ ...<2 lines>...
52
+ )
53
+ ImportError: This modeling file requires the following packages that were not found in your environment: open_clip. Run `pip install open_clip`