GAIN
GAIN copied to clipboard
Source code for EMNLP 2020 paper: Double Graph Based Reasoning for Document-level Relation Extraction
Hi! I'm trying to train the neural network, using the default values provided in the script run_GAIN_BERT.sh, but the training script is giving me an error after beginning. It seems...
关于代码的部分问题和总结
先说一下我的运行环境: ` dgl 0.6.1 torch 1.8.0 ` 这份代码貌似问题有点儿多啊! (1)DGLREDataloader 类中的使用for循环对mapping的zero_()操作是否有点儿冗余,直接将外层声明tensor的语句放到for循环内部不就可以了吗?
Hello, I am trying to train over a cuda 11.0 gpu card, I noticed then that cuda 11 its only compatible with dlg>=0.6. Are there any workaround to train with...
您好! 1.我按照您的参数运行./eval_GAIN_BERT.sh 0 0.7972 时,结果出现如下情况:  这里的input_theta 0.7972是在运行./run_GAIN_BERT.sh 1的最佳epoch中的。请问为什么会出现这个问题呢? 2.是不是因为上面出错的原因,也没法得到rusult.json文件
Traceback (most recent call last): File "train.py", line 231, in train(opt) File "train.py", line 125, in train predictions = model(words=d['context_idxs'], File "/home/anaconda3/envs/qusiyu/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl result = self.forward(*input, **kwargs)...
我对Infer-F1这个指标比较感兴趣,但是论文里谈论得不多,我个人猜测是只计算能组成类似“三角关系”的三元组(e.g. (A, r1, B), (B, r2, C), (A, r3, C))的性能?不知道是否有理解错?能否开源指标的计算代码?
I was wondering if maybe it would be possible to apply the GAIN framework on document images. Perhaps, could we include spatial features like the position (x, y) of each...
Hi, I'm trying to reproduce the results on BERT-base, but I can only get F1 / ignF1 = 0.5985 / 0.5752 for full model, and F1 / ignF1 = 0.6010...