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

  • Log In
  • Sign Up

Inkdrop
/
gpl

Sentence Similarity
sentence-transformers
PyTorch
causal-lm
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use Inkdrop/gpl with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Inkdrop/gpl")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
gpl / 20000
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
louis030195's picture
louis030195
first commit
04dbf12 almost 4 years ago
  • 1_Pooling
    first commit almost 4 years ago
  • README.md
    3.68 kB
    xet
    first commit almost 4 years ago
  • config.json
    601 Bytes
    xet
    first commit almost 4 years ago
  • config_sentence_transformers.json
    124 Bytes
    xet
    first commit almost 4 years ago
  • modules.json
    229 Bytes
    xet
    first commit almost 4 years ago
  • pytorch_model.bin
    265 MB
    xet
    first commit almost 4 years ago
  • sentence_bert_config.json
    53 Bytes
    xet
    first commit almost 4 years ago
  • special_tokens_map.json
    125 Bytes
    xet
    first commit almost 4 years ago
  • tokenizer.json
    712 kB
    xet
    first commit almost 4 years ago
  • tokenizer_config.json
    388 Bytes
    xet
    first commit almost 4 years ago
  • vocab.txt
    232 kB
    xet
    first commit almost 4 years ago