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

  • Log In
  • Sign Up

StyleDistance
/
styledistance

Sentence Similarity
sentence-transformers
Safetensors
English
roberta
datadreamer
datadreamer-0.35.0
Synthetic
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • sentence-transformers

    How to use StyleDistance/styledistance with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("StyleDistance/styledistance")
    
    sentences = [
        "Did you hear about the Wales wing? He'll h8 2 withdraw due 2 injuries from future competitions.",
        "We're raising funds 2 improve our school's storage facilities and add new playground equipment!",
        "Did you hear about the Wales wing? He'll hate to withdraw due to injuries from future competitions."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
styledistance
253 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 118 commits
nielsr's picture
nielsr HF Staff
Add link to paper
26226af verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    4.21 kB
    Add link to paper about 1 year ago
  • config.json
    678 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    171 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • datadreamer.json
    4.24 kB
    Pushed by DataDreamer almost 2 years ago
  • merges.txt
    456 kB
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    249 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    280 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    2.11 MB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.22 kB
    Add new SentenceTransformer model. almost 2 years ago
  • training_args.json
    4.48 kB
    Pushed by DataDreamer almost 2 years ago
  • vocab.json
    798 kB
    Add new SentenceTransformer model. almost 2 years ago