grobid icon indicating copy to clipboard operation
grobid copied to clipboard

How to load deep learning models using tensorflow or keras?

Open himanshu-aptara opened this issue 2 years ago • 1 comments

Hi, I am trying to use tensorflow and keras, model_from_json, load model function to load the deep learning models inside citation model, but with no luck. Can you guide me how to load these models in our local notebook?

himanshu-aptara avatar Jun 07 '23 06:06 himanshu-aptara

Hi @himanshu-aptara !

To run the Deep Learning models outside Grobid/Java, you need to use https://github.com/kermitt2/delft

For exemple, running the bibliographical reference parsing model on a few examples:

python3 delft/applications/grobidTagger.py citation tag --architecture BidLSTM_CRF

DeLFT is built on top TensorFlow 2, Keras and transformers libraries.

kermitt2 avatar Jun 07 '23 16:06 kermitt2