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 text_pair_similarity_filter #405

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Qirui-jiao
Copy link
Collaborator

Calculate the CLIP text features for text pairs, and filter the samples based on their cosine similarity.
Hyperparameters:

  • min_score – the min similarity score of filter range.
  • max_score – the max similarity score of filter range.
  • any_or_all – keep this sample when any/all text pairs meet the filter condition.

@Qirui-jiao Qirui-jiao added enhancement New feature or request dj:multimodal issues/PRs about multimodal data processing dj:op issues/PRs about some specific OPs labels Aug 28, 2024
Copy link

This PR is marked as stale because there has been no activity for 21 days. Remove stale label or add new comments or this PR will be closed in 3 day.

Copy link

Close this stale PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dj:multimodal issues/PRs about multimodal data processing dj:op issues/PRs about some specific OPs enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants