AMRBART icon indicating copy to clipboard operation
AMRBART copied to clipboard

Code for sub-graph level denoising

Open Sreyan88 opened this issue 1 year ago • 1 comments

Hi there!

Great work. I wanted to request the code for sub-graph level denoising. Given an AMR graph, how are you masking an entire subgraph? I found you using this: https://github.com/goodbai-nlp/AMRBART/blob/main/pre-train/common/utils.py#L143, however, this just randomly deletes tokens in a span. Is there any other implementation available? Thank You!

Sreyan88 avatar May 14 '23 14:05 Sreyan88

Hi, @Sreyan88

Please refer to this repository for a offline version of graph masking. By the way, we did not find significant improvements when applying offline graph masking.

goodbai-nlp avatar May 28 '23 09:05 goodbai-nlp