Convert Transformers to ONNX with Hugging Face Optimum
AI-generated summary Developers can convert Hugging Face Transformers models to ONNX using three different methods ranging from low-level torch code to high-level Optimum tools. The text-classification model distilbert-base-uncased-finetuned-sst-2-english can be exported and then immediately used for running predictions or loaded inside a pipeline.