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-snli-k3-fixed-euclidean

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

Instructions to use swardiantara/bert-tiny-snli-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-snli-k3-fixed-euclidean with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("swardiantara/bert-tiny-snli-k3-fixed-euclidean")
    
    sentences = [
        "Woman in white in foreground and a man slightly behind walking with a sign for John's Pizza and Gyro in the background. [SEP] A woman ordering pizza.",
        "A room full of girls raising their hands. [SEP] The boys are jumping on the trampoline.",
        "A room full of girls raising their hands. [SEP] The boys are jumping on the trampoline.",
        "Two boys and a woman standing in front of a Pronto Pups Hamburger stand. [SEP] People are outside."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bert-tiny-snli-k3-fixed-euclidean
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
swardiantara's picture
swardiantara
Upload tsne_validation.pdf with huggingface_hub
f1e2e93 verified about 1 month ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    14.9 kB
    Add new SentenceTransformer model about 1 month ago
  • config.json
    668 Bytes
    Add new SentenceTransformer model about 1 month ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model about 1 month ago
  • contrastive_metrics.csv
    278 Bytes
    Upload contrastive_metrics.csv with huggingface_hub about 1 month ago
  • model.safetensors
    17.5 MB
    xet
    Add new SentenceTransformer model about 1 month ago
  • modules.json
    277 Bytes
    Add new SentenceTransformer model about 1 month ago
  • sentence_bert_config.json
    241 Bytes
    Add new SentenceTransformer model about 1 month ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model about 1 month ago
  • tokenizer_config.json
    351 Bytes
    Add new SentenceTransformer model about 1 month ago
  • tsne_validation.pdf
    93.9 kB
    Upload tsne_validation.pdf with huggingface_hub about 1 month ago