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
2.69 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
762ec0c verified 10 months ago
  • 0_Transformer
    Adding `safetensors` variant of this model 10 months ago
  • 1_Pooling
    First version of the sts-GBERT-de and tokenizer. about 5 years ago
  • .gitattributes
    758 Bytes
    Adding `safetensors` variant of this model 10 months 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