hi @rgandhasri87!
Thanks for your post and welcome to the Prodigy community
Did you also see this post?
It's a more recent post that provides some background on approaching this problem.
Alternatively, are you aware of spancat? It was designed (in part) to handle nested/overlapping entities as NER
cannot.
This post provides some background on ways to combine spancat
with relations:
Hope this helps provide more direction and let us know if you have further questions!