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-full-fixed-cosine

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

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

  • Libraries
  • sentence-transformers

    How to use swardiantara/bert-tiny-sst5-full-fixed-cosine with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("swardiantara/bert-tiny-sst5-full-fixed-cosine")
    
    sentences = [
        "a stirring , funny and finally transporting re-imagining of beauty and the beast and 1930s horror films",
        "like mike is a slight and uninventive movie : like the exalted michael jordan referred to in the title , many can aspire but none can equal .",
        "i 've had more interesting -- and , dare i say , thematically complex -- bowel movements than this long-on-the-shelf , point-and-shoot exercise in gimmicky crime drama .",
        "the name says it all ."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bert-tiny-sst5-full-fixed-cosine
18.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
swardiantara's picture
swardiantara
Upload tsne_validation.pdf with huggingface_hub
dc1a7d0 verified 26 days ago
  • 1_Pooling
    Add new SentenceTransformer model 26 days ago
  • .gitattributes
    1.52 kB
    initial commit 26 days ago
  • README.md
    22.8 kB
    Add new SentenceTransformer model 26 days ago
  • config.json
    668 Bytes
    Add new SentenceTransformer model 26 days ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 26 days ago
  • contrastive_metrics.csv
    273 Bytes
    Upload contrastive_metrics.csv with huggingface_hub 26 days ago
  • model.safetensors
    17.5 MB
    xet
    Add new SentenceTransformer model 26 days ago
  • modules.json
    277 Bytes
    Add new SentenceTransformer model 26 days ago
  • sentence_bert_config.json
    241 Bytes
    Add new SentenceTransformer model 26 days ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 26 days ago
  • tokenizer_config.json
    351 Bytes
    Add new SentenceTransformer model 26 days ago
  • tsne_validation.pdf
    33.2 kB
    Upload tsne_validation.pdf with huggingface_hub 26 days ago