Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

mrp
/
SCT_Distillation_BERT_Mini

Sentence Similarity
sentence-transformers
PyTorch
Transformers
English
feature-extraction
Model card Files Files and versions
xet
Community
1

Instructions to use mrp/SCT_Distillation_BERT_Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use mrp/SCT_Distillation_BERT_Mini with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mrp/SCT_Distillation_BERT_Mini")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use mrp/SCT_Distillation_BERT_Mini with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("mrp/SCT_Distillation_BERT_Mini", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
SCT_Distillation_BERT_Mini
46.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
mrp's picture
mrp
Update README.md
a4b4311 over 2 years ago
  • 1_Pooling
    add model over 2 years ago
  • 2_Dense
    add model over 2 years ago
  • eval
    add model over 2 years ago
  • .gitattributes
    2.19 kB
    add model over 2 years ago
  • README.md
    1.5 kB
    Update README.md over 2 years ago
  • config.json
    745 Bytes
    xet
    add model over 2 years ago
  • config_sentence_transformers.json
    122 Bytes
    xet
    add model over 2 years ago
  • modules.json
    341 Bytes
    xet
    add model over 2 years ago
  • pytorch_model.bin
    44.7 MB
    xet
    add model over 2 years ago
  • sentence_bert_config.json
    53 Bytes
    xet
    add model over 2 years ago
  • special_tokens_map.json
    112 Bytes
    xet
    add model over 2 years ago
  • tokenizer.json
    466 kB
    xet
    add model over 2 years ago
  • tokenizer_config.json
    519 Bytes
    xet
    add model over 2 years ago
  • vocab.txt
    232 kB
    xet
    add model over 2 years ago