Sentence Similarity
sentence-transformers
ONNX
Safetensors
gemma3_text
feature-extraction
Generated from Trainer
dataset_size:744489
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use dhammanana/harrier-tipitaka-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dhammanana/harrier-tipitaka-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dhammanana/harrier-tipitaka-v1") sentences = [ "Instruct: Represent this Buddhist passage for semantic retrieval.\nQuery: Yo hi [yehi (?)] bhikkhu idhātāpī, khayaṃ dukkhassa pāpuṇe ’’ ti. navamaṃ;", "She conducts herself in a way that is agreeable to her husband, and protects the wealth he has earned.", "The bhikkhu who is ardent here may reach the exhaustion of suffering.” The ninth.", "“Formerly, monks, this thought occurred to King Yama: ‘Those in the world who do evil deeds, bho, are punished with such diverse tortures. Oh, that I might attain the human state! That a Tathāgata, an Arahant, a Perfectly Self-Awakened One might arise in the world! That I might attend upon that Blessed One!" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!