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

adriansanz
/
sentimentv1

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

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

  • Libraries
  • setfit

    How to use adriansanz/sentimentv1 with setfit:

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

    How to use adriansanz/sentimentv1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("adriansanz/sentimentv1")
    
    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
sentimentv1
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
adriansanz's picture
adriansanz
Add SetFit model
240d3f4 verified over 1 year ago
  • 1_Pooling
    Add SetFit model over 1 year ago
  • .gitattributes
    1.57 kB
    Add SetFit model over 1 year ago
  • README.md
    7.16 kB
    Add SetFit model over 1 year ago
  • config.json
    778 Bytes
    Add SetFit model over 1 year ago
  • config_sentence_transformers.json
    201 Bytes
    Add SetFit model over 1 year ago
  • config_setfit.json
    53 Bytes
    Add SetFit model over 1 year ago
  • model.safetensors
    1.11 GB
    xet
    Add SetFit model over 1 year ago
  • model_head.pkl
    7.01 kB
    xet
    Add SetFit model over 1 year ago
  • modules.json
    229 Bytes
    Add SetFit model over 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Add SetFit model over 1 year ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Add SetFit model over 1 year ago
  • special_tokens_map.json
    964 Bytes
    Add SetFit model over 1 year ago
  • tokenizer.json
    17.1 MB
    xet
    Add SetFit model over 1 year ago
  • tokenizer_config.json
    1.34 kB
    Add SetFit model over 1 year ago