From 570d39edec84d8d10642f071f5726182bde70a3b Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 8 Jan 2023 11:51:32 +0000 Subject: [PATCH] Refine label for hate_speech --- oasst-shared/oasst_shared/schemas/protocol.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/oasst-shared/oasst_shared/schemas/protocol.py b/oasst-shared/oasst_shared/schemas/protocol.py index 190ffa43..530c4f45 100644 --- a/oasst-shared/oasst_shared/schemas/protocol.py +++ b/oasst-shared/oasst_shared/schemas/protocol.py @@ -286,7 +286,11 @@ class TextLabel(str, enum.Enum): moral_judgement = "moral_judgement", "Expresses moral judgement" political_content = "political_content", "Expresses political views" humor = "humor", "Contains humorous content including sarcasm" - hate_speech = "hate_speech", "Expresses sentiment which is discriminatory against a grouping of people" + hate_speech = ( + "hate_speech", + "Content is abusive or threatening and expresses prejudice against a protected characteristic", + "Prejudice refers to preconceived views not based on reason. Protected characteristics include gender, ethnicity, religion, sexual orientation, and similar characteristics.", + ) threat = "threat", "Contains a threat against a person or persons" misleading = "misleading", "Contains text which is incorrect or misleading" helpful = "helpful", "Completes the task to a high standard"