Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Inference] Add inference support and examples for BERT #145

Merged
merged 18 commits into from
Aug 9, 2021

Conversation

xingyaoww
Copy link
Contributor

  • Add inference support for the BERT model.
  • Support parsing proto and HDF5 weight of BERT model.
  • Add script hf_bert_export.py that export huggingface BERT to lightseq supported HDF5 format.
  • Add example ls_bert.py.

@godweiyang godweiyang merged commit a57966a into bytedance:master Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to convert model like BertForTokenClassification by huggingface transformer to pb format
2 participants