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

funkandlove
/
campbell-embed-v1

Sentence Similarity
sentence-transformers
Safetensors
Chinese
feature-extraction
embeddings
mteb
chinese
Model card Files Files and versions
xet
Community

Instructions to use funkandlove/campbell-embed-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use funkandlove/campbell-embed-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("funkandlove/campbell-embed-v1")
    
    sentences = [
        "那是 個快樂的人",
        "那是 條快樂的狗",
        "那是 個非常幸福的人",
        "今天是晴天"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
campbell-embed-v1
4.14 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Hofmann88's picture
Hofmann88
Campbell Embed v1
c2c4733 verified about 10 hours ago
  • conan
    Campbell Embed v1 about 10 hours ago
  • ritrieve
    Campbell Embed v1 about 10 hours ago
  • scooby
    Campbell Embed v1 about 10 hours ago
  • yuan
    Campbell Embed v1 about 10 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 10 hours ago
  • LICENSE-APACHE-2.0.txt
    11.4 kB
    Campbell Embed v1 about 10 hours ago
  • README.md
    7.55 kB
    Campbell Embed v1 about 10 hours ago
  • THIRD_PARTY_NOTICES.md
    2.54 kB
    Campbell Embed v1 about 10 hours ago
  • campbell_config.json
    181 Bytes
    Campbell Embed v1 about 10 hours ago
  • campbell_fusion.py
    8.26 kB
    Campbell Embed v1 about 10 hours ago
  • campbell_head.safetensors
    138 MB
    xet
    Campbell Embed v1 about 10 hours ago
  • config_sentence_transformers.json
    283 Bytes
    Campbell Embed v1 about 10 hours ago
  • modules.json
    223 Bytes
    Campbell Embed v1 about 10 hours ago