Closed IronmanVsThanos closed 2 months ago
nice work,and i wanna know how to understand “has_cls_token”?
For a foundation model, if the first token in the token sequence is a cls_token (commonly used in classification tasks), we set has_cls_token to True; otherwise, we set it to False.
nice work,and i wanna know how to understand “has_cls_token”?