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
已提問 2 年前檢視次數 305 次
2 個答案
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
已回答 2 年前
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
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南