Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

how to export mxnet model to json and pamas format ? #658

Answered by szha
Gpwner asked this question in Q&A
Discussion options

You must be logged in to vote

@Gpwner currently it requires a small amount of manual process, where you may need to use the utility classes to construct a HybridBlock-based BERT model. The guide can be found here: http://gluon-nlp.mxnet.io/model_zoo/bert/index.html#example-usage-of-exporting-hybridizable-bert

We know this is not perfect, as it would be better to have an export API to automate this for all model classes in BERT model zoo. I created an issue to track this here: #659

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by szha
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #658 on August 30, 2020 19:13.