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

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

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

Instructions to use ssmits/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 ssmits/Qwen2-7B-Instruct-embed-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("ssmits/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
11.5 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
ssmits's picture
ssmits
Delete consolidated.safetensors
7a0dc47 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • LICENSE
    11.3 kB
    Upload 8 files almost 2 years ago
  • README.md
    1.04 kB
    Update README.md almost 2 years ago
  • config.json
    657 Bytes
    Update architecture from QwenForSequenceClassification to QwenModel almost 2 years ago
  • generation_config.json
    138 Bytes
    Upload 8 files almost 2 years ago
  • merges.txt
    1.67 MB
    Upload 8 files almost 2 years ago
  • model.safetensors.index.json
    25 kB
    Update model.safetensors.index.json almost 2 years ago
  • tokenizer.json
    7.03 MB
    Upload 8 files almost 2 years ago
  • tokenizer_config.json
    1.29 kB
    Upload 8 files almost 2 years ago
  • vocab.json
    2.78 MB
    Upload 8 files almost 2 years ago