DiffCSE
Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings" (by voidism)
pytorch-metric-learning
The easiest way to use deep metric learning in your application. Modular, flexible, and extensible. Written in PyTorch. (by KevinMusgrave)
DiffCSE | pytorch-metric-learning | |
---|---|---|
3 | 3 | |
286 | 5,770 | |
- | - | |
0.0 | 7.9 | |
over 1 year ago | about 1 month ago | |
Python | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
DiffCSE
Posts with mentions or reviews of DiffCSE.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-26.
-
[N] MIT/Meta AI released their new SOTA unsupervised sentence embedding model "DiffCSE"
Code for https://arxiv.org/abs/2204.10298 found: https://github.com/voidism/DiffCSE
pytorch-metric-learning
Posts with mentions or reviews of pytorch-metric-learning.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-13.
-
Similarity Learning lacks a framework. So we built one
Not a full featured framework, but pytorch-metric-learning has data loaders, lossess, etc. to facilitate similarity learning: https://github.com/KevinMusgrave/pytorch-metric-learning
Disclaimer: I've made some contributions to it.
-
[R][D] VAE Embedding Space - Can we force it to learn a metric?
You can use the triplet loss together with the Gaussian prior. It will be zero centered though and the clusters are not as separated when you use the triplet loss only.There are many alternative to the triplet loss, in case it needs to be a metric: https://github.com/KevinMusgrave/pytorch-metric-learning
-
[D] Similar Image Retrieval
This repo provides the tools and examples needed to build such a model: https://github.com/KevinMusgrave/pytorch-metric-learning