Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
Generated from Trainer
dataset_size:530
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use MANMEET75/pubmedbert-base-embedding-Chatbot-Matryoshk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use MANMEET75/pubmedbert-base-embedding-Chatbot-Matryoshk with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("MANMEET75/pubmedbert-base-embedding-Chatbot-Matryoshk") sentences = [ "If you receive a BharatPe speaker that you didn't order, please contact BharatPe support immediately. They will assist in resolving the issue and advise on the next steps.", "Can I control multiple BharatPe speakers from one app?", "What to do if the BharatPe speaker's transaction announcements are intermittently silent?", "What should I do if I receive a BharatPe speaker without ordering it?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download modules.json from MANMEET75/pubmedbert-base-embedding-Chatbot-Matryoshk: direct link, hf CLI and curl.
- Browser
- Download file 229 Bytes
-
https://huggingface.co/MANMEET75/pubmedbert-base-embedding-Chatbot-Matryoshk/resolve/main/modules.json
- Command line
-
hf download hf://MANMEET75/pubmedbert-base-embedding-Chatbot-Matryoshk/modules.json
-
curl -L -o modules.json https://huggingface.co/MANMEET75/pubmedbert-base-embedding-Chatbot-Matryoshk/resolve/main/modules.json
229 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.models.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.models.Pooling" | |
| } | |
| ] |