Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.12 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.12 KB

oci-dls-bulk-labeling

Annotate a bulk number of records in an OCI Data Labeling Service (DLS) Dataset with labels.

Data Labeling Service (DLS) Bulk-Labeling tool

  1. Install the OCI Python SDK using the instructions provided here.

  2. Set up your OCI config file using the instructions provided here.

  3. Assign your own variables in config.py.

  4. bulk label your DLS Dataset records with:

    python3 main.py
    


    Valid values for labeling_algorithm are:

    "first_letter": The first letter of the DLS Dataset record's name must be equal to the first letter of the label that the record will be annotated with. The matching is not case-sensitive.

    "first_match": The regular expression (regex) pattern assigned to first_match_regex_pattern will be applied to the DLS Dataset record's name, and the first capture group extracted must be equal to the label that the record will be annotated with.