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

aari1995
/
German_Semantic_V3b

Sentence Similarity
sentence-transformers
Safetensors
German
bert
feature-extraction
loss:MatryoshkaLoss
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community
4

Instructions to use aari1995/German_Semantic_V3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use aari1995/German_Semantic_V3b with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("aari1995/German_Semantic_V3b", trust_remote_code=True)
    
    sentences = [
        "Ein Mann übt Boxen",
        "Ein Affe praktiziert Kampfsportarten.",
        "Eine Person faltet ein Blatt Papier.",
        "Eine Frau geht mit ihrem Hund spazieren."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

no gguf?

#4 opened 5 months ago by
kalle07

I found that obtaining text similarity is very slow. Are there any faster methods?

3
#3 opened over 1 year ago by
caochengchen

leaderboard for german?

1
#1 opened over 1 year ago by
mhollomey
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs