Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:7598
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use knguyennguyen/mpnet_jacket4k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use knguyennguyen/mpnet_jacket4k with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("knguyennguyen/mpnet_jacket4k") sentences = [ "men's jacket featuring a waterproof outer layer, an insulated inner layer, and multiple secure pockets for storage.", "Title: Pure Leather Biker Short Jacket Black Men’s Bike Jackets - Cowhide Top Grain Classic Belted Strap Descripion: ['We Believe in Beauty of Simplicity' 'PURE LEATHER'\n 'jackets are negligible and made for regular wear. Our plans are ageless any style without overwhelming it, in light of the fact that there is'\n 'Beauty in Simplicity' '.' 'Product Detail:'\n 'This black leather jacket for men is traditional yet contemporary and useful ranging from your weekend sport coat. With great style, this cowhide leather cool leather jackets for men will keep you warm and comfortable in all types of weather. The style is similar to our PR-40 in Natural Sheep Leather but this one comes in a different leather altogether Cow Natural. Molds need to be removed because they are prone to breeding when three Parts of it are in excess. Parts are dirt, its multiplicity, and temperature. Firstly, you have to hang it on a hanger in a nicely-ventilated place.'\n 'Note:'\n 'The color will become slightly darker due to its transparent appearance. Do not stretch it for extended time as it will fall prey to different proportions. Jackets from Pure Leather are made by caring people who love their jobs, so you won’t get annoyed or disappointed when wearing them!! (Do Not Wash. Do Not Bleach. Do Not Tumble. Do Not Iron, Dry Clean only- Satisfaction guaranteed'\n 'A Great Gift:'\n 'These beautiful Jackets Would be a perfect gift for that special someone in your life. Buy these jackets for your Husband, Son, Brother, or best friend, and without a doubt you have purchased the perfect present for the any occasion, whether it is for Father’s Day, Valentine-day, Christmas, Graduation or their Birthday.'\n 'Material:' 'Cowhide Leather' 'Colors:' 'Black' 'Click' 'ADD TO CART'\n 'to order your Ancient Jacket' 'TODAY!']", "Title: Pendleton Men's Jacquard Sherpa-Lined Shirt Jacket Descripion: ['New style for Pendleton but using our iconic Harding print. Taking our classic shirt jacket and lining it with soft sherpa for warmth.']", "Title: THE NORTH FACE Men's Clement Triclimate Jacket Descripion: ['The North Face Size Chart' 'The North Face Size Chart'\n 'Please note, the logo and hardware color may vary in styles marked as Prior Season.'\n 'Please note, the logo and hardware color may vary in styles marked as Prior Season.'\n 'Your go-to jacket all season long, this versatile The North Face® Clement Triclimate Jacket system pairs a breathable, waterproof shell with a warm, insulated liner jacket'\n 'Your go-to jacket all season long, this versatile The North Face® Clement Triclimate Jacket system pairs a breathable, waterproof shell with a warm, insulated liner jacket'\n 'Waterproof, insulated three-in-one ski jacket.'\n 'Waterproof, insulated three-in-one ski jacket.'\n 'Removable, helmet-compatible hood.' 'Removable, helmet-compatible hood.'\n 'Secure-zip chest and hand pockets.' 'Secure-zip chest and hand pockets.'\n 'Internal goggle pocket.' 'Internal goggle pocket.'\n 'Underarm vents for added breathability.'\n 'Underarm vents for added breathability.'\n 'Secure-zip wrist pocket with goggle wipe.'\n 'Secure-zip wrist pocket with goggle wipe.' 'Zip-in integration.'\n 'Zip-in integration.' 'Secure-zip hand pockets.'\n 'Secure-zip hand pockets.' '100% polyester.' '100% polyester.'\n '50D 73 G/M² 100% Recycled Polyester With Non-PFC DWR Finish.'\n '50D 73 G/M² 100% Recycled Polyester With Non-PFC DWR Finish.'\n 'Machine wash cold, hang dry.' 'Machine wash cold, hang dry.' 'Imported.'\n 'Imported.']" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K