Error in Custom Entity Recognition (AWS Comprehend)

0

Hello,

I'm trying to build a Custom Entity Recognition model, and I keep getting this error (We found an insufficient number of matches in the training document corpus for the entity Experience. A minimum of 100 matches for each provided entity are required. , exit code: 255)

I tried to increase the training data, then it gives me this error (Custom entity recognition supports a maximum of 120000 samples. , exit code: 255)

Can someone please suggest a solution?

Thanks

Mohamed
gefragt vor 2 Jahren305 Aufrufe
2 Antworten
0

Hello, It looks like that some of your entity have less then 100 examples and when you add more examples you reached maximum supported samples limit. You should analyze your text to understand how may examples you have for each entity. Then you could reduce number of examples for entities with high number of examples and add more for those entities which have less then 100.

AWS
beantwortet vor 2 Jahren
0

Hello Mohamed,

Amazon Comprehend team has updated the custom NER annotation limitation, from minimum 100 annotation per entity type to 25 annotations per entity type. Check: Amazon Comprehend announces lower annotation limits for custom entity recognition for more information.

For the better accuracy, when preparing the training data, make sure you have balanced annotation numbers across entity types and followed Amazon Comprehend Guidelines.

profile pictureAWS
Mia C
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen