UiPath Documentation
document-understanding
2022.4
true
Guia do usuário do Document Understanding.
Importante :
A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Use o Document Manager

Esta página descreve como usar o Document Manager para rotular um novo conjunto de dados e treinar novamente um modelo de ML.

Acesso e configuração do Document Manager

Launch the created data labeling session in First Run Experience and go to the settings to configure the OCR.

Choose the OCR you intend to use in the OCR method dropdown menu. For UiPathDocumentOCR, paste the Document Understanding license key (retrieve the Document Understanding API key from the Admin > License page) and then paste the OCR URL you generated when you deployed UiPathDocumentOCR.

Configure the prelabelling with the models that you have deployed following the instructions here. Paste the model public ML Skill endpoint and the Document Understanding license key, and then click Save.

Importe o documento

Click the Import button Imagem dos documentos from a Document Manager Session.

Name the dataset and click Browse files to upload.

Selecione o documento que deseja carregar.

Clique em Sim.

Criar campos de extração

Click Imagem dos documentos to create fields to be extracted.

Você pode criar até 40 campos.

For this validation exercise, you can create some common invoice fields such as date, name, invoice-no, and total. Please ensure to change the content type accordingly - date (date), name (string), invoice-no (string), and total (number).

Rotular documentos

Agora, você pode começar a rotular os documentos.

Click the predict button Imagem dos documentos on top to use the base invoice model to predict the labels for the defined fields, and correct it if the prediction is wrong.

Para alterar o rótulo, arraste o mouse sobre o campo e pressione o atalho de teclado para rotulá-lo (como d para rotular data no exemplo abaixo).

Use a seta na parte superior para mudar para o próximo documento até terminar a validação dos rótulos para todas as faturas carregadas.

Observação:

Como o modelo base de Faturas já teve um desempenho muito bom e a amostra de fatura é simples sem muita variação, a precisão da previsão é próxima a 100% nesse caso e talvez não seja necessário corrigir nenhum rótulo.

Exportar documentos

Make sure to select the correct dataset in the dataset filtering and click the Export button Imagem dos documentos .

Clique em Exportar.

Go to Datasets under the same AI Center project, you should be able to see the exported training dataset.

Treinamento de um modelo personalizado no AI Center

Go to Pipelines > Create new. Please select the evaluation run type, select the model package and the input dataset.

Selecione a subpasta em Exportar como conjunto de dados de entrada.

Click Create to start the pipeline. It may take 1-2 hours for the pipeline to run on CPU machines.

Implantar o Modelo de ML retreinado como uma Habilidade de ML

Go to ML Skills and create a new ML Skill.

Escolha o mesmo pacote de modelo de fatura criado anteriormente. Como retreinamos o modelo, agora há uma nova versão secundária de pacote (1 vs 0). Certifique-se de selecionar a mais recente.

Once the ML Skill is created, please go to Modify current deployment to make the ML skill public. Switch the toggle and click Confirm.

Copie o URL da habilidade de ML pública para uso posterior.

Congrats! You have now retrained an Invoice model with your own dataset and created the endpoint to access the model.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades