Exporting 🤗 Transformers models to ONNX
🤗 Transformers provides a transformers.onnx package that enables you to
convert model checkpoints to an ONNX graph by leveraging configuration objects.
See the guide on exporting 🤗 Transformers models for more
details.
ONNX Configurations
We provide three abstract classes that you should inherit from, depending on the
type of model architecture you wish to export: