Sentence Similarity
sentence-transformers
Safetensors
English
distilbert
feature-extraction
Generated from Trainer
dataset_size:100000
loss:MultipleNegativesRankingLoss
loss:CachedMultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use kwondw/quora-mnrl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use kwondw/quora-mnrl with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("kwondw/quora-mnrl") sentences = [ "What is the main circuit board of a computer? How is it built and what is its function?", "Information systems are too important to be left to computer specialist. Do you agree?", "What is the main circuit board of a computer? What are its functions?", "Has reading a book ever changed your life? Which one?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
| { | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertModel" | |
| ], | |
| "attention_dropout": 0.1, | |
| "bos_token_id": null, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "dtype": "float32", | |
| "eos_token_id": null, | |
| "hidden_dim": 3072, | |
| "initializer_range": 0.02, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "pad_token_id": 0, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.13.1", | |
| "use_cache": false, | |
| "vocab_size": 30522 | |
| } | |