g3casey:

Roberta


Thank you really really much for all of your enthusiasm .
In fact, the input “…thị trấn An Phú, Huyện An phútỉnh An Giang” is the full sentence of an address
According to your suggestions, It does mean I need to set the trainer with more epochs to really learn that one pattern.
I just found that 2 we also should
##assign the 'id2label' and 'label2id' model configs
model.config.id2label = id2label
model.config.label2id = label2id