Skip to content

medcat.utils.ner.transformers_ner

Classes:

MedCATAnnotationsConfig

Bases: BuilderConfig

BuilderConfig for MedCATNER.

Parameters:

  • **kwargs

    keyword arguments forwarded to super.

TransformersDatasetNER

Bases: GeneratorBasedBuilder

MedCATNER: Output of MedCATtrainer

Attributes:

BUILDER_CONFIGS class-attribute instance-attribute

BUILDER_CONFIGS = [MedCATAnnotationsConfig(name='json', version=Version('1.0.0', ''), description='JSON output from MedCATtrainer')]