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

mlx-community
/
Qwen3-Embedding-8B-mxfp8

Feature Extraction
sentence-transformers
Safetensors
Transformers
MLX
qwen3
text-generation
sentence-similarity
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use mlx-community/Qwen3-Embedding-8B-mxfp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use mlx-community/Qwen3-Embedding-8B-mxfp8 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mlx-community/Qwen3-Embedding-8B-mxfp8")
    
    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]
  • Transformers

    How to use mlx-community/Qwen3-Embedding-8B-mxfp8 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="mlx-community/Qwen3-Embedding-8B-mxfp8")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("mlx-community/Qwen3-Embedding-8B-mxfp8")
    model = AutoModelForCausalLM.from_pretrained("mlx-community/Qwen3-Embedding-8B-mxfp8", device_map="auto")
  • MLX

    How to use mlx-community/Qwen3-Embedding-8B-mxfp8 with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    hf download mlx-community/Qwen3-Embedding-8B-mxfp8 --local-dir Qwen3-Embedding-8B-mxfp8
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • Atomic Chat
Qwen3-Embedding-8B-mxfp8
7.82 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
sealad886's picture
sealad886
Upload folder using huggingface_hub
51c773b verified 9 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 9 months ago
  • README.md
    1.07 kB
    Upload folder using huggingface_hub 9 months ago
  • config.json
    884 Bytes
    Upload folder using huggingface_hub 9 months ago
  • config_sentence_transformers.json
    215 Bytes
    Upload folder using huggingface_hub 9 months ago
  • generation_config.json
    117 Bytes
    Upload folder using huggingface_hub 9 months ago
  • model-00001-of-00002.safetensors
    5.36 GB
    xet
    Upload folder using huggingface_hub 9 months ago
  • model-00002-of-00002.safetensors
    2.44 GB
    xet
    Upload folder using huggingface_hub 9 months ago
  • model.safetensors.index.json
    30.4 kB
    Upload folder using huggingface_hub 9 months ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub 9 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload folder using huggingface_hub 9 months ago
  • tokenizer_config.json
    7.26 kB
    Upload folder using huggingface_hub 9 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 9 months ago