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

[feature] add CLAP score metric to compute similarity between text and audio embeddings #28

Merged
merged 15 commits into from
Mar 25, 2024

Conversation

mcomunita
Copy link
Contributor

  • add CLAP score computation through CLAPScore class
  • add test/test_clap_score.ipynb notebook to test new feature
  • add test/clap_score_audio and test/clap_score_text with audio/text examples to run test

@gudgud96
Copy link
Owner

gudgud96 commented Mar 25, 2024

@mcomunita I fixed some merge conflicts in order to pass the unit tests.
Huge thanks for your contribution again! CLAP score is a super useful feature. Will do a new release soon.

@gudgud96 gudgud96 merged commit 9659a00 into gudgud96:main Mar 25, 2024
1 check passed
@mcomunita
Copy link
Contributor Author

Thanks @gudgud96. A useful extra would be to compute the CLAP score on the AudioCaps and the MusicCaps test sets and include the results in the README for reference. I haven't seen anyone reporting these numbers before, but I think it would give a useful lower bound.

@gudgud96
Copy link
Owner

That is a good idea. I am not working actively on AudioCaps / MusicCaps, but don't mind having a look.

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.

2 participants