Azure AI Document Intelligence: Custom Models

 




Custom Models

You can build a custom model and train it to evaluate the particular kinds of documents users will deliver to your Azure AI Document Intelligence service if the prebuilt models don't work for you. If you need generic data, you may be able to use the prebuilt models of the general document analyzer, which can extract rich information from these forms.

However, you will get more consistent and predictable results from your unique form types if you use a bespoke model that was trained on forms with comparable structures and key-value combinations.

You must provide at least five completed form samples in order to train a custom model; however, the more examples you provide, the higher the confidence levels Azure AI Document Intelligence will return upon input analysis. The more diverse your papers are in terms of vocabulary and structure, the more examples you will need to provide in order to train a trustworthy model.

You can either let the model discover key-value pairs and table data based on what it finds in the sample forms, or you can provide a labeled dataset that describes the expected data. Additionally, ensure that the examples on your training forms cover the whole spectrum of potential input.

For example, if you are expecting both hand-written and printed entries, include them both in your training. Once you have trained a custom model in this way, Azure AI Document Intelligence can accurately and predictably identify information in your unique forms.

There are two kinds of custom model:

  • Custom Template Models- When the forms you wish to examine have a standardized visual template, a custom template model is most suited. Use a custom template model if you delete all user-entered data from the forms and discover that the blank forms are similar. Nine distinct languages are supported by custom template models for handwritten text, and a large number of languages are supported for printed text. If there are several variations of the form templates, train a model for each variation before combining the models into a single model. The model that is most appropriate for analyzing the document will be called by the service.

  • Custom Neural Models- Both organized and unstructured documents can be processed by a custom neural model. Neural models can be used to assess documents such as highly structured forms or contracts with no clear structure. With a slight decline in accuracy for other languages including German, French, Italian, Spanish, and Dutch, neural models perform best on English. If the model can handle your situation, try using the custom neural model first.

Composed Models

A model that is composed of several unique models is called a composite model.

Composed models are typically useful in situations when you wish to classify and subsequently evaluate a submitted document but are unsure of its nature. They are also helpful if you have several variations of a form, each of which has its own trained model.

Document Intelligence automatically classifies a form submitted by a user to the composed model in order to identify which of the custom models should be utilized for its analysis. This method eliminates the need for the user to be aware of the type of document before submitting it. When you want to publish a single endpoint for all of your form types or when you're utilizing a lot of similar forms, that can be useful.

If you are using the Standard pricing tier, you can add up to 100 custom models into a single composed model. If you're using the Free pricing tier, you can only add up to 5 custom models.

Conclusion

We have successfully learnt about various types of custom models.






















Comments

Popular posts from this blog

Connect Data to Azure Sentinel Using Data Connectors

Information Protection Scanner: Resolve Issues with Information Protection Scanner Deployment

Azure AI Search plugin in Microsoft Security Copilot (Preview)