awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
tensorflow avatar

tensorflow/similarityArchived

0
View on GitHub↗
1,025 stars·105 forks·Python·Apache-2.0·20 views

Similarity

TensorFlow Similarity is a Python framework designed for training neural networks to learn high-dimensional vector representations and perform similarity-based retrieval. It provides a comprehensive toolkit for metric learning, enabling the development of systems that group similar items together in vector space and identify them through distance-based comparisons.

The library distinguishes itself by integrating specialized training techniques, such as contrastive and triplet-based learning, with robust data management tools that ensure stable model convergence. It supports self-supervised representation learning, allowing models to extract meaningful features from unlabeled data, and includes dedicated utilities for calibrating search thresholds and evaluating retrieval accuracy using standard information retrieval metrics.

Beyond training, the project covers the full lifecycle of similarity systems, including the indexing of high-dimensional embeddings for rapid approximate nearest neighbor search and the visualization of learned manifolds for model inspection. It provides the necessary components to export trained models and indices for production deployment, facilitating real-time similarity matching and search engine development.

Features

  • Metric Learning Libraries - Provides a Python framework for training models to learn vector representations and perform similarity lookups.
  • Vector Similarity Search - Implements optimized nearest neighbor lookups on indexed embeddings using configurable distance metrics for similarity-based retrieval.
  • Metric Learning Training - Builds neural networks that learn to map data into vector spaces where similar items are grouped closely together.
  • Embedding Similarity Loss Functions - Implements loss functions that minimize distance between similar items and maximize distance between dissimilar items in vector space.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
  • Specialized Model Training - Provides specialized training workflows for learning high-dimensional vector representations using contrastive and triplet-based loss functions.
  • Contrastive Learning Wrappers - Learns general data representations by comparing multiple augmented views of the same input without requiring manual class labels.
  • Approximate Nearest Neighbor Search - Provides algorithms for indexing high-dimensional embeddings to enable rapid approximate nearest neighbor search.
  • Similarity Search Engines - Creates systems that index high-dimensional embeddings to perform fast and accurate nearest neighbor lookups for large datasets.
  • Balanced Class Samplers - Constructs training batches with specific class distributions to ensure stable convergence for metric learning.
  • Embedding Visualizations - Analyzes and inspects learned vector representations through interactive projections to understand how models cluster data.
  • Embedding Accuracy Evaluators - Calculates retrieval and classification metrics like Recall at K and NDCG to assess model accuracy and embedding space quality.
  • Model Persistence - Saves, loads, and exports trained models and indices for production deployment and real-time similarity lookups.
  • Self-Supervised Learning - Trains models on unlabeled data using contrastive methods to learn meaningful features that improve performance on downstream tasks.
  • Dimensionality Projection Plots - Maps high-dimensional learned representations into lower-dimensional manifolds for visual inspection and cluster analysis.
  • Vector Embedding Indexes - Indexes high-dimensional embeddings and metadata to enable efficient storage and fast approximate nearest neighbor retrieval.
  • Similarity Thresholds - Includes utilities for calibrating similarity matching thresholds to ensure accurate and relevant retrieval outcomes.
  • Vector Distance Kernels - Calculates mathematical separation between embedding vectors using high-speed linear algebra operations for efficient similarity comparisons.
  • AI Model Production Deployment - Exports trained models and search indices to production environments to enable real-time retrieval and similarity matching.
  • Similarity Learning Libraries - Provides a collection of tools for contrastive and triplet-based training to group similar items in high-dimensional embedding spaces.
  • Vector Distance Metrics - Provides mathematical implementations for calculating distances between high-dimensional vectors.
  • Regression and Classification - TensorFlow-based library for metric learning and similarity search.
  • Star history

    Star history chart for tensorflow/similarityStar history chart for tensorflow/similarity

    How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

    Frequently asked questions

    What does tensorflow/similarity do?

    TensorFlow Similarity is a Python framework designed for training neural networks to learn high-dimensional vector representations and perform similarity-based retrieval. It provides a comprehensive toolkit for metric learning, enabling the development of systems that group similar items together in vector space and identify them through distance-based comparisons.

    What are the main features of tensorflow/similarity?

    The main features of tensorflow/similarity are: Metric Learning Libraries, Vector Similarity Search, Metric Learning Training, Embedding Similarity Loss Functions, Specialized Model Training, Contrastive Learning Wrappers, Approximate Nearest Neighbor Search, Similarity Search Engines.

    Which projects share features with tensorflow/similarity?

    Projects with overlapping indexed features include: kevinmusgrave/pytorch-metric-learning — PyTorch Metric Learning is an open-source library for training neural networks to produce similarity-preserving… unum-cloud/usearch — USearch is a high-performance vector similarity search engine and approximate nearest neighbor index designed for… spotify/annoy — Annoy is a C++ library designed for approximate nearest neighbor search in high-dimensional vector spaces. It… hora-search/hora — Hora is a vector similarity search library written in Rust designed for efficient approximate nearest neighbor… lancedb/lancedb — LanceDB is a vector database and columnar data store designed to function as a versioned dataset manager and vector… alibaba/zvec — zvec is an embedded vector database engine and indexing library designed for high-dimensional similarity search. It…

    Projects sharing features with Similarity

    These projects share indexed features with Similarity. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
    • kevinmusgrave/pytorch-metric-learningKevinMusgrave avatar

      KevinMusgrave/pytorch-metric-learning

      6,328View on GitHub↗

      PyTorch Metric Learning is an open-source library for training neural networks to produce similarity-preserving embedding spaces. It provides a modular framework where interchangeable loss functions, mining strategies, and evaluation tools can be composed to learn representations that map similar items to nearby points and dissimilar items to distant points in the embedding space. The library distinguishes itself through a highly configurable architecture that separates concerns across several interchangeable components. Users can assemble custom loss functions from pluggable distance metrics

      Pythoncomputer-visioncontrastive-learningdeep-learning
      View on GitHub↗6,328
    • unum-cloud/usearchunum-cloud avatar

      unum-cloud/USearch

      3,888View on GitHub↗

      USearch is a high-performance vector similarity search engine and approximate nearest neighbor index designed for dense embeddings. It functions as a low-level vector database core and high-dimensional vector indexer, providing the primitives necessary to store and retrieve vectors across massive datasets. The engine distinguishes itself through hardware-level SIMD acceleration for distance kernels and a proximity-graph indexing system that enables fast retrieval across billions of vectors. It supports multi-precision vector quantization to balance memory usage and accuracy, and utilizes memo

      C++approximate-nearest-neighbor-searchclusteringdatabase
      View on GitHub↗3,888
    • spotify/annoyspotify avatar

      spotify/annoy

      14,157View on GitHub↗

      Annoy is a C++ library designed for approximate nearest neighbor search in high-dimensional vector spaces. It functions as a vector similarity search engine that constructs static, disk-based data structures to facilitate fast lookups. By mapping identifiers to vector data and persisting these structures to disk, the library enables efficient, memory-mapped access to large datasets. The project distinguishes itself through the use of random projection trees and distance-metric-based partitioning, which organize data into hierarchical binary trees to balance search precision against computatio

      C++approximate-nearest-neighbor-searchc-plus-plusgolang
      View on GitHub↗14,157
    • hora-search/horahora-search avatar

      hora-search/hora

      2,662View on GitHub↗

      Hora is a vector similarity search library written in Rust designed for efficient approximate nearest neighbor retrieval in high-dimensional data spaces. It functions as a compiled search engine that organizes vector spaces using hierarchical graphs, trees, and product quantization, while computing proximity through various mathematical distance formulas including Euclidean, Manhattan, cosine, and dot product calculations. The library supports high-performance execution through hardware-accelerated instruction sets and concurrent thread dispatch across multiple hardware processors. To accommo

      Rustalgorithmapproximate-nearest-neighbor-searchartificial-intelligence
      View on GitHub↗2,662
    Compare all 30 related projects→

    Curated searches featuring Similarity

    Hand-picked collections where Similarity appears.
    • Hybrid Keyword and Vector Search
    • Vector Databases for Semantic Search
    • vector database