Export Hugging Face models to ONNX
Optimize and train foundation models using IBM's FMS
Evaluate and submit AI model results for Frugal AI Challenge
Create and upload a Hugging Face model card
Upload a machine learning model to Hugging Face Hub
Display and filter leaderboard models
Display and submit LLM benchmarks
Explore GenAI model efficiency on ML.ENERGY leaderboard
Analyze model errors with interactive pages
Calculate VRAM requirements for LLM models
Explore and manage STM32 ML models with the STM32AI Model Zoo dashboard
Display benchmark results
Convert Hugging Face models to OpenVINO format
Export to ONNX is a tool designed to convert machine learning models from the Hugging Face ecosystem into the Open Neural Network Exchange (ONNX) format. ONNX is an open standard that allows models to be exported and used across different frameworks and platforms, enabling interoperability and deployment in various environments. This tool simplifies the process of transitioning models for inference or further development in frameworks that support ONNX.
• Cross-Framework Compatibility: Convert models from Hugging Face to ONNX format for use in frameworks like PyTorch, TensorFlow, or Microsoft Cognitive Toolkit (CNTK).
• Optimization for Inference: ONNX models are often optimized for inference, making them suitable for production environments.
• Simplified Export Process: Streamlined workflow for converting models with minimal effort.
• Scalability: Supports a wide range of model architectures, including popular transformers and other deep learning models.
transformers
and torch-onnx
.What models are supported for export?
• Most Hugging Face models, including popular transformer-based architectures, are supported for export to ONNX.
Why should I convert my model to ONNX?
• Converting to ONNX allows for better interoperability and optimization, making it easier to deploy models in production environments.
How do I handle complex or custom models?
• For complex or custom models, ensure all operations are supported in ONNX. You may need to modify the model or use additional tools to handle unsupported layers.