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

  • Log In
  • Sign Up

RedHatAI
/
sst2-distilbert-sparse-blog

Text Classification
Transformers
ONNX
English
distilbert
sparsity
pruning
compression
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use RedHatAI/sst2-distilbert-sparse-blog with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use RedHatAI/sst2-distilbert-sparse-blog with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="RedHatAI/sst2-distilbert-sparse-blog")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("RedHatAI/sst2-distilbert-sparse-blog")
    model = AutoModelForSequenceClassification.from_pretrained("RedHatAI/sst2-distilbert-sparse-blog")
  • Notebooks
  • Google Colab
  • Kaggle
sst2-distilbert-sparse-blog
Ctrl+K
Ctrl+K
  • 3 contributors
History: 12 commits
mwitiderrick's picture
mwitiderrick
Update README.md
89f3303 verified about 2 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    1.12 kB
    Update README.md about 2 years ago
  • config.json
    815 Bytes
    Upload 6 files over 3 years ago
  • handler.py
    729 Bytes
    Upload 6 files over 3 years ago
  • model.onnx
    67.2 MB
    xet
    Upload 6 files over 3 years ago
  • requirements.txt
    17 Bytes
    Upload 6 files over 3 years ago
  • tokenizer.json
    711 kB
    Upload 6 files over 3 years ago
  • tokenizer_config.json
    353 Bytes
    Upload 6 files over 3 years ago