Sentence Similarity
Safetensors
sentence-transformers
Turkish
PyLate
bert_hash
ColBERT
feature-extraction
Generated from Trainer
dataset_size:910904
loss:Contrastive
custom_code
Instructions to use newmindai/colbert-hash-pico-tr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use newmindai/colbert-hash-pico-tr 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="newmindai/colbert-hash-pico-tr") queries_emb = model.encode(queries, is_query=True) docs_emb = model.encode(documents, is_query=False) - Notebooks
- Google Colab
- Kaggle
Download config.json from newmindai/colbert-hash-pico-tr: direct link, hf CLI and curl.
- Browser
- Download file 903 Bytes
-
https://huggingface.co/newmindai/colbert-hash-pico-tr/resolve/main/config.json
- Command line
-
hf download hf://newmindai/colbert-hash-pico-tr/config.json
-
curl -L -o config.json https://huggingface.co/newmindai/colbert-hash-pico-tr/resolve/main/config.json
903 Bytes
| { | |
| "architectures": [ | |
| "BertHashModel" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "auto_map": { | |
| "AutoConfig": "configuration_bert_hash.BertHashConfig", | |
| "AutoModel": "modeling_bert_hash.BertHashModel", | |
| "AutoModelForMaskedLM": "modeling_bert_hash.BertHashForMaskedLM", | |
| "AutoModelForSequenceClassification": "modeling_bert_hash.BertHashForSequenceClassification" | |
| }, | |
| "classifier_dropout": null, | |
| "dtype": "float32", | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 80, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 320, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert_hash", | |
| "num_attention_heads": 2, | |
| "num_hidden_layers": 2, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "projections": 8, | |
| "transformers_version": "4.56.2", | |
| "type_vocab_size": 2, | |
| "use_cache": true, | |
| "vocab_size": 30524 | |
| } | |