#144 · Primary category: Deep Learning Frameworks

quaterion

contrastive-learning cosine-similarity deep-learning knn machine-learning metric-learning nearest-neighbor-search python pytorch pytorch-lightning similarity-learning similarity-search

Blazing fast framework for fine-tuning similarity learning models

Project last updated:07/06/26

GitHub Stars

662

Forks

47

Contributors

14

License

Apache-2.0

Why we included this project

Getting embeddings that actually separate your data is usually the hard part of a similarity system, not the vector store itself. Quaterion is a training framework built for that last mile: it fine-tunes pre-trained models into similarity-aware encoders with contrastive and metric-learning losses, so you can specialize a general model to your own domain without training from scratch. Because it sits on PyTorch Lightning, you get distributed training and checkpointing out of the box, and a built-in caching mechanism keeps training fast even on a laptop GPU. The framework is deliberately open to redefinition, so you can swap in your own encoders and head layers, and the docs include tutorials for NLP and computer-vision use cases. If you already run Qdrant or another vector database, it is a natural companion for producing the embeddings those stores serve.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category