Sentence Similarity
sentence-transformers
Safetensors
gemma3_text
feature-extraction
dense
Generated from Trainer
dataset_size:20000
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use yasserrmd/dental-gemma-300m-emb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use yasserrmd/dental-gemma-300m-emb with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("yasserrmd/dental-gemma-300m-emb") sentences = [ "What are some potential complications associated with peri-implantitis?\n", "Effective pain management in dentistry involves understanding whether a procedure will create an inflammatory response that activates pain mediators in tissue. Procedures on hard tooth structure generally cause little or no inflammatory response, while trauma to soft tissues can lead to pain. Using anti-inflammatory agents to control the inflammatory process can help alleviate pain in dental patients.", "Peri-implantitis can lead to inflammation of peri-implant tissues, hyperplasia and ulceration of pocket epithelium, and the presence of a mixed population of inflammatory cells. In more aggressive cases, it can also result in pyogenic granuloma, giant-cell granuloma, or Actinomyces-related inflammation. Additionally, there have been reports of peri-implantitis-associated oral malignancies. These complications often do not respond to conventional treatment.", "The most commonly reported symptoms after amalgam removal include tendency to rapid exhaustion, tiredness, concentration disturbance, and pain in joints and limbs. These symptoms are consistent with other studies conducted in similar populations." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K