Home/Model Training/contrastors
contrastors logo

contrastors

nomic-ai/contrastors

Train Models Contrastively in Pytorch

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

804 stars65 forksLast push Mar 26, 2025 Python Apache-2.0

Decision brief

Unverified catalog guidance: Contrastors is a Python library that leverages PyTorch for training contrastive learning models, ideal for tasks requiring dense retrieval or embeddings creation from text and images.

Good fit when

  • Unverified catalog guidance: * Use Contrastors when you are working with multimodal data (text and image) and require generating effective embeddings for them.
  • Unverified catalog guidance: * Prefer Contrastors if your project is under the Apache-2.0 license, allowing for broader compliance and flexibility.

Avoid when

  • Unverified catalog guidance: * Do not use Contrastors if your preferred framework is TensorFlow or another non-PyTorch-based deep learning solution.
  • Unverified catalog guidance: * Avoid Contrastors if you are working with data modalities that are not text or image, as its strengths are in these domains.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (542d since push)
As of Sep 20, 2026
Provenance
Not a fork · Organization account
As of Sep 20, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

Package installation is not established from the available documentation. Check the source repository for setup instructions.

git clone https://github.com/nomic-ai/contrastors
Source repository

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A Python library for training contrastive learning models using PyTorch.

Capability facts

Languages
python

Source: github.language · Sep 20, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 20, 2026)

by running `nvcc --version` or if you already have torch installed you can run `python -c "import torch; print(torch.version.cuda)"`
Source link

Tags

README

Getting Started and Requirements The library relies on custom kernels from the Flash Attention repository. To setup your enviornment you will need to follow the steps below. Make sure that you have Cuda 11.8+. You can check this by running or if you already have torch installed y...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.