Run this model with HF Jobs
Run minishlab/shimmer on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/minishlab/shimmer. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/minishlab/shimmer on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use minishlab/shimmer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use minishlab/shimmer with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("minishlab/shimmer") embeddings = model.encode(["It's dangerous to go alone!", "It's a secret to everybody."]) print(embeddings.shape) - Notebooks
- Google Colab
- Kaggle
Upload 4 files
Browse filesFiles changed (4)
12 unmodified lines131415161718192021222312 unmodified linesbase_model: minishlab/blink-8M---# shimmer-76kshimmer-76k is a sparse retrieval model built from the static embeddings of [minishlab/blink-8M](https://huggingface.co/minishlab/blink-8M), meant to replace BM25. Documents are indexed with a tokenizer and a sparse lookup. Queries are weighted with a per-token constant, which means that querying is encoding-free. A document's weight only depends on its own text. All weights are part of the model's own 30,000-token vocabulary, so they can be stored as impacts in any inverted index, but require no corpus or index to function.shimmer is a drop-in replacement for BM25. Without using any external corpus statistics, it outperforms BM25 on the majority of benchmarks. This makes it useful in situations where you want good retrieval performance but the corpus distribution changes a lot, or where semantic overlap matters more than exact matches.12 unmodified lines1314151617181920212223242512 unmodified linesbase_model: minishlab/blink-8M---<div align="center"><img src="figures/shimmer-logo.svg" alt="shimmer logo" width="482"></div>shimmer-76k is a sparse retrieval model built from the static embeddings of [minishlab/blink-8M](https://huggingface.co/minishlab/blink-8M), meant to replace BM25. Documents are indexed with a tokenizer and a sparse lookup. Queries are weighted with a per-token constant, which means that querying is encoding-free. All weights are part of the model's own 30,000-token vocabulary, so they can be stored as impacts in any inverted index, but require no corpus or index to function; a document's representation only depends on the document text, nothing else.The entire model is 76k parameters, and is only 851KB on disk. The whole repo, including the tokenizer and README, is about 1.5MB.shimmer is a drop-in replacement for BM25. Without using any external corpus statistics, it outperforms BM25 on the majority of benchmarks. This makes it useful in situations where you want good retrieval performance but the corpus distribution changes a lot, or where semantic overlap matters more than exact matches.
README.md+5-3
figures/rteb_vs_beir.png

Large File Pointer Details
- SHA256: 690bd0b532f1560374d72f5f86754e8f217a70dbd7d3456d881e2c5b07ae6fb4
- Pointer size: 131 Bytes
- Size of remote file: 161 kB

Large File Pointer Details
- SHA256: df155a5adc0c9065f2e6a824abc8f9937dfd340b3175371be84692e814073f80
- Pointer size: 131 Bytes
- Size of remote file: 161 kB
figures/shimmer-logo.svgAdded
figures/shimmer-mark-on-light.svgAdded