pytorch_graph-rel
pytorch_graph-rel copied to clipboard
Dataset format
Hello, I want to reproduce the code but I encounter a problem. What's the meaning of the parameter idx, inp, pos, etc. in the following code
for idx, inp, pos, dep_fw, dep_bw, ans_ne, wgt_ne, ans_rel, wgt_rel in ld_ts: print(idx.shape) print(inp.shape, pos.shape, dep_fw.shape, dep_bw.shape) print(ans_ne.shape, wgt_ne.shape) print(ans_rel.shape, wgt_rel.shape)
Hello, did you get dataset?
Hello, did you get dataset?
from this repository, https://github.com/INK-USC/DS-RelationExtraction
I tried to process the data according to the link and the result was not successful. Can you send the input file that has been processed?the NYT input file. my e-mail address: [email protected] thanks a lot.