[LayoutLMv2ForSequenceClassification] is supported by this notebook.
Text classification task guide

[LayoutLMv3ForTokenClassification] is supported by this example script and notebook.
A notebook for how to perform inference with [LayoutLMv2ForTokenClassification] and a notebook for how to perform inference when no labels are available with [LayoutLMv2ForTokenClassification].
A notebook for how to finetune [LayoutLMv2ForTokenClassification] with the 🤗 Trainer.
Token classification task guide