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-k5-fixed-euclidean

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

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("swardiantara/bert-tiny-sst5-k5-fixed-euclidean")
    
    sentences = [
        "eccentric enough to stave off doldrums , caruso 's self-conscious debut is also eminently forgettable .",
        "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 .",
        "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 .",
        "not even solondz 's thirst for controversy , sketchy characters and immature provocations can fully succeed at cheapening it ."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bert-tiny-sst5-k5-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
ecb3a78 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.4 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
    275 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.1 kB
    Upload tsne_validation.pdf with huggingface_hub about 1 month ago