EveryDev.ai
Subscribe
Home
Tools

5,347+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2725
  • Coding2018
  • Infrastructure950
  • Projects752
  • Research670
  • MCP655
  • Analytics520
  • Marketing503
  • Design435
  • Testing432
  • Data395
  • Security362
  • Integration270
  • Prompts257
  • Communication255
  • Extensions227
  • Voice182
  • DevOps176
  • Commerce175
  • Web124
  • Learning114
  • Finance39
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. contrastors
    contrastors icon

    contrastors

    Retrieval-Augmented Generation
    Featured

    Open-source PyTorch toolkit for training and evaluating contrastive text and image embedding models.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Apache 2.0-licensed contrastive learning toolkit for self-hosted training and evaluation. Individual pretrained models carry their own licenses per their model cards.

    Engagement

    Available On

    API
    SDK
    CLI

    Resources

    WebsiteGitHubllms.txt

    Topics

    Retrieval-Augmented GenerationAI Development LibrariesModel Management

    Alternatives

    LLM2VecMONAIflash-moe
    Developer
    Nomic AINew York City, United StatesEst. 2022$17M raised

    Listed Nov 2026

    About contrastors

    contrastors is an open-source contrastive learning toolkit from Nomic AI for researchers and engineers who train and evaluate contrastive models in PyTorch. It is the training code behind the Nomic Embed text and vision embedding models and is released under the Apache 2.0 license.

    What It Is

    The library trains embedding models contrastively. It builds on Flash Attention custom kernels for efficient training and supports multi-GPU runs. Training is configured through YAML files and launched with torchrun or DeepSpeed.

    Training Workflow

    The README documents a pipeline of masked language modeling pretraining for BERT-style models, followed by contrastive pretraining and contrastive finetuning. Dataset configs define paired or triplet objectives, with query and document prefixes. The README says the default pretraining config trains on roughly 200M examples. Scripts in the repo can generate your own data for any step of the pipeline.

    For vision, the repo documents aligning nomic-embed-vision-v1.5 with nomic-embed-text-v1.5 using an image-text dataset.

    Techniques and Model Support

    • GradCache lets large batch sizes fit in constrained GPU memory.
    • Matryoshka Representation Learning supports flexible embedding sizes.
    • CLIP and LiT style contrastive learning are supported.
    • Hugging Face models such as Pythia/GPTNeoX and BERT, and timm ViT models, can be loaded.

    Setup and Data Access

    Setup requires CUDA 11.8+, a Python virtual environment, PyTorch, and Flash Attention with its custom kernels. The nomic-embed-text-v1 training data is available through the nomic Python package after creating an Atlas account, and it is streamed from Cloudflare R2 storage. Pretrained Nomic Embed models are listed on Hugging Face.

    contrastors - 1

    Community Discussions

    Be the first to start a conversation about contrastors

    Share your experience with contrastors, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Apache 2.0-licensed contrastive learning toolkit for self-hosted training and evaluation. Individual pretrained models carry their own licenses per their model cards.

    • Apache License 2.0 code license
    • Built on Flash Attention
    • Multi-GPU training
    • GradCache support for large batch sizes
    • Matryoshka Representation Learning

    Capabilities

    Key Features

    • Flash Attention based efficient training
    • Multi-GPU training
    • GradCache for large batch sizes in limited memory
    • Hugging Face model loading (Pythia/GPTNeoX, BERT)
    • Masked language modeling pretraining
    • Matryoshka Representation Learning
    • CLIP and LiT style contrastive learning
    • timm ViT model support
    • Paired and triplet contrastive objectives
    • Data generation scripts

    Integrations

    Flash Attention
    GradCache
    Hugging Face
    timm
    DeepSpeed
    Nomic Atlas
    Cloudflare R2
    OpenCLIP
    API Available

    Ratings & Reviews

    No ratings yet

    Be the first to rate contrastors and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Nomic AI

    Nomic AI builds tools that transform unstructured data into organized, AI-ready knowledge. The company develops GPT4All, a free open-source local LLM platform, alongside enterprise solutions for domain-specific agentic workflows. Nomic focuses on enabling organizations to leverage AI across their institutional knowledge while maintaining data privacy and control.

    Founded 2022
    New York City
    $17M raised
    32 employees

    Used by

    Aurecon
    Arcadis
    Los Angeles Department of Water and…
    Mulhern + Kulp
    +3 more
    Read more about Nomic AI
    WebsiteGitHubLinkedInX / Twitter
    3 tools in directory

    Similar Tools

    LLM2Vec icon

    LLM2Vec

    Open-source Python library and recipe for converting decoder-only LLMs into text encoders that produce text embeddings.

    MONAI icon

    MONAI

    Open-source PyTorch-based framework for deep learning in healthcare imaging, with medical-specific transforms, networks, losses, and metrics.

    flash-moe icon

    flash-moe

    A Mixture of Experts (MoE) implementation in Python, enabling efficient sparse model inference by routing inputs to specialized expert sub-networks.

    Browse all tools

    Related Topics

    Retrieval-Augmented Generation

    RAG Systems that enhance LLM outputs by retrieving relevant information from external knowledge bases, combining the power of generative AI with information retrieval for more accurate and contextual responses.

    210 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    530 tools

    Model Management

    Tools for managing, versioning, and deploying AI models.

    131 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions