Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
dense
Generated from Trainer
dataset_size:19764079
loss:CoSENTLoss
text-embeddings-inference
Instructions to use Remonatef/all-MiniLM-L6-v37-pair_score with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Remonatef/all-MiniLM-L6-v37-pair_score with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Remonatef/all-MiniLM-L6-v37-pair_score") sentences = [ "faster drying hair volumizer", "box of 8 cookies / blondies your choice of any 8 cookies or blondies. choose 1 flavor to get 8 pieces of the same flavor 2 flavors 4 pieces of each 4 flavors 2 pieces of each 8 flavors 1 piece of each.", "polo shirt- orange gender men brand dandy wear generic name t-shirt size m features basic types of fashion styles casual neckline polo closure style button-up sleeve style short sleeve color orange pattern plain fashion style polo basic plain polo shirt care instructions machine wash warm iron inside out do not bleach do not dry clean do not tumble dry", "racing car set the collection contains 12 miniature cars of different colors and shapes that are compact cars and suitable for children s hands. the game is suitable for children aged 3 years and above. these cars are used for imaginary play and small car racing. features motor development playing with small cars helps develop children s fine motor skills by grasping and moving small cars. creative thinking encourages children to create different stories and games using cars. imaginative play it helps children imitate real life and develop their social skills. learning cars can be used to teach children colors shapes and names. product material metal. product color multicolor. product weight 0.44" ] 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!