Fine-Tuning LayoutLM v2 For Invoice Recognition
Jun 7, 2022
Since writing my last article on “Fine-Tuning Transformer Model for Invoice Recognition” which leveraged layoutLM transformer models for invoice recognition, Microsoft has released a new layoutLM v2 transformer model with a significant improvement in performance compared to the first LayoutLM model. In this tutorial, I will demonstrate step by step how to fine-tune layoutLM V2 on invoices starting from data annotation to model training and inference.
Training and inference scripts are available on Google Colab.
LayoutLM V2 Model
For more information, please refer to the original paper.