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

Duplicated from  ssmits/Qwen2-7B-Instruct-embed-base

vllm-project
/
Qwen2-7B-Instruct-embed-base

Text Classification
sentence-transformers
Safetensors
English
qwen2
pretrained
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use vllm-project/Qwen2-7B-Instruct-embed-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use vllm-project/Qwen2-7B-Instruct-embed-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("vllm-project/Qwen2-7B-Instruct-embed-base")
    
    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
Qwen2-7B-Instruct-embed-base
14.2 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
hmellor's picture
hmellor HF Staff
Add provenance note for vLLM CI copy
bfd71e7 verified 2 days ago
  • 1_Pooling
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • .gitattributes
    1.52 kB
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • LICENSE
    11.3 kB
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • README.md
    4.24 kB
    Add provenance note for vLLM CI copy 2 days ago
  • config.json
    706 Bytes
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • generation_config.json
    248 Bytes
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • merges.txt
    1.67 MB
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • model-00001-of-00003.safetensors
    4.88 GB
    xet
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • model-00002-of-00003.safetensors
    4.93 GB
    xet
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • model-00003-of-00003.safetensors
    4.33 GB
    xet
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • model.safetensors.index.json
    27.7 kB
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • tokenizer.json
    7.03 MB
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • tokenizer_config.json
    1.29 kB
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago
  • vocab.json
    2.78 MB
    Duplicate from ssmits/Qwen2-7B-Instruct-embed-base 2 days ago