NameError: name 'tasks' is not defined #148
-
from mteb import MTEB Define the sentence-transformers model namemodel_name = "average_word_embeddings_komninos" model = SentenceTransformer(model_name) hello. I am running the code using the mteb dataset. However, today, suddenly, at this part of "evaluation = MTEB(tasks=["Banking77Classification"])", an error occurs: "NameError: name 'tasks' is not defined." Can you tell me why? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hmm, I cannot reproduce the error. Could you share a Colab Notebook where the error can be reproduced? |
Beta Was this translation helpful? Give feedback.
Hello, pip install mteb has different parts from mteb.py and GitHub, so I uninstalled it and entered the command "pip install git+https://github.com/embeddings-benchmark/mteb-draft.git" and the error disappeared. I lost.