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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

manuel-couto-pintos
/
roberta_erisk_simcse

Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Generated from Trainer
dataset_size:30288
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use manuel-couto-pintos/roberta_erisk_simcse with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use manuel-couto-pintos/roberta_erisk_simcse with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("manuel-couto-pintos/roberta_erisk_simcse")
    
    sentences = [
        "Looks like a small cockroach, but much more colorful, 0.75\" long. [Atlanta, Georgia]  ",
        "Help me win a bet: What size gi does Marcelo Garcia wear? I suspect he uses different size pants relative to the gi-top because of his epic thighs relative to stature. My buddy just says A2 all around (on average, recognizing that it varies by brand). What do you say? ",
        "What little things about the Star Wars Universe do you love?  ",
        "Looks like a small cockroach, but much more colorful, 0.75\" long. [Atlanta, Georgia]  "
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
roberta_erisk_simcse / 1_Pooling
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
manuel-couto-pintos's picture
manuel-couto-pintos
Add new SentenceTransformer model.
be8fc22 verified almost 2 years ago
  • config.json
    296 Bytes
    Add new SentenceTransformer model. almost 2 years ago