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

muflihimaduddin
/
sbert-finetuned-ce

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

Instructions to use muflihimaduddin/sbert-finetuned-ce with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use muflihimaduddin/sbert-finetuned-ce with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("muflihimaduddin/sbert-finetuned-ce")
    
    sentences = [
        "I would believe a list-based approach is preferable since you can modify the pointers of the nodes to add or remove elements from your stack.",
        "Link-based, because they are dynamic -LRB- no size constraints -RRB-",
        "log -LRB- log n -RRB- ; 2 to the power of -LRB- log n -RRB- ; n to the power of 2; n to the power of 3; n!",
        "Link-based, because they are dynamic -LRB- no size constraints -RRB-"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
sbert-finetuned-ce
332 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
muflihimaduddin's picture
muflihimaduddin
Upload folder using huggingface_hub
53742f6 verified about 2 months ago
  • 1_Pooling
    Upload folder using huggingface_hub about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    12.2 kB
    Upload folder using huggingface_hub about 2 months ago
  • config.json
    746 Bytes
    Upload folder using huggingface_hub about 2 months ago
  • config_sentence_transformers.json
    284 Bytes
    Upload folder using huggingface_hub about 2 months ago
  • model.safetensors
    328 MB
    xet
    Upload folder using huggingface_hub about 2 months ago
  • modules.json
    429 Bytes
    Upload folder using huggingface_hub about 2 months ago
  • sentence_bert_config.json
    241 Bytes
    Upload folder using huggingface_hub about 2 months ago
  • tokenizer.json
    3.56 MB
    Upload folder using huggingface_hub about 2 months ago
  • tokenizer_config.json
    579 Bytes
    Upload folder using huggingface_hub about 2 months ago