EveryDev.ai
Subscribe
Home
Tools

4,894+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2482
  • Coding1828
  • Infrastructure861
  • Projects701
  • Research608
  • MCP570
  • Marketing489
  • Analytics477
  • Design403
  • Testing394
  • Data368
  • Security309
  • Integration253
  • Communication242
  • Prompts235
  • Extensions217
  • Commerce167
  • DevOps164
  • Voice163
  • Web121
  • Learning113
  • Finance33
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. Model2Vec-rs
    Model2Vec-rs icon

    Model2Vec-rs

    Retrieval-Augmented Generation
    Featured

    A Rust crate and CLI for fast inference with Model2Vec static embedding models.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Rust crate and CLI for Model2Vec static embedding inference, released under the MIT License.

    Engagement

    Available On

    API
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Retrieval-Augmented GenerationAI Development LibrariesLocal Inference

    Alternatives

    Model2VecXtrieverort
    Developer
    MinishEst. 2024

    Listed Oct 2026

    About Model2Vec-rs

    Model2Vec-rs is the official Rust implementation of Model2Vec inference, published by MinishLab (Minish) as an MIT-licensed crate. It generates text embeddings from Model2Vec static embedding models, either inside Rust applications or through a command-line tool. The latest release listed is v0.3.0.

    What It Is

    Model2Vec-rs is an inference engine for Model2Vec static embedding models, which are compact models distilled from sentence transformers. It handles inference only. Distillation, training and fine-tuning stay in the Python model2vec package. Developers load a model by Hugging Face Hub ID or from a local path, then encode sentences into embeddings returned as vectors of f32 values.

    How You Use It

    As a library, you add the crate with cargo, load a model with StaticModel::from_pretrained, and call encode or encode_with_args. The second call sets a maximum token length and batch size. Defaults are a max length of 512 and a batch size of 1024. As a CLI, you install with the cli feature. encode-single prints one embedding as JSON, and encode reads a text file and writes embeddings to a JSON output file.

    Deployment Options and Performance

    Models can be loaded from raw bytes or owned/borrowed data, which suits embedded and WebAssembly use. Feature flags include local-only to disable remote downloads, fancy-regex as an alternative tokenizer backend, and wasm for in-memory loading. Supported weight types are f32, f16 and i8 in safetensors files. The README reports a single-threaded CPU benchmark of 8000 samples per second for Rust against 4650 for Python, roughly 1.7x faster. Its model table lists English, multilingual and code-focused potion models.

    Model2Vec-rs - 1

    Community Discussions

    Be the first to start a conversation about Model2Vec-rs

    Share your experience with Model2Vec-rs, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (MIT)

    Rust crate and CLI for Model2Vec static embedding inference, released under the MIT License.

    • MIT License
    • Use as a Rust library or standalone CLI
    • Load models from Hugging Face Hub, local paths, or in-memory bytes
    • Supports f32, f16, and i8 weight types in safetensors files
    • Batch processing with configurable max length and batch size

    Capabilities

    Key Features

    • Fast Rust inference for Model2Vec static embeddings
    • Load models from Hugging Face Hub or local paths
    • Supports f32, f16 and i8 weights in safetensors files
    • Load from bytes, owned or borrowed data for embedded and WASM use
    • Batch encoding with configurable max length and batch size
    • CLI for encoding single sentences or files to JSON
    • Feature flags: cli, fancy-regex, local-only, wasm

    Integrations

    Hugging Face Hub
    Model2Vec
    crates.io
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Model2Vec-rs and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Minish

    Solving big problems with small models

    Founded 2024
    2 employees
    Read more about Minish
    WebsiteGitHubLinkedInX / Twitter
    3 tools in directory

    Similar Tools

    Model2Vec icon

    Model2Vec

    Open-source Python library that distills any sentence transformer into a small, fast static embedding model.

    Xtriever icon

    Xtriever

    A hybrid retrieval engine for RAG that runs fully on-device — on iPhones, Android phones, and laptops — with no server or network required, written in Rust.

    ort icon

    ort

    Open-source Rust binding for ONNX Runtime that runs hardware-accelerated inference and training on ONNX models.

    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.

    184 tools

    AI Development Libraries

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

    462 tools

    Local Inference

    Tools and platforms for running AI inference locally without cloud dependence.

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