gongliym / data2text-transformer

Enhanced Transformer Model for Data-to-Text Generation
29 stars 11 forks source link

Why does the evaluator use tgt_n_words instead of src_n_words in line 281 of the evaluator.py script? #5

Open shankyemcee opened 3 years ago

shankyemcee commented 3 years ago

Due to this, when the summary file is less than the data file in vocab size, it fails saying data values are above number of classes. I am trying to modify the model to only output a single word per input table. How can i fix this error?