greenelab / snorkeling

Extracting biomedical relationships from literature with Snorkel 🏊
Other
59 stars 17 forks source link

Refactored code to efficiently run LSTM on cluster #47

Closed danich1 closed 6 years ago

danich1 commented 6 years ago

This block of code here is designed to run the LSTM on the cluster. We need to do this in order to have access to the GPU UPenn has. The script files are written in python 2.7.12. If we want to upgrade to python 3, it might take a bit of time. Plus, this should be moving to pytorch shortly.