Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

knguyennguyen
/
mpnet_jacket4k

Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:7598
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
mpnet_jacket4k
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
knguyennguyen's picture
knguyennguyen
Add new SentenceTransformer model.
18a57a7 verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model. over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    33.3 kB
    Add new SentenceTransformer model. over 1 year ago
  • config.json
    613 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model. over 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • tokenizer.json
    711 kB
    Add new SentenceTransformer model. over 1 year ago
  • tokenizer_config.json
    1.59 kB
    Add new SentenceTransformer model. over 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. over 1 year ago