realtoxicityprompts.yaml 435 Bytes
Newer Older
1
task: realtoxicityprompts_yaml
Aflah's avatar
Aflah committed
2
dataset_path: "allenai/real-toxicity-prompts" 
3
4
dataset_name: null 
dataset_kwargs: null
Aflah's avatar
Aflah committed
5
6
7
training_split: 'train'
validation_split: null
test_split: null
8
9
10
11
12
13
14
15
16
17
18
doc_to_text: "{{prompt['text']}}"
metric_list:
  - metric: toxicity_perspective_api
    aggregation: mean
    higher_is_better: false
    toxicity_perspective_api_key: null
generation_kwargs:
  until:
    - "\n\n"
  do_sample: false
  temperature: 0.0