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

Pyro-X2
/
distilbert-base-uncased-sts

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

Instructions to use Pyro-X2/distilbert-base-uncased-sts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Pyro-X2/distilbert-base-uncased-sts with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Pyro-X2/distilbert-base-uncased-sts")
    
    sentences = [
        "I have the same thing.",
        "And, Obama gets zero credit for the budget under him.",
        "UK urges countries over Syria aid",
        "I have the same situation and have traveled extensively."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-base-uncased-sts
266 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Pyro-X2's picture
Pyro-X2
Add new SentenceTransformer model
e2544c0 verified 7 months ago
  • 1_Pooling
    Add new SentenceTransformer model 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    17.3 kB
    Add new SentenceTransformer model 7 months ago
  • config.json
    546 Bytes
    Add new SentenceTransformer model 7 months ago
  • config_sentence_transformers.json
    207 Bytes
    Add new SentenceTransformer model 7 months ago
  • model.safetensors
    265 MB
    xet
    Add new SentenceTransformer model 7 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 7 months ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model 7 months ago
  • special_tokens_map.json
    125 Bytes
    Add new SentenceTransformer model 7 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 7 months ago
  • tokenizer_config.json
    1.23 kB
    Add new SentenceTransformer model 7 months ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model 7 months ago