kiddothe2b commited on
Commit
c920bb0
1 Parent(s): f4c6658

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +75 -0
README.md CHANGED
@@ -1,3 +1,78 @@
1
  ---
2
  license: cc-by-nc-sa-4.0
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nc-sa-4.0
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - medical
9
+ pretty_name: medical-bios
10
+ size_categories:
11
+ - 1K<n<10K
12
  ---
13
+
14
+ # Dataset Description
15
+
16
+ The dataset comprises English biographies labeled with occupations and binary genders.
17
+ This is an occupation classification task, where bias with respect to gender can be studied.
18
+ It includes a subset of 10,000 biographies (8k train/1k dev/1k test) targeting 5 medical occupations (psychologist, surgeon, nurse, dentist, physician).
19
+ We collect and release human rationale annotations for a subset of 100 biographies in two different settings: non-contrastive and contrastive.
20
+ In the former, the annotators were asked to find the rationale for the question: "Why is the person in the following short bio described as a L?", where L is the gold label occupation, e.g., nurse.
21
+ In the latter, the question was "Why is the person in the following short bio described as a L rather than a F", where F (foil) is another medical occupation, e.g., physician.
22
+
23
+ # Dataset Structure
24
+
25
+ We provide the `standard` version of the dataset, where examples look as follows.
26
+
27
+ ```json
28
+ {
29
+ "text": "He has been a practicing Dentist for 20 years. He has done BDS . He is currently associated with Sree Sai Dental Clinic in Sowkhya Ayurveda Speciality Clinic, Chennai. ... ",
30
+ "label": 3,
31
+ }
32
+ ```
33
+
34
+ and the newly curated subset of examples including human rationales, dubbed `rationales', where examples look as follows.
35
+
36
+
37
+ ```json
38
+ {
39
+ "text": "'She is currently practising at Dr Ravindra Ratolikar Dental Clinic in Narayanguda, Hyderabad.",
40
+ "label": 3,
41
+ "foil": 2,
42
+ "words": ['She', 'is', 'currently', 'practising', 'at', 'Dr', 'Ravindra', 'Ratolikar', 'Dental', 'Clinic', 'in', 'Narayanguda', ',', 'Hyderabad', '.']
43
+ "rationale": [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
44
+ "contrastive_rationale": [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
45
+ }
46
+
47
+ ```
48
+
49
+ # Use
50
+
51
+ To load the `standard` version of the dataset:
52
+
53
+ ```python
54
+ from datasets import load_dataset
55
+ dataset = load_dataset("coastalcph/medical-bios", "standard")
56
+ ```
57
+
58
+ To load the newly curated subset of examples with human rationales:
59
+
60
+ ```python
61
+ from datasets import load_dataset
62
+ dataset = load_dataset("coastalcph/medical-bios", "rationales")
63
+ ```
64
+
65
+ # Citation
66
+
67
+ [*Oliver Eberle\*, Ilias Chalkidis\*, Laura Cabello, Stephanie Brandl. Rather a Nurse than a Physician - Contrastive Explanations under Investigation. 2023. In the Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. Singapore.*](xxx)
68
+
69
+ ```
70
+ @inproceedings{eberle-etal-2023-contrast-bios,
71
+ author={Oliver Eberle, Ilias Chalkidis, Laura Cabello, Stephanie Brandl},
72
+ title={Rather a Nurse than a Physician - Contrastive Explanations under Investigation},
73
+ booktitle={Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},
74
+ year={2023},
75
+ address={Singapore, Singapore}
76
+ }
77
+ ```
78
+