BaderLab / saber

Saber is a deep-learning based tool for information extraction in the biomedical domain. Pull requests are welcome! Note: this is a work in progress. Many things are broken, and the codebase is not stable.
https://baderlab.github.io/saber/
MIT License
102 stars 17 forks source link

Save load annotate with bert #121

Closed JohnGiorgi closed 5 years ago

JohnGiorgi commented 5 years ago

This pull request better integrates the PyTorch based BERT model so that it can be loaded, saved and used for inference (i.e. annotation) under Sabers interface.

The existing Keras based BiLSTM-CRF and the Pytorch based BERT model now have essentially the same interfaces under Saber.

TODO