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

  • Log In
  • Sign Up

cahya
/
last-sts

Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
Generated from Trainer
dataset_size:353831
loss:CosineSimilarityLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use cahya/last-sts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use cahya/last-sts with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("cahya/last-sts")
    
    sentences = [
        "A chef is preparing some food.",
        "Five birds stand on the snow.",
        "A chef prepared a meal.",
        "There is no 'still' that is not relative to some other object."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
last-sts
646 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
cahya's picture
cahya
Add new SentenceTransformer model
6661359 verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    46.5 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    1.18 kB
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    641 MB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    4.7 MB
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    19.5 kB
    Add new SentenceTransformer model about 1 year ago