Open yeliusf opened 1 year ago
Hi, could you help to print out corpus["title"][i]
, self.sep
and their types? They are expected to be strings.
Hello. I have the same problem.
sentences = [
[instruction, (corpus["title"][i] + self.sep + corpus["text"][i]).strip()]
(corpus["title"][i] + self.sep + corpus["text"][i]).strip()
if "title" in corpus
else corpus["text"][i].strip()
for i in range(len(corpus["text"]))
]
This code snippet leads to an error. Could you please double-check if it is written as you intended?
@ParishadBehnam @yeliusf I encountered the same issue, the easy workaround is to DO NOT use pip install -e .
to install the mteb
package. Instead, use pip install mteb
.
@ParishadBehnam @yeliusf I encountered the same issue, the easy workaround is to DO NOT use
pip install -e .
to install themteb
package. Instead, usepip install mteb
.
it works on me :)
@ all, the following error is due to a recent change that from my contribution
[instruction, (corpus["title"][i] + self.sep + corpus["text"][i]).strip()]
TypeError: 'list' object is not callable
[W CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
I have raised a PR #92 to fix the same.
Waiting for a response from the repo maintainers to merge the PR. As a temporary fix, until this PR is merged, kindly include the commit in the PR in your branch to resolve the issue.
Thanks for publishing the nice work. I want to evaluate Arguana by following your comments:
python examples/evaluate_model.py --model_name hkunlp/instructor-large --output_dir outputs --task_name ArguAna --result_file results
But I face the following issue:
I tried a fix by changing your code to:
But face a new issue:
Could you take a look into this? Thanks!