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

ZyroGod
/
distilbert-sentiment-classifier

Text Classification
Transformers
Safetensors
PyTorch
English
distilbert
sentiment-analysis
cardiffnlp
twitter
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use ZyroGod/distilbert-sentiment-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="ZyroGod/distilbert-sentiment-classifier")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("ZyroGod/distilbert-sentiment-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("ZyroGod/distilbert-sentiment-classifier", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-sentiment-classifier
269 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ZyroGod's picture
ZyroGod
Upload fine-tuned DistilBERT sentiment classifier (Run-2)
cbfee93 verified 7 days ago
  • .gitattributes
    1.52 kB
    initial commit 7 days ago
  • README.md
    4.19 kB
    Upload fine-tuned DistilBERT sentiment classifier (Run-2) 7 days ago
  • config.json
    837 Bytes
    Upload fine-tuned DistilBERT sentiment classifier (Run-2) 7 days ago
  • confusion_matrix.png
    90.8 kB
    Upload fine-tuned DistilBERT sentiment classifier (Run-2) 7 days ago
  • model.safetensors
    268 MB
    xet
    Upload fine-tuned DistilBERT sentiment classifier (Run-2) 7 days ago
  • tokenizer.json
    711 kB
    Upload fine-tuned DistilBERT sentiment classifier (Run-2) 7 days ago
  • tokenizer_config.json
    477 Bytes
    Upload fine-tuned DistilBERT sentiment classifier (Run-2) 7 days ago