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

  • Log In
  • Sign Up

msullivan
/
b0230790

Text Classification
sentence-transformers
PyTorch
setfit
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use msullivan/b0230790 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("msullivan/b0230790")
    
    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]
  • setfit

    How to use msullivan/b0230790 with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("msullivan/b0230790")
  • Notebooks
  • Google Colab
  • Kaggle
b0230790
332 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
msullivan's picture
msullivan
Add SetFit model
b1e9647 almost 3 years ago
  • 1_Pooling
    Add SetFit model almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.53 kB
    Add SetFit model almost 3 years ago
  • config.json
    779 Bytes
    Add SetFit model almost 3 years ago
  • config_sentence_transformers.json
    116 Bytes
    Add SetFit model almost 3 years ago
  • merges.txt
    456 kB
    Add SetFit model almost 3 years ago
  • model_head.pkl
    7.64 kB
    xet
    Add SetFit model almost 3 years ago
  • modules.json
    349 Bytes
    Add SetFit model almost 3 years ago
  • pytorch_model.bin
    329 MB
    xet
    Add SetFit model almost 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Add SetFit model almost 3 years ago
  • special_tokens_map.json
    280 Bytes
    Add SetFit model almost 3 years ago
  • tokenizer.json
    2.11 MB
    Add SetFit model almost 3 years ago
  • tokenizer_config.json
    459 Bytes
    Add SetFit model almost 3 years ago
  • vocab.json
    798 kB
    Add SetFit model almost 3 years ago