Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
text
stringlengths
50
362
masked
stringlengths
53
376
label
stringclasses
3 values
name
stringclasses
883 values
pronoun
stringclasses
2 values
pronoun_count
int64
1
5
jessica asked , not sounding as if she cared about the answer .
[NAME] asked , not sounding as if [PRONOUN] cared about the answer .
F
jessica
she
1
jeremy looked around and there were many people at the campsite ; then he looked down at the small keg .
[NAME] looked around and there were many people at the campsite ; then [PRONOUN] looked down at the small keg .
M
jeremy
he
1
tabitha did n't seem to notice as she swayed to the loud , thrashing music .
[NAME] did n't seem to notice as [PRONOUN] swayed to the loud , thrashing music .
F
tabitha
she
1
gerald could come in now , have a look if he wanted .
[NAME] could come in now , have a look if [PRONOUN] wanted .
M
gerald
he
1
chapter six as time went by , matthew found that he was no longer certain that he cared for journalism .
chapter six as time went by , [NAME] found that [PRONOUN] was no longer certain that [PRONOUN] cared for journalism .
M
matthew
he
2
liam tried to keep a straight face , but he could n't hold back a smile .
[NAME] tried to keep a straight face , but [PRONOUN] could n't hold back a smile .
M
liam
he
1
after all , ella was the same as she 'd always been .
after all , [NAME] was the same as [PRONOUN] 'd always been .
F
ella
she
1
seth shrugs as he hops off the bed and lands on the floor with a thud .
[NAME] shrugs as [PRONOUN] hops off the bed and lands on the floor with a thud .
M
seth
he
1
graham 's eyes meet mine , but i 'm sure there 's no way he remembers what he promised me several hours ago until he stands , stretching .
[NAME] 's eyes meet mine , but i 'm sure there 's no way [PRONOUN] remembers what [PRONOUN] promised me several hours ago until [PRONOUN] stands , stretching .
M
graham
he
3
grief tore through me-the kind i had n't known would be possible to feel again , because i had felt this when i 'd held caleb as he died .
grief tore through me-the kind i had n't known would be possible to feel again , because i had felt this when i 'd held [NAME] as [PRONOUN] died .
M
caleb
he
1
becky sat on the porch for some time after she finished reading the letter .
[NAME] sat on the porch for some time after [PRONOUN] finished reading the letter .
F
becky
she
1
seth 's stomach lurched as the ground grew distant , and he felt certain they would fall , but although the tree creaked beneath them , the golem did not falter .
[NAME] 's stomach lurched as the ground grew distant , and [PRONOUN] felt certain they would fall , but although the tree creaked beneath them , the golem did not falter .
M
seth
he
1
lizzie had been in human resources with the city of monterey , and she was excellent at what she did .
[NAME] had been in human resources with the city of monterey , and [PRONOUN] was excellent at what [PRONOUN] did .
F
lizzie
she
2
there were moments when eric was soft , when he seemed more like the person he had been .
there were moments when [NAME] was soft , when [PRONOUN] seemed more like the person [PRONOUN] had been .
M
eric
he
2
johnny was surprised , but as he reflected on it , many things began to fall into place .
[NAME] was surprised , but as [PRONOUN] reflected on it , many things began to fall into place .
M
johnny
he
1
cara blinked back tears when she looked at the last two photos .
[NAME] blinked back tears when [PRONOUN] looked at the last two photos .
F
cara
she
1
with nowhere to go , dylan became adopted by the only two people left that he knew by name .
with nowhere to go , [NAME] became adopted by the only two people left that [PRONOUN] knew by name .
M
dylan
he
1
brianna stayed where she was until she heard the heavy footsteps moving away from the door and out of the room .
[NAME] stayed where [PRONOUN] was until [PRONOUN] heard the heavy footsteps moving away from the door and out of the room .
F
brianna
she
2
plus , the stench left natalie wishing she couldnt smell at all .
plus , the stench left [NAME] wishing [PRONOUN] couldnt smell at all .
F
natalie
she
1
angie was trying to smile , as if she wanted to show that this was nothing , just another late night chat .
[NAME] was trying to smile , as if [PRONOUN] wanted to show that this was nothing , just another late night chat .
F
angie
she
1
chapter twenty i looked at jared like he 'd lost a marble or two .
chapter twenty i looked at [NAME] like [PRONOUN] 'd lost a marble or two .
M
jared
he
1
isabel 's cheeks heated slightly as she remembered what they 'd done last night , but she maintained a friendly expression .
[NAME] 's cheeks heated slightly as [PRONOUN] remembered what they 'd done last night , but [PRONOUN] maintained a friendly expression .
F
isabel
she
2
bonnie crawled toward them and lifted a hand when she got close .
[NAME] crawled toward them and lifted a hand when [PRONOUN] got close .
F
bonnie
she
1
jessie went immediately to a large roll-top desk and unlocked a lower drawer , then she pulled out a sheaf of papers .
[NAME] went immediately to a large roll-top desk and unlocked a lower drawer , then [PRONOUN] pulled out a sheaf of papers .
B
jessie
she
1
shouted nicholas as he sprinted into the living room , sword drawn .
shouted [NAME] as [PRONOUN] sprinted into the living room , sword drawn .
M
nicholas
he
1
for a moment , karl looked rather puzzled , until he put the pieces together .
for a moment , [NAME] looked rather puzzled , until [PRONOUN] put the pieces together .
M
karl
he
1
hearing it brought something home to bonnie , something she tended to forget .
hearing it brought something home to [NAME] , something [PRONOUN] tended to forget .
F
bonnie
she
1
gabriel suppressed a sudden surge of triumph he was ashamed of feeling .
[NAME] suppressed a sudden surge of triumph [PRONOUN] was ashamed of feeling .
M
gabriel
he
1
elliot could move like smoke when he wanted to , or a ghost in the night .
[NAME] could move like smoke when [PRONOUN] wanted to , or a ghost in the night .
M
elliot
he
1
sam 's stern tone made it clear he would n't have made the same call .
[NAME] 's stern tone made it clear [PRONOUN] would n't have made the same call .
M
sam
he
1
tessa stood at the edge of a precipice in a country she did not know .
[NAME] stood at the edge of a precipice in a country [PRONOUN] did not know .
F
tessa
she
1
chapter 15 as dave wandered once more through the streets of carpe yolu , he was thankful for the opportunity to give the city a second viewing .
chapter 15 as [NAME] wandered once more through the streets of carpe yolu , [PRONOUN] was thankful for the opportunity to give the city a second viewing .
M
dave
he
1
i 'm trying hard to be strong and put the pieces back together , but ryan did n't leave me with pieces-he left me with ashes .
i 'm trying hard to be strong and put the pieces back together , but [NAME] did n't leave me with pieces-[PRONOUN] left me with ashes .
B
ryan
he
1
they were all staring at emma like she was the be-all and end-all , the final thumbs-up or thumbs-down .
they were all staring at [NAME] like [PRONOUN] was the be-all and end-all , the final thumbs-up or thumbs-down .
F
emma
she
1
jill asks as she leans on the counter next to me where i 'm charting and passes me a starbucks .
[NAME] asks as [PRONOUN] leans on the counter next to me where i 'm charting and passes me a starbucks .
F
jill
she
1
jenna had always got what she wanted and who she wanted .
[NAME] had always got what [PRONOUN] wanted and who [PRONOUN] wanted .
F
jenna
she
2
eli huggins was no tower of virtue , but he was n't about to get in bed with the likes of them .
[NAME] huggins was no tower of virtue , but [PRONOUN] was n't about to get in bed with the likes of them .
M
eli
he
1
ian asked , and he looked suddenly nervous as he dropped the nut he held .
[NAME] asked , and [PRONOUN] looked suddenly nervous as [PRONOUN] dropped the nut [PRONOUN] held .
M
ian
he
3
i grabbed jessie 's arm , but he pulled away from me .
i grabbed [NAME] 's arm , but [PRONOUN] pulled away from me .
B
jessie
he
1
kyle was not the first coach to discover this escape route , and on this night he wanted to avoid not only the families and their complaints but also the agent/cop .
[NAME] was not the first coach to discover this escape route , and on this night [PRONOUN] wanted to avoid not only the families and their complaints but also the agent/cop .
M
kyle
he
1
claire knew she sounded haughty , but she did n't care .
[NAME] knew [PRONOUN] sounded haughty , but [PRONOUN] did n't care .
F
claire
she
2
from that time on sam thought that he sensed a change in gollum again .
from that time on [NAME] thought that [PRONOUN] sensed a change in gollum again .
M
sam
he
1
sebastian sounded as if he could have been talking to anyone .
[NAME] sounded as if [PRONOUN] could have been talking to anyone .
M
sebastian
he
1
that was when damon realized that he was actually going to die .
that was when [NAME] realized that [PRONOUN] was actually going to die .
M
damon
he
1
at least it had gotten nina to show something of how she felt .
at least it had gotten [NAME] to show something of how [PRONOUN] felt .
F
nina
she
1
people started grouping together in fours ; i turned to gretchen and figured she and i would be a team with hickory and dickory .
people started grouping together in fours ; i turned to [NAME] and figured [PRONOUN] and i would be a team with hickory and dickory .
F
gretchen
she
1
joel knew what he had todo ; he had done it before .
[NAME] knew what [PRONOUN] had todo ; [PRONOUN] had done it before .
M
joel
he
2
marlene swore she loved me , and i think she honestly did .
[NAME] swore [PRONOUN] loved me , and i think [PRONOUN] honestly did .
F
marlene
she
2
olivia 's head snapped over , and she studied me .
[NAME] 's head snapped over , and [PRONOUN] studied me .
F
olivia
she
1
thomas was asked to fill us in on everything he knows about the epidemic and the undead .
[NAME] was asked to fill us in on everything [PRONOUN] knows about the epidemic and the undead .
M
thomas
he
1
ian had n't asked permission to go ; he 'd announced he was going .
[NAME] had n't asked permission to go ; [PRONOUN] 'd announced [PRONOUN] was going .
M
ian
he
2
andy had been in what functioned as our library , poring through medical tomes like he had been for days , saying that he was preparing for a time when it would be safe enough to venture out and provide medical care to some of the survivors .
[NAME] had been in what functioned as our library , poring through medical tomes like [PRONOUN] had been for days , saying that [PRONOUN] was preparing for a time when it would be safe enough to venture out and provide medical care to some of the survivors .
M
andy
he
2
kate mumbled as she fought to look away from the scene .
[NAME] mumbled as [PRONOUN] fought to look away from the scene .
F
kate
she
1
heart racing , ethan moved like he was on strings and rounded on the door .
heart racing , [NAME] moved like [PRONOUN] was on strings and rounded on the door .
M
ethan
he
1
paul struggled as he tried to digest this information .
[NAME] struggled as [PRONOUN] tried to digest this information .
M
paul
he
1
elise gave no pause , heeded no caution , and wrote down exactly what she felt .
[NAME] gave no pause , heeded no caution , and wrote down exactly what [PRONOUN] felt .
F
elise
she
1
i just -- - the sound of kims car nearing the house silenced sharon before she could finish .
i just -- - the sound of kims car nearing the house silenced [NAME] before [PRONOUN] could finish .
F
sharon
she
1
jacqueline looked for a place to sit down , before she passed out .
[NAME] looked for a place to sit down , before [PRONOUN] passed out .
F
jacqueline
she
1
ashley knows where she is supposed to go , and leads the way to the back room with the piano .
[NAME] knows where [PRONOUN] is supposed to go , and leads the way to the back room with the piano .
F
ashley
she
1
lydia 's next instruction had been to choose wool in the color she disliked most .
[NAME] 's next instruction had been to choose wool in the color [PRONOUN] disliked most .
F
lydia
she
1
how much could patrick take before he actually died ?
how much could [NAME] take before [PRONOUN] actually died ?
M
patrick
he
1
kate nodded quietly as she tried to concentrate on chewing the succulent chicken that had tasted so delicious earlier but now had lost all flavor .
[NAME] nodded quietly as [PRONOUN] tried to concentrate on chewing the succulent chicken that had tasted so delicious earlier but now had lost all flavor .
F
kate
she
1
sebastian did n't notice julians exhaustion earlier , but he remembered their last call .
[NAME] did n't notice julians exhaustion earlier , but [PRONOUN] remembered their last call .
M
sebastian
he
1
isaac , watching the action on screen , laughed , although he was disappointed .
[NAME] , watching the action on screen , laughed , although [PRONOUN] was disappointed .
M
isaac
he
1
brody is the stockier one and seems nice enough , at least i 'm guessing he is .
[NAME] is the stockier one and seems nice enough , at least i 'm guessing [PRONOUN] is .
M
brody
he
1
deborah doesnt understand when she doesnt want to .
[NAME] doesnt understand when [PRONOUN] doesnt want to .
F
deborah
she
1
madeline must have had the same thought that i did because she frowned .
[NAME] must have had the same thought that i did because [PRONOUN] frowned .
F
madeline
she
1
a plan was forming in kevin 's head as he accelerated forward , getting closer and closer to the cop car .
a plan was forming in [NAME] 's head as [PRONOUN] accelerated forward , getting closer and closer to the cop car .
M
kevin
he
1
mary didnt move until she heard the outside door close .
[NAME] didnt move until [PRONOUN] heard the outside door close .
F
mary
she
1
cried sam , though at last he understood what was happening .
cried [NAME] , though at last [PRONOUN] understood what was happening .
M
sam
he
1
jenna , who was leaning against the wall by the fire , thought she could hear a faint sound of meowing from inside the wall , but as that was obviously impossible , she decided it must be coming from outside and ignored it .
[NAME] , who was leaning against the wall by the fire , thought [PRONOUN] could hear a faint sound of meowing from inside the wall , but as that was obviously impossible , [PRONOUN] decided it must be coming from outside and ignored it .
F
jenna
she
2
flares of lightning illuminated faces that sarah wished she had not seenbleached bone , torn skin , hollow eyes and hanging mouths .
flares of lightning illuminated faces that [NAME] wished [PRONOUN] had not seenbleached bone , torn skin , hollow eyes and hanging mouths .
F
sarah
she
1
vincent accepted joeys hand without hesitation , showing that he had no hard feelings over the loss .
[NAME] accepted joeys hand without hesitation , showing that [PRONOUN] had no hard feelings over the loss .
M
vincent
he
1
i 've given garrett about a thousand opportunities to seduce me , and he 's rebuffed me at every turn .
i 've given [NAME] about a thousand opportunities to seduce me , and [PRONOUN] 's rebuffed me at every turn .
M
garrett
he
1
twenty-two-year-old amy knew exactly what she wanted to do , and it did not involve administration of anything .
twenty-two-year-old [NAME] knew exactly what [PRONOUN] wanted to do , and it did not involve administration of anything .
F
amy
she
1
addie hadnt called or emailed since she moved back to kentucky .
[NAME] hadnt called or emailed since [PRONOUN] moved back to kentucky .
F
addie
she
1
darryl frequently missed the target at the shooting range but at least he practiced once a week .
[NAME] frequently missed the target at the shooting range but at least [PRONOUN] practiced once a week .
M
darryl
he
1
cassie 's confusion mounted as she stared at the picture on the wall .
[NAME] 's confusion mounted as [PRONOUN] stared at the picture on the wall .
F
cassie
she
1
joel stopped ; he considered racing back intothe crowd by the elevators but knew it was pointless.if bertholdier had posted a watchdog in thebasement , others would be upstairs , in the corridors , in the lobby .
[NAME] stopped ; [PRONOUN] considered racing back intothe crowd by the elevators but knew it was pointless.if bertholdier had posted a watchdog in thebasement , others would be upstairs , in the corridors , in the lobby .
M
joel
he
1
simon jumped out of the chair so fast he nearly tipped it over .
[NAME] jumped out of the chair so fast [PRONOUN] nearly tipped it over .
M
simon
he
1
felicia spoke as if she was having a one-way conversation .
[NAME] spoke as if [PRONOUN] was having a one-way conversation .
F
felicia
she
1
marlene was nervous about this as it could cause more serious problems than the one she was desperate to solve .
[NAME] was nervous about this as it could cause more serious problems than the one [PRONOUN] was desperate to solve .
F
marlene
she
1
thats when avery realized the huge opportunity she had been given .
thats when [NAME] realized the huge opportunity [PRONOUN] had been given .
B
avery
she
1
sebastian might have been evil-but he definitely had some firespell skills .
[NAME] might have been evil-but [PRONOUN] definitely had some firespell skills .
M
sebastian
he
1
chapter nine when chloe woke up a few hours later , having apparently released fenris while they slept , she was beyond ravenous .
chapter nine when [NAME] woke up a few hours later , having apparently released fenris while they slept , [PRONOUN] was beyond ravenous .
F
chloe
she
1
uncertain of how to proceed , abigail did what she did best ; she fell onto the floor in a fit of moaning .
uncertain of how to proceed , [NAME] did what [PRONOUN] did best ; [PRONOUN] fell onto the floor in a fit of moaning .
F
abigail
she
2
jonathan knew if he did n't turn soon , he was going to end up at the pond .
[NAME] knew if [PRONOUN] did n't turn soon , [PRONOUN] was going to end up at the pond .
M
jonathan
he
2
cassie looked up at last ; she could n't help it .
[NAME] looked up at last ; [PRONOUN] could n't help it .
F
cassie
she
1
joe finds a coil of line in the boat which he uses to tie up the package .
[NAME] finds a coil of line in the boat which [PRONOUN] uses to tie up the package .
M
joe
he
1
i squeeze damien 's hand tighter , hoping he has a car nearby .
i squeeze [NAME] 's hand tighter , hoping [PRONOUN] has a car nearby .
M
damien
he
1
before micah heard something he did n't need to hear .
before [NAME] heard something [PRONOUN] did n't need to hear .
M
micah
he
1
and then i thought about ryder and how desperate he was to help me .
and then i thought about [NAME] and how desperate [PRONOUN] was to help me .
M
ryder
he
1
leanne must 've recognized the urgency of the situation because she immediately reversed .
[NAME] must 've recognized the urgency of the situation because [PRONOUN] immediately reversed .
F
leanne
she
1
jane had no clue how to respond , so she didnt , and turned back to look through the shutter .
[NAME] had no clue how to respond , so [PRONOUN] didnt , and turned back to look through the shutter .
F
jane
she
1
ben became excited as he was walking quickly down the street .
[NAME] became excited as [PRONOUN] was walking quickly down the street .
M
ben
he
1
chapter eight as were finishing up the last of our subway sandwiches on friday , luke gives me a look like he wants to say something .
chapter eight as were finishing up the last of our subway sandwiches on friday , [NAME] gives me a look like [PRONOUN] wants to say something .
M
luke
he
1
it was making a lot of sense to marie , and she wanted to understand further .
it was making a lot of sense to [NAME] , and [PRONOUN] wanted to understand further .
F
marie
she
1
cynthia did n't turn around ; she wiped another tear and sighed .
[NAME] did n't turn around ; [PRONOUN] wiped another tear and sighed .
F
cynthia
she
1
lucy gave me a half smile , though she was clearly disappointed .
[NAME] gave me a half smile , though [PRONOUN] was clearly disappointed .
F
lucy
she
1
ryan looked just as good , if not better , than he had before shed left .
[NAME] looked just as good , if not better , than [PRONOUN] had before shed left .
B
ryan
he
1

GENTER (GEnder Name TEmplates with pRonouns)

This dataset consists of template sentences associating first names ([NAME]) with third-person singular pronouns ([PRONOUN]), e.g.,

[NAME] asked , not sounding as if [PRONOUN] cared about the answer .
after all , [NAME] was the same as [PRONOUN] 'd always been .
there were moments when [NAME] was soft , when [PRONOUN] seemed more like the person [PRONOUN] had been .

Dataset Details

Dataset Description

This dataset is a filtered version of BookCorpus containing only sentences where a first name is followed by its correct third-person singular pronoun (he/she). Based on these sentences, template sentences (masked) are created including two template keys: [NAME] and [PRONOUN]. Thus, this dataset can be used to generate various sentences with varying names (e.g., from aieng-lab/namexact) and filling in the correct pronoun for this name.

This dataset is a filtered version of BookCorpus that includes only sentences where a first name appears alongside its correct third-person singular pronoun (he/she).

From these sentences, template-based sentences (masked) are created with two template keys: [NAME] and [PRONOUN]. This design allows the dataset to generate diverse sentences by varying the names (e.g., using names from aieng-lab/namexact) and inserting the appropriate pronoun for each name.

Dataset Sources

Dataset Structure

  • text: the original entry of BookCorpus
  • masked: the masked version of text, i.e., with template masks for the name ([NAME]) and the pronoun ([PRONOUN])
  • label: the gender of the original used name (F for female and M for male)
  • name: the original name in text that is masked in masked as [NAME]
  • pronoun: the original pronoun in text that is masked in masked as [PRONOUN] (he/ she)
  • pronoun_count: the number of occurrences of pronouns (typically 1, at most 4)

Dataset Creation

Curation Rationale

For the training of a gender bias GRADIEND model, a diverse dataset associating first names with both, its factual and counterfactual pronoun associations, to assess gender-related gradient information.

Source Data

The dataset is derived from BookCorpus by filtering it and extracting the template structure.

We selected BookCorpus as foundational dataset due to its focus on fictional narratives where characters are often referred to by their first names. In contrast, the English Wikipedia, also commonly used for the training of transformer models, was less suitable for our purposes. For instance, sentences like [NAME] Jackson was a musician, [PRONOUN] was a great singer may be biased towards the name Michael.

Data Collection and Processing

We filter the entries of BookCorpus and include only sentences that meet the following criteria:

  • Each sentence contains at least 50 characters
  • Exactly one name of aieng-lab/namexact is contained, ensuringa correct name match.
  • No other names from a larger name dataset (aieng-lab/namextend) are included, ensuring that only a single name appears in the sentence.
  • The correct name's gender-specific third-person pronoun (he or she) is included at least once.
  • All occurrences of the pronoun appear after the name in the sentence.
  • The counterfactual pronoun does not appear in the sentence.
  • The sentence excludes gender-specific reflexive pronouns (himself, herself) and possesive pronouns (his, her, him, hers)
  • Gendered nouns (e.g., actor, actress, ...) are excluded, based on a gemdered-word dataset with 2421 entries.

This approach generated a total of 83772 sentences. To further enhance data quality, we employed s imple BERT model (bert-base-uncased) as a judge model. This model must predict the correct pronoun for selected names with high certainty, otherwise, sentences may contain noise or ambiguous terms not caught by the initial filtering. Specifically, we used 50 female and 50 male names from the (aieng-lab/namextend) train split, and a correct prediction means the correct pronoun token is predicted as the token with the highest probability in the induced Masked Language Modeling (MLM) task. Only sentences for which the judge model correctly predicts the pronoun for every test case were retrained, resulting in a total of 27031 sentences.

The data is split into training (87.5%), validation (2.5%) and test (10%) subsets.

Bias, Risks, and Limitations

Due to BookCorpus, only lower-case sentences are contained.

Citation

BibTeX:

@misc{drechsel2025gradiendmonosemanticfeaturelearning,
      title={{GRADIEND}: Monosemantic Feature Learning within Neural Networks Applied to Gender Debiasing of Transformer Models}, 
      author={Jonathan Drechsel and Steffen Herbold},
      year={2025},
      eprint={2502.01406},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2502.01406}, 
}

Dataset Card Authors

jdrechsel

Downloads last month
52