Sentence Similarity
Safetensors
sentence-transformers
PyLate
modernbert
ColBERT
code-search
code-retrieval
semantic-code-search
late-interaction
multi-vector
feature-extraction
Generated from Trainer
loss:CachedContrastive
text-embeddings-inference
Instructions to use Shuu12121/OwlColBERT-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Shuu12121/OwlColBERT-v1 with sentence-transformers:
from pylate import models queries = [ "Which planet is known as the Red Planet?", "What is the largest planet in our solar system?", ] documents = [ ["Mars is the Red Planet.", "Venus is Earth's twin."], ["Jupiter is the largest planet.", "Saturn has rings."], ] model = models.ColBERT(model_name_or_path="Shuu12121/OwlColBERT-v1") queries_emb = model.encode(queries, is_query=True) docs_emb = model.encode(documents, is_query=False) - Notebooks
- Google Colab
- Kaggle
Download config_sentence_transformers.json from Shuu12121/OwlColBERT-v1: direct link, hf CLI and curl.
- Browser
- Download file 6.18 kB
-
https://huggingface.co/Shuu12121/OwlColBERT-v1/resolve/main/config_sentence_transformers.json
- Command line
-
hf download hf://Shuu12121/OwlColBERT-v1/config_sentence_transformers.json
-
curl -L -o config_sentence_transformers.json https://huggingface.co/Shuu12121/OwlColBERT-v1/resolve/main/config_sentence_transformers.json
6.18 kB
| { | |
| "model_type": "SentenceTransformer", | |
| "__version__": { | |
| "sentence_transformers": "5.3.0", | |
| "transformers": "4.56.2", | |
| "pytorch": "2.8.0+cu128" | |
| }, | |
| "prompts": { | |
| "query": "", | |
| "document": "" | |
| }, | |
| "default_prompt_name": null, | |
| "similarity_fn_name": "MaxSim", | |
| "query_prefix": "[Q] ", | |
| "document_prefix": "[D] ", | |
| "query_length": 512, | |
| "document_length": 2048, | |
| "attend_to_expansion_tokens": false, | |
| "skiplist_words": [ | |
| " ", | |
| "\u010a\u010a\u010a\u010a\u010a", | |
| " ", | |
| " ", | |
| "\u010a", | |
| "\u010a\u010a\u010a\u010a", | |
| " ", | |
| " ", | |
| " ", | |
| " ", | |
| "\u010a\u010a\u010a", | |
| " ", | |
| " ", | |
| " ", | |
| "\u010d\u010a\u010d\u010a\u010d\u010a\u010d", | |
| " ", | |
| "\u010d", | |
| "\u010d\u010a\u010a", | |
| " ", | |
| " ", | |
| " ", | |
| " ", | |
| "\u0120", | |
| "\u010d\u010a\u010d", | |
| "\u0109", | |
| " ", | |
| "\u010b", | |
| " ", | |
| " ", | |
| " ", | |
| " ", | |
| "\u010d\u010a\u010d\u010a\u010d", | |
| " ", | |
| "\u010c", | |
| " ", | |
| "\t\t\t\t", | |
| "\t", | |
| "\u010d\u010a", | |
| " ", | |
| " ", | |
| " ", | |
| "\u010d\u010a\u010d\u010a", | |
| "\t\t", | |
| "\u010a\u010a\u010a\u010a\u010a\u010a\u010a\u010a", | |
| " ", | |
| "\t\t\t", | |
| " ", | |
| " ", | |
| "\u010a\u010a", | |
| " ", | |
| " ", | |
| " ", | |
| " ", | |
| "////////////////", | |
| "-**", | |
| "********************************", | |
| "====", | |
| "-----", | |
| "###", | |
| "/#/", | |
| "===", | |
| "////////////////////////////////////////////////////////////////", | |
| "*/", | |
| "**********", | |
| "************************************************", | |
| "/**", | |
| "########################################", | |
| "----------------", | |
| "----------------------", | |
| "********", | |
| "=====", | |
| "------------------------------------------------", | |
| "======", | |
| "================================================================", | |
| "==========", | |
| "//#", | |
| "=========", | |
| "****************************************************************", | |
| "==============================", | |
| "============================================================================", | |
| "**-", | |
| "--------------------------------------------------------------------------", | |
| "----------------------------------------------------------------------", | |
| "**/", | |
| "--------------", | |
| "------------------------------------------------------------------------------------------------", | |
| "//-------------------------------------------------------------------------------------------------------", | |
| "================================", | |
| "################", | |
| "----------", | |
| "-------------------------", | |
| "-----------------------------------------------------------------------------", | |
| "--------", | |
| "=======", | |
| "-----------------", | |
| "---------------------", | |
| "######", | |
| "-------------------", | |
| "/*---------------------------------------------------------------------------------------------", | |
| "//------------------------------------------------------------------------------", | |
| "////////", | |
| "================", | |
| "#######", | |
| "#####################", | |
| "*--------------------------------------------------------------------------------------------*/", | |
| "/*/", | |
| "----", | |
| "-->", | |
| "---------", | |
| "<!--", | |
| "########################################################", | |
| "****", | |
| "/////", | |
| "/******************************************************************", | |
| "--------------------------------------------------------------------------------------------", | |
| "-----------------------", | |
| "---------------------------------------------------------------------------------------------", | |
| "******", | |
| "------------------", | |
| "//=", | |
| "/***/", | |
| "--------------------------", | |
| "-----------", | |
| "====================================================", | |
| "/*", | |
| "====================", | |
| "****************************************************************************", | |
| "/*******************************************************************************", | |
| "/******************************************************************************", | |
| "////", | |
| "////////////////////////////////", | |
| "===========", | |
| "########################################################################", | |
| "----------------------------------------------------------------------------------------", | |
| "########", | |
| "#//", | |
| "///", | |
| "============", | |
| "########################", | |
| "//----------------------------------------------------------------", | |
| "/**/", | |
| "================================================", | |
| "******************************************************************************/", | |
| "***", | |
| "------------------------", | |
| "****/", | |
| "/-/", | |
| "--------------------------------", | |
| "################################", | |
| "=============================================================================", | |
| "-*-", | |
| "--------------------------------------------------------", | |
| "------------------------------------------------------------------------", | |
| "*****", | |
| "--------------------", | |
| "========", | |
| "*-*-", | |
| "/******/", | |
| "####", | |
| "****************", | |
| "---------------", | |
| "------", | |
| "---", | |
| "************", | |
| "################################################################", | |
| "#####", | |
| "-------", | |
| "------------", | |
| "-------------", | |
| "----------------------------------------------------------------", | |
| "--------------------------------------------------------------------------------------------*/", | |
| "---------------------------------------", | |
| "============================" | |
| ], | |
| "do_query_expansion": true | |
| } |