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

j-hartmann
/
emotion-english-distilroberta-base

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
English
roberta
distilroberta
sentiment
emotion
twitter
reddit
text-embeddings-inference
Model card Files Files and versions
xet
Community
3017

Instructions to use j-hartmann/emotion-english-distilroberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use j-hartmann/emotion-english-distilroberta-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("j-hartmann/emotion-english-distilroberta-base")
    model = AutoModelForSequenceClassification.from_pretrained("j-hartmann/emotion-english-distilroberta-base")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
emotion-english-distilroberta-base
988 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 62 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
3bb81f1 almost 3 years ago
  • .gitattributes
    744 Bytes
    Adding `safetensors` variant of this model almost 3 years ago
  • README.md
    4.89 kB
    Update README.md over 3 years ago
  • config.json
    1.01 kB
    updated labels about 5 years ago
  • merges.txt
    456 kB
    initial commit about 5 years ago
  • model.safetensors
    329 MB
    xet
    Adding `safetensors` variant of this model almost 3 years ago
  • pytorch_model.bin
    329 MB
    xet
    initial commit about 5 years ago
  • special_tokens_map.json
    239 Bytes
    initial commit about 5 years ago
  • tf_model.h5
    329 MB
    xet
    Add TF weights (#2) about 4 years ago
  • tokenizer.json
    1.36 MB
    initial commit about 5 years ago
  • tokenizer_config.json
    294 Bytes
    initial commit about 5 years ago
  • training_args.bin
    2.42 kB
    xet
    initial commit about 5 years ago
  • vocab.json
    798 kB
    initial commit about 5 years ago