Upload nvidia_NVIDIA-Nemotron-Parse-v1.1_1.txt with huggingface_hub
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253```CODE: # Load model directlyfrom transformers import AutoModelmodel = AutoModel.from_pretrained("nvidia/NVIDIA-Nemotron-Parse-v1.1", trust_remote_code=True, dtype="auto")```
ERROR: Traceback (most recent call last): File "/tmp/nvidia_NVIDIA-Nemotron-Parse-v1.1_1CdxA0K.py", line 25, in <module> model = AutoModel.from_pretrained("nvidia/NVIDIA-Nemotron-Parse-v1.1", trust_remote_code=True, dtype="auto") File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 549, in from_pretrained config, kwargs = AutoConfig.from_pretrained( ~~~~~~~~~~~~~~~~~~~~~~~~~~^ pretrained_model_name_or_path, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<4 lines>... **kwargs, ^^^^^^^^^ ) ^ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1350, in from_pretrained return config_class.from_pretrained(pretrained_model_name_or_path, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/configuration_utils.py", line 640, in from_pretrained return cls.from_dict(config_dict, **kwargs) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/configuration_utils.py", line 808, in from_dict config = cls(**config_dict) 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__ vision_auto_config = get_class_from_dynamic_module(*encoder["auto_map"]["AutoConfig"].split("--")[::-1]) 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 final_module = get_cached_module_file( repo_id, ...<8 lines>... repo_type=repo_type, ) File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 467, in get_cached_module_file get_cached_module_file( ~~~~~~~~~~~~~~~~~~~~~~^ pretrained_model_name_or_path, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<8 lines>... _commit_hash=commit_hash, ^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 427, in get_cached_module_file modules_needed = check_imports(resolved_module_file) File "/tmp/.cache/uv/environments-v2/ff1f1bdd68dd1d80/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 260, in check_imports raise ImportError( ...<2 lines>... )ImportError: This modeling file requires the following packages that were not found in your environment: open_clip. Run `pip install open_clip`nvidia_NVIDIA-Nemotron-Parse-v1.1_1.txtAdded+53