DocLabelConfigΒΆ

class pytext.config.field_config.DocLabelConfig[source]

Bases: ConfigBase

All Attributes (including base classes)

export_output_names: List[str] = ['doc_scores']
label_weights: Dict[str, float] = {}
target_prob: bool = False

Default JSON

{
    "export_output_names": [
        "doc_scores"
    ],
    "label_weights": {},
    "target_prob": false
}