Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

mixedbread-ai
/
mxbai-embed-xsmall-v1

Feature Extraction
sentence-transformers
ONNX
Safetensors
OpenVINO
GGUF
English
bert
mteb
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
5

Instructions to use mixedbread-ai/mxbai-embed-xsmall-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use mixedbread-ai/mxbai-embed-xsmall-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mixedbread-ai/mxbai-embed-xsmall-v1")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use mixedbread-ai/mxbai-embed-xsmall-v1 with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible embeddings server:
    llama serve -hf mixedbread-ai/mxbai-embed-xsmall-v1:BF16 --embeddings
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible embeddings server:
    llama serve -hf mixedbread-ai/mxbai-embed-xsmall-v1:BF16 --embeddings
    Build from source code
    git clone https://github.com/ggml-org/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-app
    # Start a local OpenAI-compatible embeddings server:
    ./build/bin/llama serve -hf mixedbread-ai/mxbai-embed-xsmall-v1:BF16 --embeddings
  • Llama new
  • LM Studio
  • Jan
  • Ollama

    How to use mixedbread-ai/mxbai-embed-xsmall-v1 with Ollama:

    ollama run hf.co/mixedbread-ai/mxbai-embed-xsmall-v1:BF16
  • Unsloth Desktop
  • Docker Model Runner

    How to use mixedbread-ai/mxbai-embed-xsmall-v1 with Docker Model Runner:

    docker model run hf.co/mixedbread-ai/mxbai-embed-xsmall-v1:BF16
  • Lemonade

    How to use mixedbread-ai/mxbai-embed-xsmall-v1 with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull mixedbread-ai/mxbai-embed-xsmall-v1:BF16
    Run and chat with the model
    lemonade run user.mxbai-embed-xsmall-v1-BF16
    List all available models
    lemonade list
  • Atomic Chat
mxbai-embed-xsmall-v1
771 MB
Ctrl+K
Ctrl+K
  • 7 contributors
History: 7 commits
juliuslipp's picture
juliuslipp
Update README.md
e6ac24e verified over 1 year ago
  • 1_Pooling
    Initial commit about 2 years ago
  • gguf
    Upload GGUF files (fixed) (#3) about 2 years ago
  • onnx
    Upload ONNX weights (#1) about 2 years ago
  • openvino
    Add exported openvino model 'openvino_model_qint8_quantized.xml' (#5) almost 2 years ago
  • .gitattributes
    1.81 kB
    Upload GGUF files (fixed) (#3) about 2 years ago
  • README.md
    81.2 kB
    Update README.md over 1 year ago
  • angle_config.json
    344 Bytes
    Initial commit about 2 years ago
  • config.json
    675 Bytes
    Initial commit about 2 years ago
  • config_sentence_transformers.json
    195 Bytes
    Initial commit about 2 years ago
  • model.safetensors
    48.2 MB
    xet
    Initial commit about 2 years ago
  • modules.json
    229 Bytes
    Initial commit about 2 years ago
  • special_tokens_map.json
    695 Bytes
    Initial commit about 2 years ago
  • tokenizer.json
    712 kB
    Initial commit about 2 years ago
  • tokenizer_config.json
    1.43 kB
    Initial commit about 2 years ago
  • vocab.txt
    232 kB
    Initial commit about 2 years ago