yzhangcs / parser

:rocket: State-of-the-art parsers for natural language.
https://parser.yzhang.site/
MIT License
827 stars 139 forks source link

Onnx Conversion #84

Closed RobertGengiu closed 2 years ago

RobertGengiu commented 2 years ago

Hi,

I have some issues converting a model after training to onnx format. Have you tried to convert a biffine dependency model to onnx for fast inference time?

Thank you!

yzhangcs commented 2 years ago

@RobertGengiu Hi, I ran an example command to convert biaffine-dep-en referring to the pytorch docs but failed. Seems that onnx does not support exporting PackedSequence object (pytorch/pytorch#49936)

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 7 days since being marked as stale.