UiPath Documentation
ixp
2.2610
true
IXP dans le guide de l'utilisateur de Flow

Validation des valeurs prédites

Validez les prédictions du modèle IXP dans le nœud d'extraction du flux UiPath Maestro Flow™ pour établir la vérité du terrain après avoir affiné les instructions d'invite sans entraîner directement le modèle à partir des annotations.

Vue d'ensemble (Overview)​

The model does not learn directly from user annotations. To improve the performance of the model, modify your prompt instructions or model configuration.

After you finish refining the instructions, validate the predictions of the model to establish the ground truth for its performance evaluation. Predictions and references play different roles in validation. For details, check Predictions and references.

Le processus de validation implique les opérations suivantes :

  • Confirmer les valeurs extraites si elles sont correctes.
  • Annoter les valeurs attendues si les valeurs prédites sont incorrectes.
  • Marquer les champs comme manquants s'ils ne sont pas présents dans le document.
  • Configuring any additional fields in your taxonomy.

Prédictions et références​

Predictions are the predicted values compared to ground truth.

Remarque :

Les prédictions incorrectes ou manquantes ont un impact sur le score du modèle et les indicateurs de performances dans l’onglet Exécutions d’évaluation .

Les références sont les références correspondantes aux valeurs prédites trouvées dans le document. Le but des références est d'aider les utilisateurs à trouver la bonne partie du document.

Remarque :

Les références incorrectes ou manquantes n'ont pas d'impact sur le score du modèle ou les mesures de performances. Cependant, il peut être utile d'ajouter ou de corriger les références pour améliorer l'expérience de validation humaine.

There are known limitations with references and highlighted spans:

  • The prediction and reference are correct, but an incorrect span is highlighted. Usually, it is the first match that was found.
  • The prediction is correct, but there is a missing reference and a highlighted span. In these scenarios, a page number is provided as a fallback.

Références et valeurs confirmées ou non confirmées​

Cette section montre à quoi ressemblent les valeurs et les références dans leur état confirmé (validé) et non confirmé (non validé).

Valeurs prévues​

The following image shows the annotation panel listing the values that the model predicted for each field:

Valeurs non confirmées​

The following image shows the annotation panel with unconfirmed values, where none of the checkboxes are selected:

Confirmed values​

The following image shows the references of confirmed values in the document, each highlighted with a solid border:

The following image shows the annotation panel with confirmed values, where the checkboxes are selected:

Valeurs validées​

This section contains example scenarios of when the model predictions match or do not match the user's annotations.

When the annotation matches the prediction, which means that the prediction is correct, the value looks as in the following image:

When the annotation does not match the prediction, which means that the prediction is incorrect, the value looks as in the following image:

Remarque :

Predictions are compared to annotations, not the references. References might be missing or incorrect, but this is not flagged as a mismatch.

Validation des valeurs prédites​

Dans la vue Annotation, chaque valeur extraite est mise en surbrillance dans le document avec la couleur de son champ, comme indiqué à côté du nom du champ dans le panneau Annotation. Les valeurs extraites sont mises en surbrillance comme suit:

  • Filled: Extracted values. The fill is the same for confirmed and unconfirmed values. To check whether a value is confirmed, use its checkbox in the annotation panel: the checkbox is selected for confirmed values and cleared for unconfirmed values.

  • Solid border: The selected value. When you select a value in the annotation panel, its highlight in the document gets a solid border.

Pour valider les valeurs prédites, procédez comme suit:

  1. Point to the Flow Extract node and select Open full view.

  2. In the Dataset tab, select Annotate for the document you want to validate. The model highlights the relevant span of text in the document and displays the generated predictions in the annotation panel.

    Values that are applicable to multiple instances of a field group, such as account number, have arrow buttons to help navigate to relevant sections. The buttons appear when you point to the values.

  3. Examinez les prédictions et confirmez les valeurs extraites de l’une des manières suivantes:

    • Pour confirmer une valeur unique, cochez sa case.
    • Pour confirmer une ligne entière de groupe de champs, cochez la case de ligne.
    Remarque :

    Any changes you make but do not submit are saved as a draft, which you can return to and update later. For more details, check Draft annotations.

  4. Sélectionnez Soumettre pour soumettre vos annotations.

À tout moment, vous pouvez configurer des champs supplémentaires dans votre schéma d'extraction à partir de l'onglet Définition .

Exemple de validation de valeurs prédites dans Action Center​

The following image shows an example of validating predicted values in Action Center:

Annotation de la valeur attendue​

When a predicted value is incorrect, annotate the expected value. Your annotation becomes the ground truth, which is the correct value that evaluation runs compare the model predictions to. It does not change the model or its future predictions.

Pour annoter la valeur attendue, procédez comme suit:

  1. In the annotation panel, select the ellipsis for the field and then Change extracted value. For a field without a value, showing Is missing, select the plus icon.

  2. Mettez en surbrillance la valeur correcte dans le document.

  3. Sélectionnez Soumettre pour soumettre vos annotations.

Modification des valeurs​

In the annotation view of the Flow Extract node, you can edit values in the following ways:

  • Sélectionnez Ajouter une valeur pour créer une nouvelle valeur sans référence dans le document.
  • Sélectionnez l'ellipse d'un champ pour utiliser l'une des options suivantes:
    • Modifier la valeur extraite
    • Revenir à la valeur précédente
    • Marquer comme manquant
  • Sélectionnez l'ellipse d'une ligne de groupe de champs pour utiliser l'une des options suivantes:
    • Surligner la ligne
    • Supprimer la ligne

To confirm the values, select the checkbox of each value or field group row.

To show each instance of a field group as a row in a table instead of a list in the annotation panel, proceed as follows:

  1. In the Definition tab, select the ellipsis for the field group.
  2. Turn on Display as a table.

Annotations de brouillon​

Any edits you make to values and references on a document are stored as draft annotations until you submit them as annotations. As a result, the document status appears as In progress or as Annotated (Editing) for a document that was already annotated. To discard the draft, select Discard draft.

All of the previously mentioned actions, such as validating, annotating, and editing values, and submitting the annotations, are kept in the draft as you make changes.

If you refresh predictions while a document is in the draft state, the system preserves the draft annotations while repopulating new predictions and matches the new set of predictions from the model to the draft annotations.

Arrêt de la validation​

Validate at least 10 examples per field so that the model can provide meaningful validation statistics.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour