- Überblick
- LLM configuration
- Modellerstellung
- Modellauswertung
- Modellbereitstellung
- Verbrauchen von Modellen
- Häufig gestellte Fragen
Validierung von vorhergesagten Werten
Validieren Sie IXP-Modellvorhersagen im Extraktionsknoten von UiPath Maestro™ Flow, um nach der Optimierung von Prompt-Anweisungen Referenzdaten zu ermitteln, ohne das Modell direkt aus Anmerkungen zu trainieren.
Überblick
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.
Der Validierungsprozess beinhaltet Folgendes:
- Bestätigung der extrahierten Werte, wenn sie korrekt sind.
- Versehen der erwarteten Werte mit Anmerkungen, wenn die vorhergesagten Werte falsch sind.
- Markieren von Feldern als fehlend, wenn sie im Dokument nicht vorhanden sind.
- Configuring any additional fields in your taxonomy.
Vorhersagen und Verweise
Predictions are the predicted values compared to ground truth.
Falsche oder fehlende Vorhersagen wirken sich auf die Modellpunktzahl und die Leistungsmetriken auf der Registerkarte Evaluierungsausführungen aus.
Referenzen sind die übereinstimmenden Verweise zu den vorhergesagten Werten, die im Dokument gefunden wurden. Referenzen sollen den Benutzern helfen, den richtigen Teil des Dokuments zu finden.
Falsche oder fehlende Verweise wirken sich nicht auf die Modellpunktzahl oder die Leistungsmetriken aus. Es kann jedoch hilfreich sein, Verweise hinzuzufügen oder zu korrigieren, um die Validierung durch Menschen zu verbessern.
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.
Bestätigte und unbestätigte Verweise und Werte
In diesem Abschnitt wird gezeigt, wie Werte und Verweise im bestätigten (validiert) und unbestätigten (nicht validiert) Status aussehen.
Vorhergesagte Werte
The following image shows the annotation panel listing the values that the model predicted for each field:
Unbestätigte Werte
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:
Validierte Werte
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:
Predictions are compared to annotations, not the references. References might be missing or incorrect, but this is not flagged as a mismatch.
Validierung von vorhergesagten Werten
In der Anmerkungsansicht wird jeder extrahierte Wert im Dokument mit der Farbe seines Felds hervorgehoben, wie neben dem Feldnamen im Anmerkungsbereich angezeigt. Extrahierte Werte werden wie folgt hervorgehoben:
-
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.
Führen Sie die folgenden Schritte aus, um die vorhergesagten Werte zu validieren:
-
Point to the Flow Extract node and select Open full view.
-
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.
-
Überprüfen Sie die Vorhersagen und bestätigen Sie die extrahierten Werte auf eine der folgenden Arten:
- Um einen einzelnen Wert zu bestätigen, aktivieren Sie sein Kontrollkästchen.
- Um eine gesamte Feldgruppenzeile zu bestätigen, aktivieren Sie das Kontrollkästchen Zeile.
Hinweis: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.
-
Wählen Sie Einreichen , um Ihre Anmerkungen zu übermitteln.
Sie können zusätzliche Felder in Ihrem Extraktionsschema jederzeit über die Registerkarte Definition konfigurieren.
Beispiel für die Validierung von vorhergesagten Werten im Action Center
The following image shows an example of validating predicted values in Action Center:
Versehen des erwarteten Werts mit Anmerkungen
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.
Um den erwarteten Wert mit einer Anmerkung zu versehen, gehen Sie wie folgt vor:
-
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.
-
Markieren Sie den korrekten Wert im Dokument.
-
Wählen Sie Einreichen , um Ihre Anmerkungen zu übermitteln.
Bearbeiten von Werten
In the annotation view of the Flow Extract node, you can edit values in the following ways:
- Wählen Sie Wert hinzufügen aus, um einen neuen Wert ohne Referenz im Dokument zu erstellen.
- Wählen Sie die Auslassungspunkte neben einem Feld, um eine der folgenden Optionen zu verwenden:
- Extrahierten Wert ändern
- Auf vorherigen Wert zurücksetzen
- Als fehlend markieren
- Wählen Sie die Auslassungspunkte neben einer Feldgruppenzeile, um eine der folgenden Optionen zu verwenden:
- Zeile markieren
- Zeile löschen
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:
- In the Definition tab, select the ellipsis for the field group.
- Turn on Display as a table.
Entwurfsanmerkungen
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.
Die Validierung wird angehalten
Validate at least 10 examples per field so that the model can provide meaningful validation statistics.
- Überblick
- Vorhersagen und Verweise
- Bestätigte und unbestätigte Verweise und Werte
- Vorhergesagte Werte
- Unbestätigte Werte
- Confirmed values
- Validierte Werte
- Validierung von vorhergesagten Werten
- Beispiel für die Validierung von vorhergesagten Werten im Action Center
- Versehen des erwarteten Werts mit Anmerkungen
- Bearbeiten von Werten
- Entwurfsanmerkungen
- Die Validierung wird angehalten