ts/all-MiniLM-L12-v2

AI model · Embedding model · Text → Embeddings by Typesense

Built-in local embedding model for high-performance semantic and hybrid search.

ts/all-MiniLM-L12-v2 is a built-in embedding model provided by Typesense for local, server-side vector generation. It is designed for developers and businesses who need to implement semantic and hybrid search without the latency or cost of external API calls. The model generates 384-dimensional embeddings from text fields automatically during data ingestion and at query time. By running as a local ONNX model within the Typesense engine, it ensures high-performance nearest-neighbor searches for applications like e-commerce discovery and knowledge retrieval. It is particularly effective for hand

Languages
English
Model Architecture
S-BERT / MiniLM-L12-v2
Embedding Dimensions
384
Format
ONNX
Input Modality
Text
Output Modality
Embedding Vector
Deployment
Local Server-side

Overview

ts/all-MiniLM-L12-v2 is a built-in embedding model provided by Typesense for local, server-side vector generation. It is designed for developers and businesses who need to implement semantic and hybrid search without the latency or cost of external API calls. The model generates 384-dimensional embeddings from text fields automatically during data ingestion and at query time. By running as a local ONNX model within the Typesense engine, it ensures high-performance nearest-neighbor searches for applications like e-commerce discovery and knowledge retrieval. It is particularly effective for handling noisy inputs from voice or chat where exact keyword matches might fail.

Core Capabilities

  • 384-Dimensional Embeddings: The model generates 384-dimensional dense vector embeddings for text documents and search queries.
  • Semantic Search Optimization: It is optimized for semantic search, allowing users to find conceptually related results even without exact keyword matches.
  • Local Execution: The model runs locally within the Typesense server, eliminating the need for external API calls to third-party embedding providers.
  • Hybrid Search Support: It supports hybrid search by combining vector results with keyword search using Rank Fusion.

Integration and Deployment

  • Automatic Ingestion Embedding: The model is integrated directly into the Typesense collection schema for automatic embedding generation during ingestion.
  • Query-Time Embedding: Typesense automatically generates embeddings for search queries at request time when using this model.
  • ONNX Format: The model is delivered as a local ONNX model for efficient inference on standard hardware.

Specifications

Model Architecture
S-BERT / MiniLM-L12-v2
Embedding Dimensions
384
Format
ONNX
Input Modality
Text
Output Modality
Embedding Vector
Deployment
Local Server-side

Added by AntSpace from public sources (typesense.org).

More AI models by Typesense