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

mateffy
/
news-classifier-onnx

Zero-Shot Classification
Transformers
ONNX
mobilebert
text-classification
Model card Files Files and versions
xet
Community

Instructions to use mateffy/news-classifier-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mateffy/news-classifier-onnx with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-classification", model="mateffy/news-classifier-onnx")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("mateffy/news-classifier-onnx")
    model = AutoModelForSequenceClassification.from_pretrained("mateffy/news-classifier-onnx")
  • Notebooks
  • Google Colab
  • Kaggle
news-classifier-onnx
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
mateffy's picture
mateffy
Upload config.json with huggingface_hub
c629053 verified over 1 year ago
  • onnx
    Upload onnx/model_quantized.onnx with huggingface_hub over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    137 Bytes
    Update README.md over 1 year ago
  • config.json
    4.63 kB
    Upload config.json with huggingface_hub over 1 year ago
  • ort_config.json
    763 Bytes
    Upload ort_config.json with huggingface_hub over 1 year ago
  • special_tokens_map.json
    695 Bytes
    Upload special_tokens_map.json with huggingface_hub over 1 year ago
  • tokenizer.json
    712 kB
    Upload tokenizer.json with huggingface_hub over 1 year ago
  • tokenizer_config.json
    1.5 kB
    Upload tokenizer_config.json with huggingface_hub over 1 year ago
  • vocab.txt
    232 kB
    Upload vocab.txt with huggingface_hub over 1 year ago