Difference between model.onnx and model.onnx.data

Hi team, i am new to optimum and have used the onnxruntime library a bit previously.
When i try to convert a model using onnxruntime, i get only one output file say model.onnx
but when i tried the below command of the optimum,
!optimum-cli export onnx --model BAAI/bge-m3 bge-m3-onnx-model
there were 2 file 1) model.onnx. 2) model.onnx.data

I though that i will only be getting one file named model.onnx.
Can anyone please explain me this.

1 Like

When converting large models to ONNX, External Data (.data) seems to be output at the same time.

Thanks for the response @John6666 . The article cleared many doubts.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.