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

dhpollack
/
distilbert-dummy-sentiment

Text Classification
Transformers
PyTorch
multilingual
English
distilbert
sentiment-analysis
testing
unit tests
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use dhpollack/distilbert-dummy-sentiment with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="dhpollack/distilbert-dummy-sentiment")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("dhpollack/distilbert-dummy-sentiment")
    model = AutoModelForSequenceClassification.from_pretrained("dhpollack/distilbert-dummy-sentiment")
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-dummy-sentiment
14.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
David Pollack
fix readme typo
459f7eb about 5 years ago
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • README.md
    1.16 kB
    fix readme typo about 5 years ago
  • config.json
    577 Bytes
    fix vocab and config about 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    11.3 kB
    fix vocab and config about 5 years ago
  • special_tokens_map.json
    112 Bytes
    dummy sequence classification model for testing about 5 years ago
  • tokenizer_config.json
    263 Bytes
    dummy sequence classification model for testing about 5 years ago
  • vocab.txt
    31 Bytes
    fix vocab and config about 5 years ago