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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mateffy/news-classifier-onnx") model = AutoModelForSequenceClassification.from_pretrained("mateffy/news-classifier-onnx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload config.json with huggingface_hub
Verified signaturec629053 -
Upload config.json with huggingface_hub
Verified signaturece376f9 -
Upload ort_config.json with huggingface_hub
Verified signature76ce79f -
Upload tokenizer.json with huggingface_hub
Verified signature1cc2cc4 -
Upload vocab.txt with huggingface_hub
Verified signature6a49d97 -
Upload special_tokens_map.json with huggingface_hub
Verified signature3872bc2 -
Upload tokenizer_config.json with huggingface_hub
Verified signaturec4b1fb1 -
Upload onnx/model_quantized.onnx with huggingface_hub
Verified signature6fc6cbc -
Upload onnx/model.onnx with huggingface_hub
Verified signature217c2e3 -
Upload config.json with huggingface_hub
Verified signature7fc6ada -
Update README.md
Verified signature1e00b40 -
Create README.md
Verified signaturea70972f -
initial commit
Verified signaturefdced94