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

OneFly7
/
crossencoder_ep10_bs4_trans3

Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use OneFly7/crossencoder_ep10_bs4_trans3 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("OneFly7/crossencoder_ep10_bs4_trans3")
    
    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
crossencoder_ep10_bs4_trans3 / 2_Dense
3.34 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
OneFly7's picture
OneFly7
Add new SentenceTransformer model
03698f4 verified over 1 year ago
  • config.json
    115 Bytes
    Add new SentenceTransformer model over 1 year ago
  • model.safetensors
    3.22 kB
    xet
    Add new SentenceTransformer model over 1 year ago