- Información general
- LLM configuration
- Creación de modelos
- Evaluación del modelo
- Implementación del modelo
- Consumir modelos
- Preguntas frecuentes
Validar valores predichos
Valida las predicciones del modelo de Extracción y Procesamiento Inteligentes (IXP) en el nodo Extraer de UiPath Maestro™ Flow para establecer la verdad sobre el terreno después de refinar las instrucciones de solicitud, sin entrenar directamente el modelo a partir de las anotaciones.
Información general
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.
El proceso de validación implica lo siguiente:
- Confirmar los valores extraídos si son correctos.
- Anotar los valores esperados si los valores predichos son incorrectos.
- Marcar los campos como inexistentes si no están presentes en el documento.
- Configuring any additional fields in your taxonomy.
Predicciones y referencias
Predictions are the predicted values compared to ground truth.
Las predicciones incorrectas o faltantes afectan a la puntuación del modelo y a las métricas de rendimiento en la pestaña Ejecuciones de evaluación .
Las referencias son las referencias coincidentes con los valores previstos encontrados en el documento. El propósito de las referencias es ayudar a los usuarios a encontrar la parte correcta del documento.
Las referencias incorrectas o faltantes no afectan a la puntuación del modelo ni a las métricas de rendimiento. Sin embargo, puede ser útil añadir o corregir referencias para mejorar la experiencia de validación humana.
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.
Referencias y valores confirmados y no confirmados
Esta sección muestra cómo se ven los valores y referencias en su estado confirmado (validado) y en su estado no confirmado (no validado).
Valores previstos
The following image shows the annotation panel listing the values that the model predicted for each field:
Valores no confirmados
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:
Valores validados
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.
Validar valores predichos
En la vista de anotación, cada valor extraído se resalta en el documento con el color de su campo, como se muestra junto al nombre del campo en el panel de anotación. Los valores extraídos se resaltan de la siguiente manera:
-
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.
Para validar los valores predichos, sigue estos pasos:
-
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.
-
Revisa las predicciones y confirma los valores extraídos de una de las siguientes maneras:
- Para confirmar un solo valor, selecciona su casilla de verificación.
- Para confirmar una fila de grupo de campos completa, selecciona la casilla de verificación de la fila.
Nota: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.
-
Selecciona Enviar para enviar tus anotaciones.
Puedes configurar campos adicionales en tu esquema de extracción en cualquier punto desde la pestaña Definición .
Ejemplo de validación de valores predichos en Action Center
The following image shows an example of validating predicted values in Action Center:
Anotar el valor esperado
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.
Para anotar el valor esperado, procede de la siguiente manera:
-
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.
-
Resalta el valor correcto en el documento.
-
Selecciona Enviar para enviar tus anotaciones.
Editar valores
In the annotation view of the Flow Extract node, you can edit values in the following ways:
- Selecciona Añadir valor para crear un nuevo valor sin referencia en el documento.
- Selecciona los puntos suspensivos de un campo para utilizar una de las siguientes opciones:
- Cambiar valor extraído
- Revertir al valor previo
- Marcar como ausente
- Selecciona los puntos suspensivos para que una fila de grupo de campos utilice una de las siguientes opciones:
- Resaltar fila
- Eliminar fila
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.
Anotaciones de borrador
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.
Detener la validación
Validate at least 10 examples per field so that the model can provide meaningful validation statistics.
- Información general
- Predicciones y referencias
- Referencias y valores confirmados y no confirmados
- Valores previstos
- Valores no confirmados
- Confirmed values
- Valores validados
- Validar valores predichos
- Ejemplo de validación de valores predichos en Action Center
- Anotar el valor esperado
- Editar valores
- Anotaciones de borrador
- Detener la validación