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

Add support for asymmetric models in NoDuplicatesDataLoader #2301

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eranhirs
Copy link

@eranhirs eranhirs commented Sep 8, 2023

Asymmetric models have a different format in which the text is actually a dictionary and not a string, as documented here.

An error is thrown when using this format with NoDuplicatesDataLoader, as the data loader analyzes the text to avoid duplications, but expects a string and not a dictionary. This pull request add supports for both formats.

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

Successfully merging this pull request may close these issues.

1 participant