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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

swardiantara
/
bert-tiny-amazon_reviews-k3-fixed-euclidean

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

Instructions to use swardiantara/bert-tiny-amazon_reviews-k3-fixed-euclidean with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use swardiantara/bert-tiny-amazon_reviews-k3-fixed-euclidean with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("swardiantara/bert-tiny-amazon_reviews-k3-fixed-euclidean")
    
    sentences = [
        "I received my first order of this product and it was broke so I ordered it again. The second one was broke in more places than the first. I can't blame the shipping process as it's shrink wrapped and boxed.",
        "My second one; so far they've held up just find. This one has been in daily use for work, all the zippers continue to work just fine. A metal jug of hot coffee is often in the main pocket, but I've never felt any heat from it. So far, these and the SOG Ninja packs are a very good deal for what they cost.",
        "I have had mine for 3 months now and all the bling is still in tact! Which is a huge plus for me. I always notice that’s always the first thing to mess up. Cute keychain! Love it.",
        "I ordered two of these. One came broken. It was packaged okay, so I believe it was broken due to the mail carrier tossing it onto my porch. The one that did not break, I love. It looks nice on my counter and serves its purpose. Updated review: Ok so the salt cellar that did not break during shipping pretty much shattered at the lightest touch after 3 weeks on my counter. I can no longer recommend this item, clearly they are not very durable at all."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bert-tiny-amazon_reviews-k3-fixed-euclidean
18.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
swardiantara's picture
swardiantara
Upload tsne_validation.pdf with huggingface_hub
f2dccde verified about 2 months ago
  • 1_Pooling
    Add new SentenceTransformer model about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    20.6 kB
    Add new SentenceTransformer model about 2 months ago
  • config.json
    668 Bytes
    Add new SentenceTransformer model about 2 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model about 2 months ago
  • contrastive_metrics.csv
    162 Bytes
    Upload contrastive_metrics.csv with huggingface_hub about 2 months ago
  • model.safetensors
    17.5 MB
    xet
    Add new SentenceTransformer model about 2 months ago
  • modules.json
    277 Bytes
    Add new SentenceTransformer model about 2 months ago
  • sentence_bert_config.json
    241 Bytes
    Add new SentenceTransformer model about 2 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model about 2 months ago
  • tokenizer_config.json
    351 Bytes
    Add new SentenceTransformer model about 2 months ago
  • tsne_validation.pdf
    96.8 kB
    Upload tsne_validation.pdf with huggingface_hub about 2 months ago