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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

richie-ghost
/
setfit-FacebookAI-roberta-base-phatic

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

Instructions to use richie-ghost/setfit-FacebookAI-roberta-base-phatic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • setfit

    How to use richie-ghost/setfit-FacebookAI-roberta-base-phatic with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("richie-ghost/setfit-FacebookAI-roberta-base-phatic")
  • sentence-transformers

    How to use richie-ghost/setfit-FacebookAI-roberta-base-phatic with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("richie-ghost/setfit-FacebookAI-roberta-base-phatic")
    
    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-FacebookAI-roberta-base-phatic / 1_Pooling
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
richie-ghost's picture
richie-ghost
Add SetFit model
7f711c3 verified about 2 years ago
  • config.json
    296 Bytes
    Add SetFit model about 2 years ago