Feature Extraction
sentence-transformers
Safetensors
Korean
English
milco
sparse-encoder
sparse
splade
learned-sparse-retrieval
custom_code
Run this model with HF Jobs
Run nlpai-lab/KURE-Sparse-base 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/nlpai-lab/KURE-Sparse-base. 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/nlpai-lab/KURE-Sparse-base 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 nlpai-lab/KURE-Sparse-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nlpai-lab/KURE-Sparse-base with sentence-transformers:
from sentence_transformers import SparseEncoder model = SparseEncoder("nlpai-lab/KURE-Sparse-base", trust_remote_code=True) queries = ["Which planet is known as the Red Planet?"] documents = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", ] query_embeddings = model.encode_query(queries) document_embeddings = model.encode_document(documents) similarities = model.similarity(query_embeddings, document_embeddings) print(similarities) - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from nlpai-lab/KURE-Sparse-base: direct link, hf CLI and curl.
- Browser
- Download file 17.1 MB
-
https://huggingface.co/nlpai-lab/KURE-Sparse-base/resolve/main/tokenizer.json
- Command line
-
hf download hf://nlpai-lab/KURE-Sparse-base/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/nlpai-lab/KURE-Sparse-base/resolve/main/tokenizer.json
17.1 MB
- Xet hash:
- 93007d81ace52e3f7543d6987d03b112ca8c3350f737836d9c6e90c26cd146ce
- Size of remote file:
- 17.1 MB
- SHA256:
- 326c392f5799a1a73fb5118bac1e78bfc02ad3ca7f04c002cda9915721218c7d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.