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

gabe-zhang
/
twitter-emotion-bert

Text Classification
Transformers
Safetensors
PyTorch
English
bert
sentiment-analysis
emotion-detection
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use gabe-zhang/twitter-emotion-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use gabe-zhang/twitter-emotion-bert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="gabe-zhang/twitter-emotion-bert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("gabe-zhang/twitter-emotion-bert")
    model = AutoModelForSequenceClassification.from_pretrained("gabe-zhang/twitter-emotion-bert")
  • Notebooks
  • Google Colab
  • Kaggle
twitter-emotion-bert
434 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
gabe-zhang's picture
gabe-zhang
Upload README.md with huggingface_hub
625d606 verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    2.59 kB
    Upload README.md with huggingface_hub 3 months ago
  • config.json
    1.01 kB
    Upload BertForSequenceClassification 3 months ago
  • model.safetensors
    433 MB
    xet
    Upload BertForSequenceClassification 3 months ago
  • tokenizer.json
    669 kB
    Upload tokenizer 3 months ago
  • tokenizer_config.json
    323 Bytes
    Upload tokenizer 3 months ago