πŸ“„ Toxic Or Not ToxicΒΆ

processors.toxic_or_not_toxic

PostProcess(
    process_references=True,
    process_prediction=True,
    operator=StringEquals(
        string="toxic",
    ),
)
[source]

from unitxt.processors import StringEquals

Read more about catalog usage here.