XuezheMax / NeuroNLP2

Deep neural models for core NLP tasks (Pytorch version)
GNU General Public License v3.0
441 stars 89 forks source link

Run a trained model #32

Closed datquocnguyen closed 5 years ago

datquocnguyen commented 6 years ago

Hi, Is there any script/way to (load and then) use a trained parsing model to parse a new file ? Thank you. Best, Dat.

XuezheMax commented 5 years ago

Sorry for the late response. You can have a look of the code in examples/analyze.py to see how to load a pretrained model.