i am unable to use it with transformers js , because onnx quantize is messing

#14
by eassa - opened

i am unable to use it with transformers js , because onnx quantize is messing ,
i tried to create it using the converter script and i am getting this error
The ONNX export succeeded and the exported model was saved at: models/xlm-roberta-large-finetuned-conll03-english
Quantizing: 0%| | 0/1 [00:01<?, ?it/s]
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\huggingface\convert.py", line 545, in
main()
File "C:\huggingface\convert.py", line 521, in main
quantize([
File "C:\huggingface\convert.py", line 294, in quantize
quantize_dynamic(
TypeError: quantize_dynamic() got an unexpected keyword argument 'optimize_model'

Sign up or log in to comment