question about the pad_idx
yangshao opened this issue · 2 comments
yangshao commented
Hi, does the pad_idx means the padding tag's index? if so, does the num_tags include this pad_idx?
kajyuuen commented
Thank you for your question.
If you don't pass anything to CRF optional argument padding_idx, you don't need to include it in num_tag; if you specify padding tag's index for padding_idx, you need to increment num_tag for padding tag.