GraphWriter icon indicating copy to clipboard operation
GraphWriter copied to clipboard

Code for "Text Generation from Knowledge Graphs with Graph Transformers"

Results 28 GraphWriter issues
Sort by recently updated
recently updated
newest added

Can you provide a pytorch version and torchtext version? Thanks

Hello, this is a great idea you guys were able to develop. i am getting error trying to run and test it: ![image](https://user-images.githubusercontent.com/82824999/133855470-1b6431c9-ca39-416e-bfb8-2ffa0e41d053.png) can you advice? thank you

How do you calculate the BLEU score in Table 2 in your paper? What does the BLEU in Table 2 mean? Does BLEU mean bleu-1, bleu-2, bleu-3, bleu-4, or is...

def forward(self,batch,pad=True): batch,phlens,batch_lens = batch batch_lens = tuple(batch_lens.tolist())#list-to-tuple _,enc = self.seqenc((batch,phlens)) enc = enc[:,2:] enc = torch.cat([enc[:,i] for i in range(enc.size(1))],1) m = max(batch_lens) encs = [self.pad(x,m) for x in...

Hi Team, i am getting error while executing eval.py error: (fls_n) D:\GraphWriter-master>python eval.py 0.vloss-3.936190.lr-0.1.inputs.beam_predictions.cmdline data/preprocessed.test.tsv Traceback (most recent call last): File "eval.py", line 93, in x.evaluate(live=True, cand=cands, ref=refs) File "eval.py",...

Hi Team, I am getting error while executing train.py file error: Traceback (most recent call last): File "./train.py", line 128, in main(args) File "./train.py", line 113, in main train(m,o,ds,args) File...

Hi, I am going over the input data code, particularly the mkGraphs function. I'm a bit confused on the _rel matrix_, where **rel** is the list. What exactly is this...

Hey guys, I liked your paper! I would like to try out the graph encoder, and potentially use it as a part of a knowledge-graph based dialogue model. Suppose I...

Does the -title flag mean **include** the title as input for the model or **exclude** the title as input for the model?

Thank you for sharing your perfect job. But I'm not sure about the detailed process of your program generating text only from the title. How is the graph input in...