This is a project that applies the learning strategy in the paper https://arxiv.org/pdf/1803.09050.pdf.
We want to use it in the relation extraction area, hoping to deal with the noisy dataset problem.
experiments:
-
noisy training data + PCNN
-
clean training data + PCNN
-
noisy training data + l2rw
Python 2.7 PyTorch 0.4.0. tensorflow 1.12.0
I use the GIDS dataset and modified the PCCN model, thanks to SharmisthaJat: https://github.com/SharmisthaJat/RE-DS-Word-Attention-Models
python2.7 <file> <data directory> <train file name> <test file name> <dev file name> <word embedding file name>
danieltan07: https://github.com/danieltan07/learning-to-reweight-examples#acknowledgements
SharmisthaJat: https://github.com/SharmisthaJat/RE-DS-Word-Attention-Models
yunjey: https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/04-utils/tensorboard
Paper Link: https://arxiv.org/abs/1804.06987