pytorch-bert-crf-ner
pytorch-bert-crf-ner copied to clipboard
Add new entity does not work
Hi there,
I am interested in your code and I tried to added new entity into training dataset. After that, I change few things to ensure that the code can be run on the new list of entities. Nevertheless, it does not work. After 18 epoch, the trained model can not recognize the new entity. My entity is EMAIL, PHONE_NUMBER.
So, is there any special thing that I should change before train the model with the new list of entities?
Does a new entity mean a new tag?
I'm also curious about this, have you solved adding new tags?
@kwangrok92 Not yet, I am waiting for reply from author, but he did not give any feedback.
@dgks0n I'm also waiting 👍
did you modify this file?? https://github.com/eagle705/pytorch-bert-crf-ner/blob/master/experiments/base_model_with_crf_val/ner_to_index.json
@eagle705 I did it. I added new tags are B-EMA (email), I-IMA and of course, the data also has been labeled. However, it does not work.