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

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

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("swardiantara/bert-tiny-sst5-k3-fixed-euclidean")
    
    sentences = [
        "with its parade of almost perpetually wasted characters ... margarita feels like a hazy high that takes too long to shake .",
        "like the best of godard 's movies ... it is visually ravishing , penetrating , impenetrable .",
        "a semi-autobiographical film that 's so sloppily written and cast that you can not believe anyone more central to the creation of bugsy than the caterer had anything to do with it .",
        "contrived as this may sound , mr. rose 's updating works surprisingly well ."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bert-tiny-sst5-k3-fixed-euclidean
18.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
swardiantara's picture
swardiantara
Upload tsne_validation.pdf with huggingface_hub
b5c0625 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.2 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
    274 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
    33 kB
    Upload tsne_validation.pdf with huggingface_hub about 1 month ago