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

yting27
/
pba1-emotion-classification

Text Classification
sentence-transformers
English
Model card Files Files and versions
xet
Community
1

Instructions to use yting27/pba1-emotion-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use yting27/pba1-emotion-classification with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("yting27/pba1-emotion-classification")
    
    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
pba1-emotion-classification / dataset
2.05 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
yting27's picture
yting27
Edit doc
86ccb63 over 3 years ago
  • test.csv
    199 kB
    Added trained model over 3 years ago
  • training.csv
    1.6 MB
    Added trained model over 3 years ago
  • val_extData - Copy.csv
    54.1 kB
    Edit doc over 3 years ago
  • validation.csv
    197 kB
    Added trained model over 3 years ago