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

fprencipe3
/
setfit-SentiPolc

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

Instructions to use fprencipe3/setfit-SentiPolc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use fprencipe3/setfit-SentiPolc with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("fprencipe3/setfit-SentiPolc")
    
    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 fprencipe3/setfit-SentiPolc with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("fprencipe3/setfit-SentiPolc")
  • Notebooks
  • Google Colab
  • Kaggle
setfit-SentiPolc
441 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
fprencipe3's picture
fprencipe3
Add SetFit model
0474bde about 3 years ago
  • 1_Pooling
    Add SetFit model about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    1.67 kB
    Add SetFit model about 3 years ago
  • config.json
    693 Bytes
    Add SetFit model about 3 years ago
  • config_sentence_transformers.json
    124 Bytes
    Add SetFit model about 3 years ago
  • model_head.pkl
    25.5 kB
    xet
    Add SetFit model about 3 years ago
  • modules.json
    229 Bytes
    Add SetFit model about 3 years ago
  • pytorch_model.bin
    440 MB
    xet
    Add SetFit model about 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Add SetFit model about 3 years ago
  • special_tokens_map.json
    125 Bytes
    Add SetFit model about 3 years ago
  • tokenizer.json
    725 kB
    Add SetFit model about 3 years ago
  • tokenizer_config.json
    385 Bytes
    Add SetFit model about 3 years ago
  • vocab.txt
    235 kB
    Add SetFit model about 3 years ago