Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

pyrawn
/
simcse-bert-base-snli-unsup

Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
simcse
contrastive-learning
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use pyrawn/simcse-bert-base-snli-unsup with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use pyrawn/simcse-bert-base-snli-unsup with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("pyrawn/simcse-bert-base-snli-unsup")
    
    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
simcse-bert-base-snli-unsup
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
pyrawn's picture
pyrawn
Add new SentenceTransformer model
49a48bc verified about 1 month ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 month ago
  • 2_Normalize
    Add new SentenceTransformer model about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    6.6 kB
    Add new SentenceTransformer model about 1 month ago
  • config.json
    746 Bytes
    Add new SentenceTransformer model about 1 month ago
  • config_sentence_transformers.json
    282 Bytes
    Add new SentenceTransformer model about 1 month ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model about 1 month ago
  • modules.json
    413 Bytes
    Add new SentenceTransformer model about 1 month ago
  • sentence_bert_config.json
    241 Bytes
    Add new SentenceTransformer model about 1 month ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model about 1 month ago
  • tokenizer_config.json
    541 Bytes
    Add new SentenceTransformer model about 1 month ago