Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a solution allowing empty results #146

Open
KennethEnevoldsen opened this issue Feb 15, 2024 · 1 comment
Open

Find a solution allowing empty results #146

KennethEnevoldsen opened this issue Feb 15, 2024 · 1 comment

Comments

@KennethEnevoldsen
Copy link
Owner

KennethEnevoldsen commented Feb 15, 2024

Some models such as the "translate and embed" models can't be used for cross-lingual tasks, ideally their scores should just be nan.

I am unsure what the best solution is. We could naturally raise an error (but then it seems like it failed). We could also return nan (but then we would have to handle it in mteb, which is also

Seems like the best solution is to raise a specific error something like ModelNotValidForThisTaskError

@KennethEnevoldsen
Copy link
Owner Author

@x-tabdeveloping, do you have a suggestion here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant