"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "513fa30a636642ccc1d93f3e6a48d612d08dbce8"
Fix token_type_id in BERT question-answering example (#3790)
token_type_id is converted into the segment embedding. For question answering, this needs to highlight whether a token belongs to sequence 0 or 1. encode_plus takes care of correctly setting this parameter automatically.
Showing
Please register or sign in to comment