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

dssjon
/
Qwen3-Embedding-4B-ONNX

Feature Extraction
Transformers.js
ONNX
sentence-transformers
qwen3
text-generation
sentence-similarity
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers.js

    How to use dssjon/Qwen3-Embedding-4B-ONNX with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('feature-extraction', 'dssjon/Qwen3-Embedding-4B-ONNX');
  • sentence-transformers

    How to use dssjon/Qwen3-Embedding-4B-ONNX with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("dssjon/Qwen3-Embedding-4B-ONNX")
    
    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
Qwen3-Embedding-4B-ONNX
32.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
dssjon's picture
dssjon
Upload folder using huggingface_hub
bc21862 verified 8 months ago
  • onnx
    Upload folder using huggingface_hub 8 months ago
  • .gitattributes
    1.68 kB
    Upload folder using huggingface_hub 8 months ago
  • README.md
    2.65 kB
    Upload folder using huggingface_hub 8 months ago
  • added_tokens.json
    605 Bytes
    Upload folder using huggingface_hub 8 months ago
  • chat_template.jinja
    2.43 kB
    Upload folder using huggingface_hub 8 months ago
  • config.json
    1.58 kB
    Upload folder using huggingface_hub 8 months ago
  • merges.txt
    1.67 MB
    Upload folder using huggingface_hub 8 months ago
  • model.onnx
    2.06 MB
    xet
    Upload folder using huggingface_hub 8 months ago
  • model.onnx_data
    16.1 GB
    xet
    Upload folder using huggingface_hub 8 months ago
  • special_tokens_map.json
    613 Bytes
    Upload folder using huggingface_hub 8 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload folder using huggingface_hub 8 months ago
  • tokenizer_config.json
    4.69 kB
    Upload folder using huggingface_hub 8 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 8 months ago