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
/
roberta-base-emotion

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
Safetensors
English
roberta
emotion
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
4

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="bhadresh-savani/roberta-base-emotion")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("bhadresh-savani/roberta-base-emotion")
    model = AutoModelForSequenceClassification.from_pretrained("bhadresh-savani/roberta-base-emotion")
  • Notebooks
  • Google Colab
  • Kaggle
roberta-base-emotion
2 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 19 commits
bhadresh-savani's picture
bhadresh-savani
autoevaluator's picture
autoevaluator HF Staff
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#3)
4569997 about 3 years ago
  • .gitattributes
    744 Bytes
    Adding `safetensors` variant of this model (#4) about 3 years ago
  • README.md
    6.79 kB
    Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#3) about 3 years ago
  • config.json
    983 Bytes
    added flax and tensorflow model over 4 years ago
  • convert_flax_to_pytorch.py
    168 Bytes
    added flax and tensorflow model over 4 years ago
  • convert_pytorch_to_flax.py
    174 Bytes
    added flax and tensorflow model over 4 years ago
  • convert_pytorch_to_tensorflow.py
    170 Bytes
    added flax and tensorflow model over 4 years ago
  • flax_model.msgpack
    499 MB
    xet
    added flax and tensorflow model over 4 years ago
  • merges.txt
    456 kB
    add model almost 5 years ago
  • model.safetensors
    499 MB
    xet
    Adding `safetensors` variant of this model (#4) about 3 years ago
  • pytorch_model.bin
    499 MB
    xet
    add model almost 5 years ago
  • special_tokens_map.json
    239 Bytes
    add model almost 5 years ago
  • tf_model.h5
    499 MB
    xet
    added flax and tensorflow model over 4 years ago
  • tokenizer.json
    1.36 MB
    add model almost 5 years ago
  • tokenizer_config.json
    288 Bytes
    add model almost 5 years ago
  • vocab.json
    798 kB
    add model almost 5 years ago