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

lightonai
/
DenseOn

Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
dense
text-embeddings-inference
🇪🇺 Region: EU
Model card Files Files and versions
xet
Community
3

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

  • Libraries
  • sentence-transformers

    How to use lightonai/DenseOn with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("lightonai/DenseOn")
    
    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]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Will there be a 8192 token input variant of DenseOn?

1
#3 opened 6 days ago by
jshree

DenseOn produces a non-finite FP16 embedding for a long-tail query from the Amazon ESCI dataset

1
#2 opened 7 days ago by
jshree

Update README.md

#1 opened 4 months ago by
thomasht86
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs