Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
Generated from Trainer
dataset_size:245133
loss:MultipleNegativesRankingLoss
loss:MultipleNegativesSymmetricRankingLoss
loss:CoSENTLoss
Instructions to use FINGU-AI/FinguEm7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use FINGU-AI/FinguEm7b with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("FINGU-AI/FinguEm7b") sentences = [ "Awbere (woreda)", "Counterfeit Son is a 2000 novel by Elaine Marie Alphin and was written for young adults . It received a 2001 Edgar Award from the Mystery Writers of America for Best Young Adult Mystery . It is a psychological thriller .", "Awbere ( Awbarre ) , ( also known as Teferi Ber ) , is one of the woredas in the Somali Region of Ethiopia . Part of the Jijiga Zone , Awbere is bordered on the southwest by Jijiga , on the west by the Shinile Zone , on the east by Somalia , and on the southeast by Kebri Beyah . Towns in Awbere include Āwuberē , Derwonaji , Lefe Isa , and Sheed Dheer . High points in this woreda include Sau ( 1863 meters ) , near the international border .", "Aleksandra Delcheva (Bulgarian: Александра Делчева) (born April 11, 1987) is a Bulgarian volleyball player. She currently plays for Union Stade Français-Saint-Cloud Paris in France." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
| { | |
| "__version__": { | |
| "sentence_transformers": "3.0.1", | |
| "transformers": "4.41.2", | |
| "pytorch": "2.2.0+cu121" | |
| }, | |
| "prompts": { | |
| "query": "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: " | |
| }, | |
| "default_prompt_name": null, | |
| "similarity_fn_name": null | |
| } |