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

duyb2207513
/
distilbert-emotion

Text Classification
Transformers
Safetensors
English
distilbert
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use duyb2207513/distilbert-emotion with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="duyb2207513/distilbert-emotion")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("duyb2207513/distilbert-emotion")
    model = AutoModelForSequenceClassification.from_pretrained("duyb2207513/distilbert-emotion")
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-emotion
269 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
duyb2207513's picture
duyb2207513
Update README.md
b1092d5 verified 24 days ago
  • .gitattributes
    1.52 kB
    initial commit 25 days ago
  • README.md
    200 Bytes
    Update README.md 24 days ago
  • config.json
    931 Bytes
    Upload DistilBertForSequenceClassification 25 days ago
  • model.safetensors
    268 MB
    xet
    Upload DistilBertForSequenceClassification 25 days ago
  • tokenizer.json
    711 kB
    Upload tokenizer 25 days ago
  • tokenizer_config.json
    322 Bytes
    Upload tokenizer 25 days ago