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

AmanPriyanshu
/
DistilBert-Sentiment-Analysis

Fill-Mask
Transformers
google-tensorflow TensorFlow
distilbert
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use AmanPriyanshu/DistilBert-Sentiment-Analysis with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="AmanPriyanshu/DistilBert-Sentiment-Analysis")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("AmanPriyanshu/DistilBert-Sentiment-Analysis")
    model = AutoModelForMaskedLM.from_pretrained("AmanPriyanshu/DistilBert-Sentiment-Analysis")
  • Notebooks
  • Google Colab
  • Kaggle
DistilBert-Sentiment-Analysis
268 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
AmanPriyanshu
rearrange
19a0317 over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • config.json
    523 Bytes
    rearrange over 4 years ago
  • tf_model.h5
    268 MB
    xet
    rearrange over 4 years ago