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:GitHub - sujitpal/ner-re-with-transformers-odsc2022: Building NER and RE components using HuggingFace TransformersSPACY v3: Custom trainable relation extraction component - YouTubeAre 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
2022-11-15T19:59:51Z
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 REAlso to link NER and REAny advice is welcome.Best
2023-07-27T10:58:17Z
@evangeliazveI 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?
2024-09-25T19:17:48Z
Hi@MaximusDecimusMeridiim 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 workedThanks in advance!!