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

Qwen
/
Qwen3-Embedding-0.6B

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

Instructions to use Qwen/Qwen3-Embedding-0.6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Qwen/Qwen3-Embedding-0.6B with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Qwen/Qwen3-Embedding-0.6B")
    
    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 Qwen/Qwen3-Embedding-0.6B with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="Qwen/Qwen3-Embedding-0.6B")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-Embedding-0.6B")
    model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-Embedding-0.6B")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
Qwen3-Embedding-0.6B
1.21 GB
Ctrl+K
Ctrl+K
  • 6 contributors
History: 14 commits
alvarobartt's picture
alvarobartt HF Staff
Update `README.md` to use TEI v1.7 instead
a1ba5d0 verified 11 months ago
  • 1_Pooling
    Automatically add EOS via Tokenizer, integrate Sentence Transformers (#2) 12 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 12 months ago
  • README.md
    17.2 kB
    Update `README.md` to use TEI v1.7 instead 11 months ago
  • config.json
    727 Bytes
    Upload folder using huggingface_hub 12 months ago
  • config_sentence_transformers.json
    215 Bytes
    Automatically add EOS via Tokenizer, integrate Sentence Transformers (#2) 12 months ago
  • generation_config.json
    117 Bytes
    Upload folder using huggingface_hub 12 months ago
  • merges.txt
    1.67 MB
    Upload folder using huggingface_hub 12 months ago
  • model.safetensors
    1.19 GB
    xet
    Upload folder using huggingface_hub 12 months ago
  • modules.json
    349 Bytes
    Automatically add EOS via Tokenizer, integrate Sentence Transformers (#2) 12 months ago
  • tokenizer.json
    11.4 MB
    xet
    Automatically add EOS via Tokenizer, integrate Sentence Transformers (#2) 12 months ago
  • tokenizer_config.json
    9.71 kB
    Upload folder using huggingface_hub 12 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 12 months ago