We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b665f6 commit 5ed274dCopy full SHA for 5ed274d
promptsource/templates/hate_speech18/templates.yaml
@@ -0,0 +1,18 @@
1
+dataset: hate_speech18
2
+templates:
3
+ 3266f9d4-9c80-4e17-a8a6-1fe44ca8f3bf: !Template
4
+ answer_choices: noHate ||| hate
5
+ id: 3266f9d4-9c80-4e17-a8a6-1fe44ca8f3bf
6
+ jinja: '{% if label in [0, 1] %}
7
+
8
+ {{text}} Is the sentiment the sentence expresses is a {{answer_choices[1]}} speech
9
+ or {{answer_choices[0]}} speech? ||| {{answer_choices[label]}}
10
11
+ {% endif %}'
12
+ metadata: !TemplateMetadata
13
+ choices_in_prompt: true
14
+ metrics:
15
+ - Accuracy
16
+ original_task: true
17
+ name: hate_or_noHate_sentiment_analysis
18
+ reference: ''
0 commit comments