TECHNOLOGY

doccano imports: choose the annotation task before mapping text and labels

In this article
THE QUICK TAKE

Valid JSON does not establish an annotation contract; the project task and import field mapping determine how labels are interpreted.

Determine what a label represents

An emotion classifier assigns a category to a complete message, while a named-entity project marks positions inside that message. Both can arrive in JSONL, but their labels mean different things. The doccano workflow places project-type selection before importing data. Choose the supervised task from the intended model output, then verify that the source annotations express that task instead of choosing a project merely because it accepts a convenient file extension.

Query formats for the actual project

The official client reference exposes list_upload_options for a project and an upload operation with task, format and column mappings. Inspect options returned by the installed deployment rather than transferring a format name from another team’s screenshot. Record the project identity with the importer configuration. A compatible parser still needs to know whether a label denotes a document category, a text span or another supported annotation structure.

Map fields deliberately across examples

The sequence-labeling tutorial illustrates a particular project and import-export workflow. Treat its example fields as a documented example, not a universal promise that every source uses the same key names. Map the text column and annotation column explicitly where the importer supports that choice. A field called labels in an old export and a label parameter in a client interface are not interchangeable without checking the deployment’s accepted format.

Test meaning after successful parsing

Import a small selection with ordinary text, punctuation, non-Latin characters and an example with no target entities. Open each example and compare the displayed content with the original source. For span tasks, inspect the highlighted substring, not only the numeric boundaries. A parser can accept a record while a prior text cleanup has moved its offsets. Classification labels should likewise be checked against the intended category definitions, including legitimate negative or empty cases.

Verify the training-facing export

Export the pilot and parse it with the loader intended for training. Keep the import configuration, deployment version and field mapping alongside that check. The guides to CoNLL source representation and Unicode span integrity explain why a successful platform import is only part of a reliable conversion. The useful result is preserved annotation meaning across the complete route, not merely a file accepted without an error message.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles