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

  • Log In
  • Sign Up

djsull
/
setfit_classifier

Text Classification
setfit
Safetensors
sentence-transformers
bert
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • setfit

    How to use djsull/setfit_classifier with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("djsull/setfit_classifier")
  • sentence-transformers

    How to use djsull/setfit_classifier with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("djsull/setfit_classifier")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
setfit_classifier
445 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
djsull's picture
djsull
Add SetFit model
b265804 verified almost 2 years ago
  • 1_Pooling
    Add SetFit model almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    660 kB
    Add SetFit model almost 2 years ago
  • config.json
    627 Bytes
    Add SetFit model almost 2 years ago
  • config_sentence_transformers.json
    171 Bytes
    Add SetFit model almost 2 years ago
  • config_setfit.json
    7.31 kB
    Add SetFit model almost 2 years ago
  • model.safetensors
    442 MB
    xet
    Add SetFit model almost 2 years ago
  • model_head.pkl
    1.28 MB
    xet
    Add SetFit model almost 2 years ago
  • modules.json
    229 Bytes
    Add SetFit model almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add SetFit model almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add SetFit model almost 2 years ago
  • tokenizer.json
    752 kB
    Add SetFit model almost 2 years ago
  • tokenizer_config.json
    1.43 kB
    Add SetFit model almost 2 years ago
  • vocab.txt
    248 kB
    Add SetFit model almost 2 years ago