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

Sahajtomar
/
German-semantic

Sentence Similarity
sentence-transformers
German
bert
semantic
Model card Files Files and versions
xet
Community
4

Instructions to use Sahajtomar/German-semantic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Sahajtomar/German-semantic with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Sahajtomar/German-semantic")
    
    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
German-semantic
1.34 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
Philip May
add concrete dataset
288c78a over 3 years ago
  • 0_Transformer
    First version of the sts-GBERT-de and tokenizer. about 5 years ago
  • 1_Pooling
    First version of the sts-GBERT-de and tokenizer. about 5 years ago
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • README.md
    1.43 kB
    add concrete dataset over 3 years ago
  • config.json
    52 Bytes
    Update config.json almost 5 years ago
  • modules.json
    242 Bytes
    First version of the sts-GBERT-de and tokenizer. about 5 years ago