How many types of invoices can be trained in one custom model?

Shruthi D 1 Reputation point
2021-10-23T01:37:32.327+00:00

I have multiple types of invoices, with different layouts. Is it possible to train one single custom model with different types of invoice?

Or it is must to create a seperate custom model for each type of invoice?

Azure Document Intelligence in Foundry Tools
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-9091 54,016 Reputation points Moderator
    2021-10-24T13:10:49.517+00:00

    Hello,

    Thanks for reaching out to us.

    A custom model ideally should be train with one type of samples to make sure the model can capture characters of the same type of invoices.

    The more similar your model and the invoice you want to train are, the result of the recognition will be better.

    What you may considerate is composed model, created by taking a collection of custom models and assigning them to a single model that encompasses your form types. When a document is submitted to a composed model, the service performs a classification step to decide which custom model accurately represents the form presented for analysis.

    Technically you can train with multiple types of invoices, but the result will not be that correct.

    I will suggest you use composed model and train different model with different types of invoices separately.

    reference: https://learn.microsoft.com/en-us/azure/applied-ai-services/form-recognizer/concept-custom

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.