Simple tool to convert torch models from huggingface to onnx format.
Install deps using following command.
pdm install
Example for convert utility.
./convert.sh distilbert-base-uncased-distilled-squad
Converted model will be a "out" folder.
A utility script with prepared env to convert torch model to onnx format.
Shell
Simple tool to convert torch models from huggingface to onnx format.
Install deps using following command.
pdm install
Example for convert utility.
./convert.sh distilbert-base-uncased-distilled-squad
Converted model will be a "out" folder.