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

logasanjeev
/
bert-emotion-classifier

Text Classification
Transformers
ONNX
Safetensors
PyTorch
English
bert
multi-label-classification
multi-class-classification
emotion
go_emotions
emotion-classification
sentiment-analysis
tensorflow
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use logasanjeev/bert-emotion-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="logasanjeev/bert-emotion-classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("logasanjeev/bert-emotion-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("logasanjeev/bert-emotion-classifier", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bert-emotion-classifier
438 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
logasanjeev's picture
logasanjeev
Add inference script
087f7cd verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.56 kB
    Add model card with inference provider over 1 year ago
  • config.json
    1.86 kB
    Upload fine-tuned BERT-base for GoEmotions with optimized thresholds over 1 year ago
  • inference.py
    974 Bytes
    Add inference script over 1 year ago
  • model.safetensors
    438 MB
    xet
    Upload fine-tuned BERT-base for GoEmotions with optimized thresholds over 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload fine-tuned BERT-base for GoEmotions with optimized thresholds over 1 year ago
  • thresholds.json
    1.41 kB
    Upload fine-tuned BERT-base for GoEmotions with optimized thresholds over 1 year ago
  • tokenizer_config.json
    1.27 kB
    Upload fine-tuned BERT-base for GoEmotions with optimized thresholds over 1 year ago
  • vocab.txt
    232 kB
    Upload fine-tuned BERT-base for GoEmotions with optimized thresholds over 1 year ago