guided_summarization
guided_summarization copied to clipboard
GSum: A General Framework for Guided Neural Abstractive Summarization
关于代码的问题
您好,我在运行BERT部分代码的时候,将mode参数设为Oracle时这个函数会因为cal_lead为FALSE,selected_ids未被初始化而报错,请问lead、和oracle分别对应您论文中的哪部分呢,方便的话请您告知,非常感谢 ` def test(self, test_iter, step, cal_lead=False, cal_oracle=False): # Set model in validating mode. def _get_ngrams(n, text): ngram_set = set() text_length = len(text) max_index_ngram_start = text_length - n for i...
关于bart
bert 是 encoder 后面 transformers decoder 作为decoder bart 是seq2seq 后面还需要 transformers decoder 作为decoder 吗
I'm getting stuck trying to get the model to run all the files in the data_path. I'm currently getting a IsADirectoryError: [Errno 21] error: "IsADirectoryError: [Errno 21] Is a directory:...
Hi, I noticed that the training on CNN dataset gets stuck at step 72900/200000. However the GPU utilization shows 100%. I tried training 3 times. But every time I am...
First of all, thank you for the code you provided. I downloaded original test and train data from [PreSumm repo](https://github.com/nlpyang/PreSumm) and then add its corresponding guidance signal through ‘highligted_sentence_data.py’ from...
There is no output of the oracle model in this link:https://drive.google.com/drive/folders/1R5ReFS3bmE3baizBzYqQUB6F7zH-O_xk. Thanks a lot!
Hello, I started training the model on keyword based guidance (oracle keywords) on a 2x 2080 TI system and trained it for around 36 hours, and tested it. The models...
Hi, thank you for releasing [trained model](https://drive.google.com/file/d/1BMKhAh2tG5p8THxugZWMPc7NXqwJDHLw/view?usp=sharing). But if I want to train bart.large on my custom dataset from the beginning, and set model_path to [fairseq bart.large](https://dl.fbaipublicfiles.com/fairseq/models/bart.large.tar.gz), raise the exception...
Hello, why did the accuracy drop sharply last night at 3000 steps when training Bert z_abs, and then stay between 4% and 5%?