This is a fork version of OpenNRE. Complete readme please refer to original readme
git clone https://github.com/seraveea/OpenNRE.gitAbout requirements, it's ok to use torch 2.0 and above. Then run
python setup.py install
- To make it compatible with Torch 2.0, change
cuda()toto(device). - Add
predictionfunction in framework class.