Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • 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: 9 commits
Sahajtomar's picture
Sahajtomar
Update config.json
2482fdc almost 5 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.42 kB
    Standardized metadata in README.md almost 5 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