Implementation of NER model with relationship extraction?

I am working with transactional data, and am thinking of training my own NER model on self labelled data (originator, receiver, financial institution etc)… It makes a lot of sense to also capture relationships at the same time, to further model the transaction from the description. I have found two great resources on this so far:

Are there any other examples/tutorials/resources on this? Also I’m thinking that my entities naturally imply relationship (payer, payee, originating financial institution etc), so maybe it wouldn’t add that much to encode it?

Anyway, any input/thoughts are appreciated!

Thanks

2 Likes

Hello Maximus,

Did you find a solution to your problem?

I have found the same ressources as you and I decided to move forward with the first one as for Spacy is needed to buy Prodigy. Otherwise it’s seems impossible for me to get the data to the right format.
I currently use doccano for annotating net and re.
However, I have difficulty to make inference with the first solution for RE
Also to link NER and RE
Any advice is welcome.

Best

@evangeliazve I am facing the very same issue with the first solution from sujitpal with transformers and huggingface.

Did you find a solution to make inference with RE with his approach?

Hi @MaximusDecimusMeridi
im working on the same problem too, what im finding it difficult to handle is just the amount of variance that is contained in one transaction narration (for ex: a narration might indicate an upi payment to an merchant/ business enterprise but through amazon as upi gateway , so in this case its difficult for the model to determine wether the receiver is actually the merchant to whom money was sent to or is it amazon)
Would love to know how your solution fared and what approach worked
Thanks in advance!!