Training AI Model - Document Understanding

Hi

I am using the standard out of the box package for invoice and purchase order model to extract information from PDF. However not all the information (fields) are extracted from the PDF. The PDF’s correspond to Invoices and PO’s and are of various formats.

I have trained the models using 15 pdf documents of each type and the evaluation score increased. Even though some of the missing information is now being extracted, the model is still unable to extract some fields (which it previously extracted)

How does the training work? What is the optimal number of documents on which the model has to be trained? Will it ever achieve 100% accuracy or extract all the fields?

Hello @Vi15P!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

Hello Dear, did you get a solution for this problem as i train the model each time i run the project and select the field manually every time

You cannot expect 100% accuracy from any ML model as there will always be a marginal error. How many variations of invoices do you see?

The number of invoices you need to train depends on the diversity of your invoices &POs. More diversity would mean you might have to train with more data.

If fields are not being extracted as before there might be a imbalance in your train dataset. Try to retrain the model with more data and keep iterating till you get a satisfactory model.

Here you have some information about the number of samples for training.

Training and Evaluation Pipelines (uipath.com)