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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

andreasmartin
/
apertus-v1.1-swiss-embed-0.4b-bidir-langmoe

Sentence Similarity
sentence-transformers
Safetensors
apertus
embeddings
retrieval
multilingual
swiss
apertus-1.1
bidirectional
matryoshka
Mixture of Experts
language-moe
sparse-routing
Model card Files Files and versions
xet
Community

Instructions to use andreasmartin/apertus-v1.1-swiss-embed-0.4b-bidir-langmoe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use andreasmartin/apertus-v1.1-swiss-embed-0.4b-bidir-langmoe with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("andreasmartin/apertus-v1.1-swiss-embed-0.4b-bidir-langmoe")
    
    sentences = [
        "Das ist eine glückliche Person",
        "Das ist ein glücklicher Hund",
        "Das ist eine sehr glückliche Person",
        "Heute ist ein sonniger Tag"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
apertus-v1.1-swiss-embed-0.4b-bidir-langmoe / 2_LanguageMoE
14.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
andreasmartin's picture
andreasmartin
Update standalone Apertus embedding model: moe_head
a436d22 verified about 24 hours ago
  • config.json
    225 Bytes
    Update standalone Apertus embedding model: moe_head 2 days ago
  • model.safetensors
    14.7 MB
    xet
    Update standalone Apertus embedding model: moe_head about 24 hours ago