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

cirimus
/
modernbert-base-emotions

Text Classification
Transformers
Safetensors
PyTorch
English
modernbert
ModernBERT
emotions
multi-class-classification
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use cirimus/modernbert-base-emotions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use cirimus/modernbert-base-emotions with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="cirimus/modernbert-base-emotions")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("cirimus/modernbert-base-emotions")
    model = AutoModelForSequenceClassification.from_pretrained("cirimus/modernbert-base-emotions")
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-base-emotions
602 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
cirimus's picture
cirimus
Update README.md
c6b7410 verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    4.53 kB
    Update README.md about 1 year ago
  • config.json
    1.65 kB
    First commit over 1 year ago
  • confusion_matrix.png
    56.5 kB
    Upload confusion_matrix.png over 1 year ago
  • model.safetensors
    598 MB
    xet
    First commit over 1 year ago
  • special_tokens_map.json
    694 Bytes
    Add tokenizer over 1 year ago
  • tokenizer.json
    3.58 MB
    Add tokenizer over 1 year ago
  • tokenizer_config.json
    20.8 kB
    Add tokenizer over 1 year ago