Upload allenai_olmOCR-7B-0725_0.txt with huggingface_hub
Browse files- allenai_olmOCR-7B-0725_0.txt +21 -0
allenai_olmOCR-7B-0725_0.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Traceback (most recent call last):
|
| 2 |
+
File "/tmp/allenai_olmOCR-7B-0725_0ETSZHp.py", line 13, in <module>
|
| 3 |
+
pipe = pipeline("image-to-text", model="allenai/olmOCR-7B-0725")
|
| 4 |
+
File "/tmp/.cache/uv/environments-v2/529bdc2bdc6fbbc1/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1090, in pipeline
|
| 5 |
+
raise e
|
| 6 |
+
File "/tmp/.cache/uv/environments-v2/529bdc2bdc6fbbc1/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1085, in pipeline
|
| 7 |
+
image_processor = AutoImageProcessor.from_pretrained(
|
| 8 |
+
image_processor, _from_pipeline=task, **hub_kwargs, **model_kwargs
|
| 9 |
+
)
|
| 10 |
+
File "/tmp/.cache/uv/environments-v2/529bdc2bdc6fbbc1/lib/python3.13/site-packages/transformers/models/auto/image_processing_auto.py", line 597, in from_pretrained
|
| 11 |
+
return image_processor_class.from_dict(config_dict, **kwargs)
|
| 12 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 13 |
+
File "/tmp/.cache/uv/environments-v2/529bdc2bdc6fbbc1/lib/python3.13/site-packages/transformers/utils/import_utils.py", line 2116, in __getattribute__
|
| 14 |
+
requires_backends(cls, cls._backends)
|
| 15 |
+
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
|
| 16 |
+
File "/tmp/.cache/uv/environments-v2/529bdc2bdc6fbbc1/lib/python3.13/site-packages/transformers/utils/import_utils.py", line 2102, in requires_backends
|
| 17 |
+
raise ImportError("".join(failed))
|
| 18 |
+
ImportError:
|
| 19 |
+
Qwen2VLImageProcessor requires the PIL library but it was not found in your environment. You can install it with pip:
|
| 20 |
+
`pip install pillow`. Please note that you may need to restart your runtime after installation.
|
| 21 |
+
|