Google Summer of Code
This work was part of my Google Summer of Code project. The following are the major contributions of the project.
- Addition of multiple negatives ranking loss
- Addition of an example notebook for fine-tuning CLIP using multiple negatives ranking loss
Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Thanks for the PR! I'll review the notebook soon and I left a few comments on the loss.
@abhisharsinha, let me know your thoughts on the PR comments and we can get this merged into the dev branch.
Thanks for updating the loss. I meant to revert the changes to pyproject.toml but accidentally deleted the file. The change in the line-length was causing the Black formatting checks to fail.
Can you please add pyproject.toml back with the following, thanks.
[tool.isort]
profile = "black"
[tool.black]
line-length = 119
Looks like the Black and Isort formatting checks are failing for tensorflow_similarity/losses/multinegrank_loss.py. Otherwise looks good to go, thanks.