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

  • Log In
  • Sign Up

Dave17
/
bert-sentiment

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
Rust
ONNX
Safetensors
distilbert
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use Dave17/bert-sentiment with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Dave17/bert-sentiment")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Dave17/bert-sentiment")
    model = AutoModelForSequenceClassification.from_pretrained("Dave17/bert-sentiment")
  • Notebooks
  • Google Colab
  • Kaggle
bert-sentiment
1.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Dave17's picture
Dave17
Update README.md
d1106c6 verified almost 2 years ago
  • onnx
    Upload 17 files almost 2 years ago
  • .gitattributes
    408 Bytes
    Upload 17 files almost 2 years ago
  • README.md
    0 Bytes
    Update README.md almost 2 years ago
  • config.json
    660 Bytes
    Upload 17 files almost 2 years ago
  • map.jpeg
    81.6 kB
    Upload 17 files almost 2 years ago
  • model.safetensors
    268 MB
    xet
    Upload 17 files almost 2 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 17 files almost 2 years ago
  • rust_model.ot
    268 MB
    xet
    Upload 17 files almost 2 years ago
  • tf_model.h5
    268 MB
    xet
    Upload 17 files almost 2 years ago
  • tokenizer_config.json
    48 Bytes
    Upload 17 files almost 2 years ago
  • vocab.txt
    262 kB
    Upload 17 files almost 2 years ago