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 / ritrieve
1.3 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Hofmann88's picture
Hofmann88
Campbell Embed v1
c2c4733 verified about 10 hours ago
  • config.json
    641 Bytes
    Campbell Embed v1 about 10 hours ago
  • model.safetensors
    1.3 GB
    xet
    Campbell Embed v1 about 10 hours ago
  • special_tokens_map.json
    695 Bytes
    Campbell Embed v1 about 10 hours ago
  • tokenizer.json
    439 kB
    Campbell Embed v1 about 10 hours ago
  • tokenizer_config.json
    1.46 kB
    Campbell Embed v1 about 10 hours ago
  • vocab.txt
    110 kB
    Campbell Embed v1 about 10 hours ago