Upload jina-embeddings-v4_0.txt with huggingface_hub
Browse files- jina-embeddings-v4_0.txt +20 -0
jina-embeddings-v4_0.txt
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Traceback (most recent call last):
|
| 2 |
+
File "/tmp/jina-embeddings-v4_0rQvuhI.py", line 12, in <module>
|
| 3 |
+
model = AutoModel.from_pretrained("jinaai/jina-embeddings-v4", trust_remote_code=True)
|
| 4 |
+
File "/tmp/.cache/uv/environments-v2/3dff24d90291b0dd/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 582, in from_pretrained
|
| 5 |
+
model_class = get_class_from_dynamic_module(
|
| 6 |
+
class_ref, pretrained_model_name_or_path, code_revision=code_revision, **hub_kwargs, **kwargs
|
| 7 |
+
)
|
| 8 |
+
File "/tmp/.cache/uv/environments-v2/3dff24d90291b0dd/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 570, in get_class_from_dynamic_module
|
| 9 |
+
final_module = get_cached_module_file(
|
| 10 |
+
repo_id,
|
| 11 |
+
...<8 lines>...
|
| 12 |
+
repo_type=repo_type,
|
| 13 |
+
)
|
| 14 |
+
File "/tmp/.cache/uv/environments-v2/3dff24d90291b0dd/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 393, in get_cached_module_file
|
| 15 |
+
modules_needed = check_imports(resolved_module_file)
|
| 16 |
+
File "/tmp/.cache/uv/environments-v2/3dff24d90291b0dd/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 225, in check_imports
|
| 17 |
+
raise ImportError(
|
| 18 |
+
...<2 lines>...
|
| 19 |
+
)
|
| 20 |
+
ImportError: This modeling file requires the following packages that were not found in your environment: PIL, peft. Run `pip install PIL peft`
|