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

bhadresh-savani
/
distilbert-base-uncased-emotion

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
Safetensors
English
distilbert
emotion
Eval Results (legacy)
Model card Files Files and versions
xet
Community
8

Instructions to use bhadresh-savani/distilbert-base-uncased-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use bhadresh-savani/distilbert-base-uncased-emotion with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="bhadresh-savani/distilbert-base-uncased-emotion")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("bhadresh-savani/distilbert-base-uncased-emotion")
    model = AutoModelForSequenceClassification.from_pretrained("bhadresh-savani/distilbert-base-uncased-emotion")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-base-uncased-emotion
1.07 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 20 commits
bhadresh-savani's picture
bhadresh-savani
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#6)
ce6f4ff verified almost 2 years ago
  • .gitattributes
    744 Bytes
    Adding `safetensors` variant of this model (#6) almost 2 years ago
  • README.md
    7.01 kB
    Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#3) about 3 years ago
  • config.json
    768 Bytes
    added tensorflow and flax model over 4 years ago
  • convert_flax_to_pytorch.py
    168 Bytes
    added tensorflow and flax model over 4 years ago
  • convert_pytorch_to_flax.py
    174 Bytes
    added tensorflow and flax model over 4 years ago
  • convert_pytorch_to_tensorflow.py
    170 Bytes
    added tensorflow and flax model over 4 years ago
  • flax_model.msgpack
    268 MB
    xet
    added tensorflow and flax model over 4 years ago
  • model.safetensors
    268 MB
    xet
    Adding `safetensors` variant of this model (#6) almost 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    268 MB
    xet
    added model files about 5 years ago
  • special_tokens_map.json
    112 Bytes
    added model files about 5 years ago
  • tf_model.h5
    268 MB
    xet
    added tensorflow and flax model over 4 years ago
  • tokenizer_config.json
    291 Bytes
    added model files about 5 years ago
  • vocab.txt
    232 kB
    added model files about 5 years ago