amrlib icon indicating copy to clipboard operation
amrlib copied to clipboard

Change of labels of named entities from input to AMR

Open niccip07 opened this issue 1 year ago • 1 comments

Hi,

I often experience that the labels of named entities are changed in the AMR.

For instance: ::snt Who is Uesugi Kenshin, whose competitor is Shibata Katsuie? (p / person :name (n / name :op1 "Uesugi" :op2 "Kenshin") :domain (a / amr-unknown) :ARG0-of (c / compete-01 :ARG1 (p2 / person :name (n2 / name :op1 "Shiata" :op2 "Katsuie"))))

The name of the person is Shibata, but in the graph it is Shiata. This example is generated with XFM BART large, but I also see this behaviour in other cases using the Spring model.

Is there a way to suppress this change of labels?

niccip07 avatar Aug 12 '22 16:08 niccip07

No. The transformer probably learned a word like this during pre-training and now it's outputting the spelling that it learned previously. Generally, we have no control over this.

bjascob avatar Aug 12 '22 19:08 bjascob

Closing. No activity on issue for 2 months.

bjascob avatar Oct 07 '22 18:10 bjascob