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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

AnkitAI
/
Sensible-ModernBERT-Sentiment-Analysis

Text Classification
Transformers
Safetensors
English
modernbert
sentiment-analysis
sentiment
sst-2
sst2
reviews
english
positive-negative
distilbert-sst2-alternative
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use AnkitAI/Sensible-ModernBERT-Sentiment-Analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AnkitAI/Sensible-ModernBERT-Sentiment-Analysis with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="AnkitAI/Sensible-ModernBERT-Sentiment-Analysis")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("AnkitAI/Sensible-ModernBERT-Sentiment-Analysis")
    model = AutoModelForSequenceClassification.from_pretrained("AnkitAI/Sensible-ModernBERT-Sentiment-Analysis", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Sensible-ModernBERT-Sentiment-Analysis
602 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
AnkitAI's picture
AnkitAI
add Sensible banner (temp bull mascot)
d82086d verified 1 day ago
  • eval
    Upload eval/result.json with huggingface_hub 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    4.34 kB
    add Sensible banner (temp bull mascot) 1 day ago
  • config.json
    2.11 kB
    ModernBERT SST-2 sentiment: 0.9461 on official validation 1 day ago
  • model.safetensors
    598 MB
    xet
    ModernBERT SST-2 sentiment: 0.9461 on official validation 1 day ago
  • tokenizer.json
    3.58 MB
    ModernBERT SST-2 sentiment: 0.9461 on official validation 1 day ago
  • tokenizer_config.json
    380 Bytes
    ModernBERT SST-2 sentiment: 0.9461 on official validation 1 day ago