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
demandé il y a 2 ans325 vues
2 réponses
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
répondu il y a 2 ans
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions