|
Download quantize_steps.md from Spedon/texify-quantized-onnx: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/Spedon/texify-quantized-onnx/resolve/main/quantize_steps.md
- Command line
-
hf download hf://Spedon/texify-quantized-onnx/quantize_steps.md
-
curl -L -o quantize_steps.md https://huggingface.co/Spedon/texify-quantized-onnx/resolve/main/quantize_steps.md
281 Bytes
Quantize steps
optimum-cli export onnx --model vikp/texify --task image-to-text-with-past onnx/
optimum-cli onnxruntime quantize --onnx_model onnx/ --avx2 -o quantized_model/
Remember to use the
preprocess_config.jsonfrom https://huggingface.co/Xenova/texify