---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:4693
- loss:MultipleNegativesRankingLoss
base_model: FacebookAI/roberta-base
widget:
- source_sentence: I'm looking for a pair of sleek and comfortable footwear designed
for running. They should offer a lightweight feel and have a striking appearance.
sentences:
- 'Title: Wood Sunglasses for Men and Women Vintage Polarized Lenses Uv Protection
Bamboo Wooden Sun Glasses Descripion: [''SUNMER WOOD (Brand) Your love for the
outdoors and warm summer days shouldn’t come at the cost of your eyes. While the
sun creates the perfect setting for exploring nature, its harmful UVA and UVB
rays can cause immense damage to your eyes and skin, causing not just visual deterioration
but wrinkles too. At Sunmer Wood, we are a team of designers specializing in making
premium sunglasses that give your eyes protection and your outfit a stylish upgrade.
We use organic wood and heavy-duty materials to ensure unmatched durability and
world-class comfort.'']'
- 'Title: Nike Men''s Epic React Flyknit Running Shoes Descripion: [''The Nike Epic
React Flyknit provides a smooth, lightweight performance and a bold look.'']'
- 'Title: Metal D Rings Heavy Duty 1 Inch D Shape Rings for Sewing, Keychains, Straps
Ties, Belts, Crafts and Dog Leash (50 Pack) Descripion: [''50pcs 1inch Metal D
Rings Buckles for Straps Ties Belts Bags, Silver ☛Specification : √Material:
alloy √Color: Silver √Inner width: 25mm √Inner high: 16mm √Thickness: 3mm ☛LOAD
BEARING : Made from strong metal, these D ring fasteners have good load bearing
characteristics and can resist sudden impact. ☛GOOD GIFTS : The package includes
50 pieces Silver d rings. You can use them to make beautiful bags to send your
friends or your family. ☛APPLICATION: Suitable for DIY Fashion Belts. Suitable
for Pets Collars. Suitable for Strap. ☛Package included: 50 x D Rings(1 inch) ☛Note:
1.Please allow 1-3mm minor deviation due to manual measurement. 2.Due to the difference
between different monitors, the picture may not reflect the actual color of the
item.'']'
- source_sentence: I'm looking for a versatile outdoor garment that can handle various
weather conditions while providing ample storage options. It should be comfortable
to wear for activities like fishing or photography and have a hood that can be
removed.
sentences:
- "Title: Yimidear Unisex Outdoor Casual Quick-Drying Extra Pockets Fishing Vest\
\ Travel Photography Vest with Detachable Hood Descripion: ['Features:'\n 'The\
\ characteristics of the multi-functional leisure vest features large capacity,\
\ highly breathable, can protect you from wind and rain. And this multi-purpose\
\ vest with high strength and good extensibility, will make you feel comfortable.Condition:\
\ 100% Brand New.Material: Nylon & Polyester MeshGender: Men&Women'\n 'Size:'\n\
\ 'M: Bust: 110cm/43.3\", Shoulder Width: 42cm/16.54\", Clothes Length: 62cm/24.4\"\
.L: Bust: 114cm/44.88\", Shoulder Width: 43cm/16.93\", Clothes Length: 66cm/25.98\"\
.XL: Bust: 116cm/45.67\", Shoulder Width: 44cm/17.32\", Clothes Length: 68cm/26.77\"\
.XXL: Bust: 122cm/48\", Shoulder Width: 46cm/18.1\", Clothes Length: 70cm/27.56\"\
.'\n 'Note:'\n '1-2cm error of measuring is a reasonable range due to different\
\ measurement methods.Please kingly understand that.Due to different camera lens\
\ and light environments, the real item color which you receive may be a little\
\ vary from the listing picture. Thanks for your understanding.'\n 'Package include'\
\ '1 x Vest']"
- 'Title: 1-3 Pack Famous TIK Tok Butt Lift High Waist Yoga Workout Pants Pattern
Scrunch Tummy Control Sliming Leggings for Women Descripion: [''72% Polyester,
28% Spandex Tiktok Internet celebrity recommendation. Turn your gear inside out
when washing; wash separately. Air dry or tumble dry low Crafted from a brushed,
buttery soft and stretch fabric for delivering you the naked sensation and the
unrestricted movement Experience the comfort of yoga pants with a seamless waistband
that does not dig in Side pockets allow you to store your personal items when
you’re on the go Flatlock construction minimize chafe. Approx. 25” inseam; 7/8
length'']'
- 'Title: I Love You 3000 Keychain Iron Man for Women Men Valentine Day Gifts for
Lover Couple Christmas Birthday Anniversary Keychain Gifts for Boyfriend Husband
Love You Gifts for Fiance for Him Her Descripion: [''★"I love you 3,000", a line
originally said by Tony Stark\''s daughter Morgan in Avengers: Endgame, is definitely
going down in history as one of the most impactful quotes in the Marvel Cinematic
Universe (MCU).★Although he may be gone, his influence lives in every one of us.
Buy these keychains to show as a proof to others that Tony Stark has a Heart and
your love for him is 3000.★Exquisite and Useful: Delicate Keychain pendant look
chic, great on your purses backpack handbags, and also fit for as DIY accessories
to connect charms, links and other ornaments★After-Sales Service: 90-Day money
back guarantee or replacement; We are engaged in providing the best shopping experience
for you.★Notice: The little connecting ring is soldered to hold the plates securely.'']'
- source_sentence: I'm looking for a collectible set that celebrates a specific game
location, featuring a unique character. It should include a decorative pin and
be a fun addition to a gaming collection.
sentences:
- 'Title: Pokemon Champions Path Pin Collection Hammerlocke Gym Featuring Duraludon
Descripion: [''Pokemon Champions Path Pin Collection Hammerlocke Gym Featuring
Duraludon'']'
- 'Title: Kiddus Fashionable Girls Watch for Kids. Children’s Analogue Wristwatch
with Educational Exercises. Japanese Quartz Movement. Cute, Stylish, Elegant &
Fabulous Descripion: ["STYLISH & EDUCATIONAL WATCH FOR KIDS: Designed for children
who are learning to read the time AND who want to be fabulously fashionable. Cute
designs, vibrant colours and glitter all over make them super attractive. Your
child will love his fancy watch! RECOMMENDED AGE: For Children from 5 years old.
Not suitable for children under 3 years of age due to small parts which may cause
a chocking hazard. RELIABLE & ADJUSTABLE: Provided with a HIGH-QUALITY Japanese
Mechanism and LONG LASTING Japanese battery, our kids watch line features also
a SHOCK RESISTANT CASE, nickel-free stainless steel backside, and 8 adjustment
holes on the strap to fit wrists large and small. Our watches for kids are water
resistant, so they can withstand splashes while washing hands or playing in the
rain but should be removed before bathing or swimming. PERFECT GIFT - GIVE THE
GIFT OF TIME: Available in a variety of styles and colours, our childrens'' watches
come packaged in a GIFT BOX so you can watch your child’s face light up as the
box is opened. Also included is a worksheet with specific Time Teacher exercises
to learn to read the time with your child. PURCHASE WITHOUT WORRY: As our products
are rigorously tested and made with love, we firmly believe in the high quality
of our product. So we offer a 30 day unconditional MONEY BACK GUARANTEE and a
12-month warranty. Even if you give it to someone else, it''s still covered! If
you have problems or issues with the watch, contact us and we will help you."]'
- 'Title: Kayhoma Extra Soft Artificial Wool Leg Warmer Descripion: [''Kayhoma Extra
Soft Artificial Wool Leg Warmer Thicker - Increased the density of knitted fabric
by 30% than last design, which become thicker and warmer. Softer - From natural
cotton upgrade to artificial wool. It is almost as soft as wool. and not easy
out of shape after worn and washed. Good elasticity makes it possible to completely
cover the calf and not be too tight, protecting your circulation. Stay Up Well
- After multiple tests and experiments, the leg warmer will stay up all day, feel
free to walk or move as you like, not having to keep tugging at them to keep them
up.'']'
- source_sentence: I'm looking for a reusable face covering that offers protection
against dust. It should have ear loops for a secure fit and come with a filter
option.
sentences:
- "Title: Balaclava Face Mask - New Range 3 Pack Now with 20 PM 2.5 Filters - Comfortable\
\ Cooling Neck Gaiter with Filter and Ear Loops, Bandana Face Mask Black Grey,\
\ Silk face mask, Sports Mask with Filters. Descripion: ['Free Shipping $25+ orders,\
\ save a few dollars, shipping 5-8 days'\n 'Free Shipping $25+ orders, save a\
\ few dollars, shipping 5-8 days'\n 'Super comfortable spandex material for easy\
\ fit'\n 'Super comfortable spandex material for easy fit'\n 'Stylish and fashionable,\
\ can be worn for sports or social'\n 'Stylish and fashionable, can be worn for\
\ sports or social'\n 'Breathable face mask with filter to capture dust & pollen'\n\
\ 'Breathable face mask with filter to capture dust & pollen'\n 'One size fits\
\ most people' 'One size fits most people'\n 'The neck gaiters are a quality made\
\ product'\n 'The neck gaiters are a quality made product'\n 'Wear with or without\
\ the filter depending on your requirements'\n 'Wear with or without the filter\
\ depending on your requirements'\n 'Each pack includes 3 Masks (1x Jet Black,\
\ 1x Black Violet, 1x Deep Grey) + extra 20x PM 2.5 filters'\n 'Each pack includes\
\ 3 Masks (1x Jet Black, 1x Black Violet, 1x Deep Grey) + extra 20x PM 2.5 filters'\n\
\ 'We use these ourselves on the motorcycles and current stage 4 restrictions\
\ in Australia as an outdoor face mask.'\n 'Very comfortable face mask, stretchy\
\ with spandex fabric that fits most men, women and teenagers.'\n 'Perfect to\
\ wear for sports and outdoors while walking, cycling, hiking, skiing, fishing,\
\ motorcycle or horse riding, also good as a UV protection face mask to protect\
\ you from direct sunlight and sunburn, would assist people with hay fever.'\n\
\ 'Not only covers the face but also covers the neck for maximum protection, being\
\ soft and light weight, the fabric moves over the skin which has a cooling effect.'\n\
\ 'Reusable simply wash the balaclava and replace the PM 2.5 filters as needed.'\n\
\ 'More filters can be purchased in large pack to make it affordable to replace\
\ regularly as recommended.'\n 'Perfect for a thoughtful gift that family and\
\ friends will definitely use and enjoy for years to come.'\n 'What are your favorite\
\ colours and styles, let us know, we are expanding our range to meet our clients\
\ requirements. Shipping directly from the USA home land to your home in 1-5 days,\
\ we are hope you enjoy this product and can wear while doing most activities\
\ and social environments.']"
- 'Title: Men''s genuine fullgrain tanned leather jeans belt with buckle Descripion:
["GENUINE MEN’S LEATHER BELT: The ''s Leather Belt is made with 100% genuine leather
and has a single-loop antique-finish buckle"]'
- 'Title: Ruikim Mouth Bandana For Dust Protection Face Bandana Washable Earloop
-Pm2.5 Filter Chip Descripion: [''100% Satisfy Service: 12 Month Quality Guarantee,
Buy With Confidence'']'
- source_sentence: I'm looking for a charming ring that embodies innocence and purity,
suitable for daily wear. It should have a minimalistic design and be stackable
with other rings. Durability is key, and I prefer it to be available in a unique
metallic finish.
sentences:
- "Title: CozzySayido Daisy Flower Ring Bands for Woman Innocent Daisy Promise Dainty\
\ Delicate Design Minimalistic Stackable Available in Silver and Rose Gold Descripion:\
\ ['“Always have something beautiful in sight, even if it’s just a daisy in a\
\ jelly glass.”'\n '- H. Jackson, Brown Jr.'\n 'Simple, sweet, stackable everyday\
\ ring for the sweetest ones.' 'Perks'\n 'Silver or rose gold Stainless steel\
\ No corrosion No peeling No spotting or staining No green fingers Resistant to\
\ perfume, sweat, and salt water Styling versatility (stack rings, minimalistic\
\ one-piece, knuckle, toe, stopper) Medical-grade stainless steel Unbreakable\
\ Unbendable Dainty, sweet, and delicate design 30-day full refund'\n 'Sizing'\n\
\ 'Available in size 3-10 (For sizing specs and how to know your size, please\
\ consult out sizing guide in the photo panel above.)'\n 'CozzySayido'\n 'We brainstorm\
\ for our customer to get the best value product. Proudly present, a daisy flower\
\ ring. We chose stainless-steel material which is no allergies for sensitive\
\ skin, durable and tough in any conditions, no matter if you wash your hand with\
\ alcohol sanitizer or washing tons of dishes or swimming in chlorine and salt\
\ water, it never gets spotting, staining or turn your finger green or any other\
\ color. Unbreakable and unbendable no matter, how you wear it.'\n 'Meaningful\
\ design, daisy flower is the symbol of innocence, purity, true love and new beginning\
\ to make every of your day the start of something new.'\n 'Designs as well as\
\ on-trend fashion jewelry for women with minimalist, dainty, sweet, and delicate\
\ style.']"
- 'Title: Chelsea FC Official Soccer Gift Mens Graphic T-Shirt Navy XXL Descripion:
[''Official CFC mens T-shirt Large club crest & text print to front Garment Size
(Chest): Sm. 40"; Med. 41"; Lge. 42"; XL 44"; XXL 48"; 3XL 52" 100% cotton, top
quality T-shirt Many more gift ideas for him @ FootballShopOnline'']'
- "Title: TMVFPYR Youth Pretty Cotton Moisture Wicking Extra Heavy Cushion Crew\
\ Socks… Descripion: ['PRODUCT SPECIFICATION'\n '- Size: 7.9in- Weight: 0.26ib/120g-\
\ Material: Polyester- Style: Individual, FashionPackage includes:1 Socks'\n 'PRODUCT\
\ FEATURES' 'DURABLE AND LONG LASTING'\n 'Superior quality fabrics makes them\
\ long lasting and durable. They won’t rip, tear or shred and they’ll maintain\
\ their outstanding look and feel through machine washing.'\n 'IDEAL FOR OUTDOOR\
\ SPORTS'\n 'Trekking, walking, running, camping, mountaineering, climbing, skiing,\
\ snowboarding, backpacking, traveling, various athletic pursuits or daily wear'\n\
\ 'COZY AND COMFORTABLE'\n 'Breathable materials give your feet the comfort they\
\ deserve. Keep your feet warm, cool and dry all day long. Luxury materials won’t\
\ absorb sweat and feel great on your feet.']"
pipeline_tag: sentence-similarity
library_name: sentence-transformers
---
# SentenceTransformer based on FacebookAI/roberta-base
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
## Model Details
### Model Description
- **Model Type:** Sentence Transformer
- **Base model:** [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base)
- **Maximum Sequence Length:** 128 tokens
- **Output Dimensionality:** 768 tokens
- **Similarity Function:** Cosine Similarity
### Model Sources
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
### Full Model Architecture
```
SentenceTransformer(
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: RobertaModel
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)
```
## Usage
### Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
```bash
pip install -U sentence-transformers
```
Then you can load this model and run inference.
```python
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("knguyennguyen/fashion_5k")
# Run inference
sentences = [
"I'm looking for a charming ring that embodies innocence and purity, suitable for daily wear. It should have a minimalistic design and be stackable with other rings. Durability is key, and I prefer it to be available in a unique metallic finish.",
"Title: CozzySayido Daisy Flower Ring Bands for Woman Innocent Daisy Promise Dainty Delicate Design Minimalistic Stackable Available in Silver and Rose Gold Descripion: ['“Always have something beautiful in sight, even if it’s just a daisy in a jelly glass.”'\n '- H. Jackson, Brown Jr.'\n 'Simple, sweet, stackable everyday ring for the sweetest ones.' 'Perks'\n 'Silver or rose gold Stainless steel No corrosion No peeling No spotting or staining No green fingers Resistant to perfume, sweat, and salt water Styling versatility (stack rings, minimalistic one-piece, knuckle, toe, stopper) Medical-grade stainless steel Unbreakable Unbendable Dainty, sweet, and delicate design 30-day full refund'\n 'Sizing'\n 'Available in size 3-10 (For sizing specs and how to know your size, please consult out sizing guide in the photo panel above.)'\n 'CozzySayido'\n 'We brainstorm for our customer to get the best value product. Proudly present, a daisy flower ring. We chose stainless-steel material which is no allergies for sensitive skin, durable and tough in any conditions, no matter if you wash your hand with alcohol sanitizer or washing tons of dishes or swimming in chlorine and salt water, it never gets spotting, staining or turn your finger green or any other color. Unbreakable and unbendable no matter, how you wear it.'\n 'Meaningful design, daisy flower is the symbol of innocence, purity, true love and new beginning to make every of your day the start of something new.'\n 'Designs as well as on-trend fashion jewelry for women with minimalist, dainty, sweet, and delicate style.']",
'Title: Chelsea FC Official Soccer Gift Mens Graphic T-Shirt Navy XXL Descripion: [\'Official CFC mens T-shirt Large club crest & text print to front Garment Size (Chest): Sm. 40"; Med. 41"; Lge. 42"; XL 44"; XXL 48"; 3XL 52" 100% cotton, top quality T-shirt Many more gift ideas for him @ FootballShopOnline\']',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
```
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 4,693 training samples
* Columns: sentence_0
and sentence_1
* Approximate statistics based on the first 1000 samples:
| | sentence_0 | sentence_1 |
|:--------|:----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
| type | string | string |
| details |
I'm looking for a spooky mask that can enhance my costume for a Halloween event. It should have a unique design, feature some lighting effects, and come with hair, suitable for adults.
| Title: Scary Clown Mask for Penny It Cosplay Costume Halloween Led Light Up Joker Mask with Hair Latex Horror Adult Mask Party Props Descripion: ['This clown costume mask for adults is available in a standard size that fits most adults and teens and is perfect for Halloween, themed parties, haunted houses, and more. Does not include shoes or costume. Care for this 100% latex mask with attached synthetic polyester hair']
|
| I'm looking for a festive accessory set to celebrate a special birthday. It should include a stylish decorative piece that can be adjusted for comfort and a fun headpiece that adds a touch of sparkle, perfect for both intimate gatherings and lively celebrations.
| Title: Birthday Queen Sash & Rhinestone Headband Set - Silver Glitter Birthday Sash Birthday Gifts for Women Birthday Party Supplies Descripion: ['"Birthday Queen" sash & rhinestone headband set ↑ No need to keep looking...it\'s the ultimate birthday party gifts set! ✓ Silver glitter sash + black lettering looks great on Instagram. Make the birthday queen feel special and stand out from the crowd. ✓ It\'s party tested and approved...will last day into night! Not only perfect for the cozy birthday parties with family but also for the crazy night at Vegas. ✓ No size trouble + Comfortable wearing: Sash can be adjust by clip on to fit from all type body figure. Headband can sit comfortably on the head and the letters are large enough to be clearly identifiable We had so much fun designing this birthday gifts set, we hope they add just as much fun to your parties too. Get the sash and headband at the same time and be prepare for the birthday celebration!']
|
| I'm looking for a cozy and stylish outerwear option for the colder months, ideally with a hood and a playful design. It should be warm and plush, perfect for layering, and have a comfortable fit.
| Title: OutTop Sherpa Jacket Women Fall Winter Plush Warm Hooded Stripe Color Block Thicken Warm Fleece Coats Parka Outwear Descripion: ['Package Include:1 PC Coats'
'==========================================================================='
'SIZE TABLE' ': International standard : 1 inch = 2.54 cm☺'
"Size:S____US:4____Bust:100cm/39.37''____Sleeve:56.5cm/22.24''____Length:88cm/34.65''"
"Size:M____US:6____Bust:105cm/41.34''____Sleeve:57cm/22.44''____Length:89cm/35.04''"
"Size:L____US:8____Bust:110cm/43.31''____Sleeve:57.5cm/22.64''____Length:90cm/35.43''"
"Size:XL____US:10____Bust:115cm/45.28''____Sleeve:58cm/22.83''____Length:91cm/35.83''"
"Size:XXL____US:12____Bust:120cm/47.24''____Sleeve:58.5cm/23.03''____Length:92cm/36.22''"
"Size:XXXL____US:14____Bust:125cm/49.21''____Sleeve:59cm/23.23''____Length:93cm/36.61''"
"Size:XXXXL____US:16____Bust:130cm/51.18''____Sleeve:59.5cm/23.43''____Length:94cm/37.01''"
"Size:XXXXXL____US:18____Bust:135cm/53.15''____Sleeve:60cm/23.62''____Length:95cm/37.40''"
'==========================================================================='
'Any questions, please feel free to contact us.☺☺' 'Delivery:'
'Standard express would take 7-20 days to deliver. Expedited express need 5-7 days.☺☺']
|
* Loss: [MultipleNegativesRankingLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
```json
{
"scale": 20.0,
"similarity_fct": "cos_sim"
}
```
### Training Hyperparameters
#### Non-Default Hyperparameters
- `per_device_train_batch_size`: 128
- `per_device_eval_batch_size`: 128
- `num_train_epochs`: 5
- `multi_dataset_batch_sampler`: round_robin
#### All Hyperparameters