Feature Extraction
sentence-transformers
Safetensors
English
modernbert
sparse
sentence-similarity
custom-code
splade
sparse-retrieval
matryoshka
custom_code
text-embeddings-inference
Instructions to use Linkup-Platform/linkup-sparseup-embed-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Linkup-Platform/linkup-sparseup-embed-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Linkup-Platform/linkup-sparseup-embed-v2", trust_remote_code=True) 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
Download tokenizer_config.json from Linkup-Platform/linkup-sparseup-embed-v2: direct link, hf CLI and curl.
- Browser
- Download file 546 Bytes
-
https://huggingface.co/Linkup-Platform/linkup-sparseup-embed-v2/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Linkup-Platform/linkup-sparseup-embed-v2/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Linkup-Platform/linkup-sparseup-embed-v2/resolve/main/tokenizer_config.json
546 Bytes
| { | |
| "backend": "tokenizers", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "is_local": true, | |
| "mask_token": "[MASK]", | |
| "max_length": 256, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 8192, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "[PAD]", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sep_token": "[SEP]", | |
| "stride": 0, | |
| "tokenizer_class": "PreTrainedTokenizerFast", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "[UNK]" | |
| } |