Skip to main content
Version: 0.93

Data content views: Sequence tagging

This page walks through the various ways that you can view and interact with your data in dataviewer.

note

This page covers the views and options for sequence tagging applications. For other application types, see Data content views: Classification or Data content views: Candidate-based extraction for more information.

The data content section is the main canvas to show case your data in individual or aggregated formats.

Screenshot 2024-04-05 at 9.17.12 PM.webp

The following views are supported in sequence tagging applications:

Record view: View and edit metadata

Record view is the default view of data content in sequence tagging applications. For a singular data point, it displays key metadata as well as the full content of each field in a list format. Use this view to:

  • View metadata (e.g., ground truth, model prediction, labeling function (LF) votes, and training set label)
  • Edit metadata
  • Add spans
  • View data content

For sequence tagging applications, the Record view includes:

  • A highlight control pane.
  • Entry points to document-level tags and comments.
  • A data content area where you can view and edit metadata associated with individual spans in a document.

Data-view-seqtag.webp

The following sections walk through the actions that you can take while in the Record view.

Use the highlight control pane

Use the Highlight control pane to turn on/off highlights of each metadata. Use the dropdown to further control the types of highlight you'd like to see. Scroll horizontally to see all control options. Available controls include:

  • Ground truth: view all labels, or view a specific label
  • LF vote: view the vote result of a LF
  • Training set label
  • (Current) Model prediction

View the ground truth of a span

When the Ground truth highlight is turned on (in the highlight control pane), select a span highlight to see the ground truth label and span.

View information of overlapping spans

When you turn on multiple highlight types (in the highlight control pane), it is common to see overlapping spans. Click anywhere in the overlapping span to show the tooltip that displays the full information of all spans.

Add or change the ground truth of a span

Use the cursor to highlight the desired span text, and then use the modal to add or change the ground truth of the span.

Data-view-add-span.webp

Remove all ground truth labels

Click the Remove all labels from document button in the green bar below the highlight control row to remove all ground truth labels.

Add and manage tags

Click the tag icon to open and select from a list of tags. Tags are useful when you want to put data into specific categories to discover and perform error analysis. To manage all tags, click Manage to open the management pane.

Data-view-tag.webp

View and add comments

Click the speech bubble icon to view all existing comments and add your comment. To find existing comments, you can filter by comments using the data filter.

Snippet view

The Snippet view provides a "snippet", or a short piece of data content of multiple data points. It is useful to display search results or series of data points voted by a LF, where applicable matching strings are highlighted in the snippets. Use this view to:

  • Quickly confirm a desired string match and its immediate context.
  • View ground truth, LF votes, etc.

For sequence tagging applications, the Snippet view includes a highlight control pane.

The following actions are supported in Snippet view:

  • In-snippet scroll to display more spans within a document.
  • Click the a/a icon in the top right corner of the display control pane to show/hide the highlight control pane.
  • Click on a span to navigate to the Record view for that span.
  • When editing or creating an LF, any matching text pattern as described in LF is highlighted yellow in the snippets.

Table view

The Table view displays data points and their field values in a tabular format. Each row in the table represents a single data point (document) where one or more spans may appear. This view is most useful to perform bulk actions to edit tags.

The following actions are supported in Table view:

  • To change the fields that are shown in the table, in the advanced controls, click Select displayed columns.
  • To change the sort order, click the header.
  • Use the checkbox to select desired data points, then click Edit Tags to add, delete, or edit tags in bulk.