Questions tagged [text-classification]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
2answers
3k views

What is purpose of the [CLS] token and why its encoding output is important?

I am reading this article on how to use BERT by Jay Alammar and I understand things up until: For sentence classification, we’re only only interested in BERT’s output for the [CLS] token, so we ...