Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

51la5
/
distilbert-base-sentiment

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
Rust
English
distilbert
Eval Results (legacy)
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use 51la5/distilbert-base-sentiment with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="51la5/distilbert-base-sentiment")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("51la5/distilbert-base-sentiment")
    model = AutoModelForSequenceClassification.from_pretrained("51la5/distilbert-base-sentiment")
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-base-sentiment
804 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
51la5's picture
51la5
Upload 8 files
dc2429a over 3 years ago
  • .gitattributes
    1.38 kB
    initial commit over 3 years ago
  • README.md
    5.99 kB
    Upload 8 files over 3 years ago
  • config.json
    629 Bytes
    Upload 8 files over 3 years ago
  • map.jpeg
    81.6 kB
    Upload 8 files over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    268 MB
    xet
    Upload 8 files over 3 years ago
  • rust_model.ot
    268 MB
    xet
    Upload 8 files over 3 years ago
  • tf_model.h5
    268 MB
    xet
    Upload 8 files over 3 years ago
  • tokenizer_config.json
    48 Bytes
    Upload 8 files over 3 years ago
  • vocab.txt
    232 kB
    Upload 8 files over 3 years ago