`model.onnx` to `model_fp16.onnx`
#9
by
selectorrrr
- opened
Hello, I'm new to ONNX, and I'm trying to follow your path. I've successfully exported a model to ONNX, and now I want to reduce the precision to FP16. Could you please show me an example of such a conversion from model.onnx
to model_fp16.onnx
? Thank you very much
Sure, here's my float16 conversion script: https://github.com/huggingface/transformers.js/blob/main/scripts/float16.py