You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In converting examples to features function (convert_examples_to_features), we set valid.append(1) at [PAD] position.
Why do we have to use [PAD] position?
Can anyone explain this to me?
The text was updated successfully, but these errors were encountered:
I just used HuggingFace code (run_ner.py) to reproduce results.
And as I think, the pad position only needs to be considered to distinguish with the context.
Thus, in this case, it really doesn't matter to append (1) or append (-100)
In converting examples to features function (
convert_examples_to_features
), we setvalid.append(1)
at [PAD] position.Why do we have to use [PAD] position?
Can anyone explain this to me?
The text was updated successfully, but these errors were encountered: