From 78fac2b5f51d2ffc6e3d5b2cc7658676d8cc8ae6 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 8 Jan 2023 11:44:57 +0000 Subject: [PATCH] Refine label for harmful --- oasst-shared/oasst_shared/schemas/protocol.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oasst-shared/oasst_shared/schemas/protocol.py b/oasst-shared/oasst_shared/schemas/protocol.py index 190ffa43..ee021f14 100644 --- a/oasst-shared/oasst_shared/schemas/protocol.py +++ b/oasst-shared/oasst_shared/schemas/protocol.py @@ -276,10 +276,10 @@ class TextLabel(str, enum.Enum): fails_task = "fails_task", "Fails to follow the correct instruction / task" not_appropriate = "not_appropriate", "Inappropriate for customer assistant" violence = "violence", "Encourages or fails to discourage violence/abuse/terrorism/self-harm" - harmful = ( - "harmful", - "Harmful content", - "The advice given in the output is harmful or counter-productive. This may be in addition to, but is distinct from the label for encouraging violence/abuse/terrorism/self-harm.", + excessive_harm = ( + "excessive_harm", + "Content likely to cause excessive harm not justifiable in the context", + "Harm refers to physical or mental damage or injury to someone or something. Excessive refers to a reasonable threshold of harm in the context, for instance damaging skin is not excessive in the context of surgery.", ) sexual_content = "sexual_content", "Contains sexual content" toxicity = "toxicity", "Contains rude, abusive, profane or insulting content"