Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:1103
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use SriRamanaAtmic/AtmicQuoterv2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use SriRamanaAtmic/AtmicQuoterv2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("SriRamanaAtmic/AtmicQuoterv2") sentences = [ "Represent this sentence for searching relevant passages: What, and how, did Bhagavan Ramana Maharshi teach people that consuming alcohol is not good?", "What independence have I? If I am thirsty, I must ask you for water. If I went to the kitchen instead and asked, they would say, “Oh, this Swami has started exercising authority over us", "To a despondent devotee, Bhagavan went so far as to say, \"Even if you go to hell, I shall follow you\" to bring you back, though he questioned why the devotee would choose actions leading there.", "Krishnamurti says that man should find out the ‘I’. Then ‘I’ dissolves away... His teaching seems to be very much like Buddha’s. ... Yes - yes, beyond expression", "\"Yesterday a newly arrived Andhra youth told Bhagavan about the vagaries of his senses to which Bhagavan said, 'All that is due to the mind. Set it right.' 'That is all right, Swami, but however much I try to reduce this anger, it comes on again and again. What shall I do?'\"", "\"When Bhagavan saw the heap of brinjal stalks, he said, 'Why have the stalks been thrown away? They can be cooked and served as one of the dishes during a meal.' ... Bhagavan never tolerated wastage.\"", "An intoxicated young man entered the hall shouting \"Aham Brahmasmi.\" When Bhagavan softly told him to be quiet, the man instantly lost all power of speech.", "\"Adversity will make a man feel that there is a power beyond his control... then he will begin with rituals and move to vichara.\"", "Bhagavan quoted this verse—Yasya nahankrito bhavo buddhir yasya na lipyate...—to show that a Jnani is not bound by the results of his actions. He noted that even if such a soul were to \"annihilate all the worlds,\" he does not slay nor is he bound, because he is free from the notion of ego.", "\"What independence have I? If I am thirsty, I must ask you for water. If I went to the kitchen instead and asked, they would say, 'Oh, this Swami has started exercising authority over us'.\"", "One ever is the Self; to ask ‘Who am I?’ is compared to a drunken man asking for his identity", "Bhagavan cautioned that while drugs might produce temporary states of bliss, they ultimately create obstacles to true knowledge. \"I do admit that drugs have some beneficial effect. A certain drug can make the whole body melt and flow like the Milky Ocean... The Chinese look like skeletons, but when they take opium, they feel like giants and do any difficult work... Moreover after some time the drug-habit will become a great fetter and obstacle to Jnana (knowledge). Its addicts will not flinch from any crime to satisfy their craving.\"" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [12, 12] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!