xlang-ai / instructor-embedding

[ACL 2023] One Embedder, Any Task: Instruction-Finetuned Text Embeddings
Apache License 2.0
1.78k stars 131 forks source link

Traceback (most recent call last): File "/home/instructor-embedding/evaluation/prompt_retrieval/main_civil.py", line 15, in <module> from InstructorEmbedding import INSTRUCTOR ImportError: cannot import name 'INSTRUCTOR' from 'InstructorEmbedding' (/home/instructor-embedding/InstructorEmbedding/__init__.py) #116

Closed EricPaul03 closed 1 month ago

EricPaul03 commented 2 months ago

Traceback (most recent call last): File "/home/rnd/wmj/instructor-large/instructor-embedding/evaluation/prompt_retrieval/main_civil.py", line 15, in from InstructorEmbedding import INSTRUCTOR ImportError: cannot import name 'INSTRUCTOR' from 'InstructorEmbedding' (/home/instructor-embedding/InstructorEmbedding/init.py) A very simple question, I want to know if there was an error in my installation? I did not find the INSTRUCTOR method in the InstructorEmbedding library, so I reported an error. How should I solve it?