Context.raise_if_token_classification_task#

Context.raise_if_token_classification_task(check=None)[source]#

Raise an exception if it is a token classification task.