Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
An English sparse retrieval model from LightOn that turns queries and documents into sparse vectors for inverted-index search. It suits search engineers and developers building retrieval over English text.
SlideOn is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download lightonai/SlideOn
SlideOn is an English sparse retrieval model from LightOn with 174 million parameters. It turns each query and each document into a sparse vector with 32,768 dimensions, so a search system can keep the vectors in an inverted index and rank matches by dot product. It starts from LightOn's DenseOn model and was trained with sparse autoencoder pretraining, then retrieval fine-tuning.
It suits search engineers and developers who retrieve English text and want vectors that fit a classic inverted index. Researchers who compare sparse and dense retrieval can use it as one more data point.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Search | Search engineers | Store sparse vectors in an inverted index | Keep each document's active latents and look up posting lists for a query |
| AI applications | Developers building retrieval for language models | Fetch English passages for a question | Pull the best matching documents before an answer is written |
| Research | Retrieval researchers | Compare sparse and dense retrieval | Test the model on the BEIR-15 evaluation sets |
If your text is multilingual, long, or mostly code, you can skip it. The card points to its sibling mSlideOn for those cases.
The record lists sentence-transformers as its library, so Python is the natural place. The sparse vectors also suit any search system built on an inverted index.
| Use case | Who | What they get back |
|---|---|---|
| English document search | Search engineers | Ranked documents scored by dot product |
| Cheaper storage and search | Platform teams | Vectors you can prune at query time without retraining |
| Retrieval research | Researchers | Scores to compare against dense models |
You need Python with pip and the sentence-transformers library. Fetch the files from Hugging Face, then follow the model card for the exact loading calls.
pip install -U huggingface_hub hf download lightonai/SlideOn
Encode your queries and documents with the model to get sparse vectors. Store the active dimensions of each document in an inverted index. At search time, the query's dimensions select posting lists and their weights add up into document scores. Inputs can run to 8,192 tokens, and query and document sparsity can be set separately.
A developer indexes a set of English documents, then encodes a user question with the model. A dot-product search over the index returns the best matching documents. With queries capped at 64 nonzero dimensions and documents at 512, the card's score stays almost the same.
If you are new, sparse retrieval works like keyword search, except the model learns the keywords instead of reading them off the page. Start by downloading the files and reading the card's section on encoding.
If you know the field, a learned linear encoder maps each DenseOn token representation to its top 32 activations, followed by ReLU. Max pooling across tokens gives one vector per text. Joint query and document Matryoshka training keeps quality under pruning, so you tune cost at inference time.
The card reports BEIR-15 scores as average nDCG@10 over 15 datasets, higher is better. Capping nonzero values trims retrieval cost with little change in score.
An English sparse retrieval model from LightOn that turns queries and documents into sparse vectors for inverted-index search. It suits search engineers and developers building retrieval over English text.
Made by lightonai on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: SlideOn is an English sparse retrieval model from LightOn with 174 million parameters. It turns each query and each document into a sparse vector with 32,768 dimensions, so a search system can keep the vectors in an inverted index and rank matches by dot product. It starts from LightOn's DenseOn model and was trained with sparse autoencoder pretraining, then retrieval fine-tuning.
Who it suits: It suits search engineers and developers who retrieve English text and want vectors that fit a classic inverted index. Researchers who compare sparse and dense retrieval can use it as one more data point.
Title: Who might use it
Industry | Who uses it | How they use it | Example
Search | Search engineers | Store sparse vectors in an inverted index | Keep each document's active latents and look up posting lists for a query
AI applications | Developers building retrieval for language models | Fetch English passages for a question | Pull the best matching documents before an answer is written
Research | Retrieval researchers | Compare sparse and dense retrieval | Test the model on the BEIR-15 evaluation sets
If your text is multilingual, long, or mostly code, you can skip it. The card points to its sibling mSlideOn for those cases.
Where to use it: The record lists sentence-transformers as its library, so Python is the natural place. The sparse vectors also suit any search system built on an inverted index.
Title: Jobs it does
Use case | Who | What they get back
English document search | Search engineers | Ranked documents scored by dot product
Cheaper storage and search | Platform teams | Vectors you can prune at query time without retraining
Retrieval research | Researchers | Scores to compare against dense models
How to set it up: You need Python with pip and the sentence-transformers library. Fetch the files from Hugging Face, then follow the model card for the exact loading calls.
pip install -U huggingface_hub
hf download lightonai/SlideOn
How to use it: Encode your queries and documents with the model to get sparse vectors. Store the active dimensions of each document in an inverted index. At search time, the query's dimensions select posting lists and their weights add up into document scores. Inputs can run to 8,192 tokens, and query and document sparsity can be set separately.
Example: A developer indexes a set of English documents, then encodes a user question with the model. A dot-product search over the index returns the best matching documents. With queries capped at 64 nonzero dimensions and documents at 512, the card's score stays almost the same.
For newcomers and experts: If you are new, sparse retrieval works like keyword search, except the model learns the keywords instead of reading them off the page. Start by downloading the files and reading the card's section on encoding.
If you know the field, a learned linear encoder maps each DenseOn token representation to its top 32 activations, followed by ReLU. Max pooling across tokens gives one vector per text. Joint query and document Matryoshka training keeps quality under pruning, so you tune cost at inference time.
Query or document text comes in
DenseOn token representations are built
A learned encoder keeps the top 32 activations
Max pooling gives one sparse vector
A dot product over the index ranks documents
Good to know: The card reports BEIR-15 scores as average nDCG@10 over 15 datasets, higher is better. Capping nonzero values trims retrieval cost with little change in score.
Title: BEIR-15 score, nDCG@10
SlideOn unpruned: 56.68
SlideOn docs capped at 512: 56.98
SlideOn queries 64, docs 512: 56.66
DenseOn: 56.20
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download lightonai/SlideOn
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| SlideOn This page | 830 | 18 | 174M | apache-2.0 | |
| mSlideOnShares slideon · sparse-retrieval · matryoshka | 706 | 16 | 339M | apache-2.0 | |
| hs-embed-1Shares matryoshka · sentence-similarity · sentence-transformers | 22,412 | 7 | 112M | mit | |
| SPARSEUPShares sparse · sentence-similarity · sentence-transformers | 6,627 | 63 | 188M | apache-2.0 | |
| KURE-Sparse-nanoShares sparse · sentence-transformers · feature-extraction | 973 | 19 | 149M | apache-2.0 | |
| all-MiniLM-L6-v2Shares sentence-similarity · sentence-transformers · feature-extraction | 174,740,184 | 6,104 | 22.7M | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
alpindale · Kit
Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…
prithivMLmods · Kit
Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…