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

appleboiy
/
DistilBERT-Sentiment

Zero-Shot Classification
Transformers
Safetensors
English
distilbert
text-classification
Model card Files Files and versions
xet
Community

Instructions to use appleboiy/DistilBERT-Sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use appleboiy/DistilBERT-Sentiment with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-classification", model="appleboiy/DistilBERT-Sentiment")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("appleboiy/DistilBERT-Sentiment")
    model = AutoModelForSequenceClassification.from_pretrained("appleboiy/DistilBERT-Sentiment")
  • Notebooks
  • Google Colab
  • Kaggle
DistilBERT-Sentiment
268 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
appleboiy's picture
appleboiy
Update README.md
b27e8d8 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • DistilBERT_Sentiment.ipynb
    229 kB
    Upload DistilBERT_Sentiment.ipynb over 1 year ago
  • README.md
    874 Bytes
    Update README.md over 1 year ago
  • config.json
    599 Bytes
    commit files to HF hub over 1 year ago
  • model.safetensors
    268 MB
    xet
    commit files to HF hub over 1 year ago
  • special_tokens_map.json
    125 Bytes
    commit files to HF hub over 1 year ago
  • tokenizer_config.json
    1.25 kB
    commit files to HF hub over 1 year ago
  • vocab.txt
    232 kB
    commit files to HF hub over 1 year ago