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 / 0_Transformer
1.34 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Sahajtomar's picture
Sahajtomar
First version of the sts-GBERT-de and tokenizer.
63efba5 about 5 years ago
  • config.json
    505 Bytes
    First version of the sts-GBERT-de and tokenizer. about 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "torch.LongStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    1.34 GB
    xet
    First version of the sts-GBERT-de and tokenizer. about 5 years ago
  • sentence_bert_config.json
    54 Bytes
    First version of the sts-GBERT-de and tokenizer. about 5 years ago
  • special_tokens_map.json
    112 Bytes
    First version of the sts-GBERT-de and tokenizer. about 5 years ago
  • tokenizer_config.json
    328 Bytes
    First version of the sts-GBERT-de and tokenizer. about 5 years ago
  • vocab.txt
    240 kB
    First version of the sts-GBERT-de and tokenizer. about 5 years ago