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

  • Log In
  • Sign Up

mlx-community
/
bge-m3-mlx-4bit

Feature Extraction
MLX
Safetensors
sentence-transformers
xlm-roberta
embedding
text-embeddings-inference
retrieval
4bit
quantized
Model card Files Files and versions
xet
Community

Instructions to use mlx-community/bge-m3-mlx-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use mlx-community/bge-m3-mlx-4bit with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    huggingface-cli download --local-dir bge-m3-mlx-4bit mlx-community/bge-m3-mlx-4bit
  • sentence-transformers

    How to use mlx-community/bge-m3-mlx-4bit with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mlx-community/bge-m3-mlx-4bit")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
bge-m3-mlx-4bit
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
fanwe's picture
fanwe
Upload BGE-M3 MLX 4bit model
0a93c12 verified 2 months ago
  • .gitattributes
    1.57 kB
    Upload BGE-M3 MLX 4bit model 2 months ago
  • README.md
    3.02 kB
    Upload BGE-M3 MLX 4bit model 2 months ago
  • config.json
    814 Bytes
    Upload BGE-M3 MLX 4bit model 2 months ago
  • config_sentence_transformers.json
    123 Bytes
    Upload BGE-M3 MLX 4bit model 2 months ago
  • model.safetensors
    320 MB
    xet
    Upload BGE-M3 MLX 4bit model 2 months ago
  • model.safetensors.index.json
    51.2 kB
    Upload BGE-M3 MLX 4bit model 2 months ago
  • modules.json
    349 Bytes
    Upload BGE-M3 MLX 4bit model 2 months ago
  • sentence_bert_config.json
    54 Bytes
    Upload BGE-M3 MLX 4bit model 2 months ago
  • special_tokens_map.json
    964 Bytes
    Upload BGE-M3 MLX 4bit model 2 months ago
  • tokenizer.json
    17.1 MB
    xet
    Upload BGE-M3 MLX 4bit model 2 months ago
  • tokenizer_config.json
    379 Bytes
    Upload BGE-M3 MLX 4bit model 2 months ago