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

UBC-SLIME
/
sparcol-large-k512-no-cls

Feature Extraction
sentence-transformers
Safetensors
modernbert
sparse-encoder
sparse
Generated from Trainer
dataset_size:202427
loss:SpladeColbertTopKLoss
loss:FlopsLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use UBC-SLIME/sparcol-large-k512-no-cls with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use UBC-SLIME/sparcol-large-k512-no-cls with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("UBC-SLIME/sparcol-large-k512-no-cls")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
sparcol-large-k512-no-cls
1.52 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
charsiu's picture
charsiu
initial commit
8f5430f verified 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago