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

isolation-forest
/
setfit-absa-aspect

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

Instructions to use isolation-forest/setfit-absa-aspect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • setfit

    How to use isolation-forest/setfit-absa-aspect with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("isolation-forest/setfit-absa-aspect")
  • sentence-transformers

    How to use isolation-forest/setfit-absa-aspect with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("isolation-forest/setfit-absa-aspect")
    
    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-absa-aspect
120 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
isolation-forest's picture
isolation-forest
Add SetFit ABSA model
257cd82 verified about 2 years ago
  • 1_Pooling
    Add SetFit ABSA model about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    57 kB
    Add SetFit ABSA model about 2 years ago
  • config.json
    684 Bytes
    Add SetFit ABSA model about 2 years ago
  • config_sentence_transformers.json
    165 Bytes
    Add SetFit ABSA model about 2 years ago
  • config_setfit.json
    141 Bytes
    Add SetFit ABSA model about 2 years ago
  • model.safetensors
    117 MB
    xet
    Add SetFit ABSA model about 2 years ago
  • model_head.pkl
    3.34 kB
    xet
    Add SetFit ABSA model about 2 years ago
  • modules.json
    349 Bytes
    Add SetFit ABSA model about 2 years ago
  • sentence_bert_config.json
    54 Bytes
    Add SetFit ABSA model about 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add SetFit ABSA model about 2 years ago
  • tokenizer.json
    2.41 MB
    Add SetFit ABSA model about 2 years ago
  • tokenizer_config.json
    1.43 kB
    Add SetFit ABSA model about 2 years ago
  • vocab.txt
    1.08 MB
    Add SetFit ABSA model about 2 years ago