author_str stringlengths 4 8 | fandom_str stringlengths 1 57 | author_int int64 0 239k | fandom_int int64 0 1.16k | text stringlengths 20.4k 944k |
|---|---|---|---|---|
4623254 | Infernal Devices, Cassandra Clare | 152,105 | 498 | Growing up with a brother, you always did things together. Gabriel and Gideon were no acception, although Gideon was so much calmer, Gabriel sarcastic and rude. Yes, Gideon was able to calm his younger brother, but sometimes only barely. He sometimes longed to touch, to hug his brother, but he knew that Gabriel would l... |
1109813 | Life With Derek | 9,734 | 596 | been spending more time with Derek, but that didn't mean she wanted to lose time with Lizzie also. "And it looks like they left us without anything to eat" Derek said, letting out a sigh as he closed the refrigerator in defeat. He leaned back against the counter, thinking of a solution to his hunger problem. He turned ... |
2414395 | True Blood | 78,362 | 1,050 | She was amazed by how quickly he could switch modes from inhumane and dominating to loving and gentle. She let out a few pants as the satisfying sensation of sparks and numbness washed over her lower body and for the moment felt extremely nice. She was sure she was shockingly red back there, but her bodies response to ... |
42173 | Fushigi Yuugi | 136,363 | 368 | "We would be honored to serve the priestess of Susaku once again. I can't believe that you're pregnant! Wait, where's Tamahome?" Chichiri asked with a worried expression on his face. "He's back in my world. He's set on providing for me, and our baby. Ever since we got married, he's been working nonstop. It's sweet thou... |
567661 | Evangelion | 180,091 | 304 | Maya then replied "Yes ma'am" "And copy all the other files from Hamada's laptop. Kaji and I will return to HQ about 10 minutes" "Yes ma'am" Misato then slapped her phone close and yanked Kaji off his seat "Come on Kaji, let's go back to NERV and sift the rest of Hamada's files Maya will uncover, and certainly that per... |
567661 | Evangelion | 180,091 | 304 | "Now that we are all here..." Fuyutsuki began "I'll go straight to the point. Earlier we have received a call directly into this office. Someone is threatening NERV organization to give up Evangelion Unit 1 and its pilot" "Who?" Misato instantly asked, already worried for the safety of her charge. "He wouldn't say. Onl... |
567661 | Full Metal Panic | 180,091 | 365 | They had been briefed about what group the terrorists belong, what kind of weapons they have brought, the building plans, the insertion points for Red, Green and Gold teams, and so on. Their briefing just took place five hours after the terrorists have taken over the building. Tension have been rising on that place sin... |
567661 | Gundam Seed | 180,091 | 429 | "That looks like the Eternal Battleship!" the Archangel's helmsman exclaimed. "The Independence disappeared from our sensors Admiral" Miriallia reported "Freedom cannot find the target!" "Does it have the MCSS function?" "Apparently, yes admiral" "The unknown battleship is breaking away from us!" Before Murrue could is... |
567661 | Gundam Seed | 180,091 | 429 | "That's certainly bad news... anyways are you heading towards to the Station 12?" "You mean a rendezvous with you?" "Yes, along with a couple of ships that had escaped from PLANT. After we've met up, we should be able to meet up with a few of the council members of the PLANT who had managed to escaped and tell us what ... |
1076615 | Azumanga Daioh | 7,371 | 77 | "I was looking apprehensively in the mirror at myself in the fourth set of clothes I'd tried on when(...TRUNCATED) |
PAN2020 Fanfiction Author-Fandom-Disjoint Train/Validation Split
PAN 2020 / PAN 2021 fanfiction authorship verification data with Train/Validation split. The training data has been pre-split into Train and Validation under Author-Fandom-Disjoint constraints as is appropriate for PAN21 test data.
The training data is one row per document to allow easy recombination. The PAN21 validation and test splits consist of fixed document pairs for consistent scoring. The string fields are the original data. The integer fields are based on sorting the unique strings.
Usage
from datasets import load_dataset
train_data = load_dataset("peterkirby/pan2020_dict_author_fandom_doc", "default", split="train")
pan21_val = load_dataset("peterkirby/pan2020_dict_author_fandom_doc", "pan21", split="validation")
pan21_test = load_dataset("peterkirby/pan2020_dict_author_fandom_doc", "pan21", split="test")
pan20_test = load_dataset("peterkirby/pan2020_dict_author_fandom_doc", "pan20", split="test")
Configs
default: onlytrainpan21:validationand the PAN21testsetpan20: onlytestwith the PAN20 authorship verification test set
Splits
train
Columns:
author_strfandom_strauthor_intfandom_inttext
validation
Columns:
sameauthor1_strfandom1_strauthor1_intfandom1_inttext1author2_strfandom2_strauthor2_intfandom2_inttext2
Balanced validation set:
- 10,000 Same Author / Different Fandom pairs
- 10,000 Different Author pairs
Same Author / Different Fandom:
same = true- same author, different fandoms
- document usage histogram: {1: 16900, 2: 1034, 3: 206, 4: 86, 5: 14} (mostly single use)
- unordered
(fandom1, fandom2)is not repeated within an author
Different Author:
same = false- different authors
- no document is repeated
- unordered
(author1, author2)is not repeated - author usage histogram: {2: 882, 3: 819, 4: 716, 5: 2583} (mostly 5 uses per author)
The validation dataset in the pan21 config is intended to be similar in construction to the official PAN21 test dataset. A greedy approach balanced the benefits of data efficiency and random selection with a random but weighted author/fandom selection, reducing the number of documents outside both Train and Validation. Note that a document is in Train or Validation if and only if both the author and fandom are assigned to that set, where there are no overlapping authors and no overlapping fandoms. The 20k pairs were constructed from 30,670 eligible documents in the validation set, which contains 5000 authors and 438 of 1600 fandoms.
test
In the pan21 config, this is the original PAN21 test set (converted to Parquet), an open-set authorship verification problem on unseen authors and fandoms.
In the pan20 config, this is the original PAN20 test set (converted to Parquet), a closed-set authorship verification problem on authors and fandoms already seen in the training data.
Preprocessing
Document text has been very lightly normalized (on top of PAN20's existing normalization) to fix contractions that looked like this: n"t. Helps tokenizers and pre-trained models.
APOS_TO_QUOTE = str.maketrans({
"'": '"', "’": '"', "‘": '"', "`": '"', "´": '"'
})
BETWEEN_ALPHA_QUOTE = re.compile(r'(?<=[^\W\d_])"(?=[^\W\d_])')
def fix_text(s: str) -> str:
s = str(s).translate(APOS_TO_QUOTE)
return BETWEEN_ALPHA_QUOTE.sub("'", s)
Citation
If you use this dataset for your research, please cite:
Sebastian Bischoff, Niklas Deckers, Marcel Schliebs, Ben Thies, Matthias Hagen, Efstathios Stamatatos, Benno Stein, and Martin Potthast.
The Importance of Suppressing Domain Style in Authorship Analysis.
CoRR, abs/2005.14714, May 2020.
BibTeX
@Article{stein:2020k,
author = {Sebastian Bischoff and Niklas Deckers and Marcel Schliebs and Ben Thies and Matthias Hagen and Efstathios Stamatatos and Benno Stein and Martin Potthast},
journal = {CoRR},
month = may,
title = {{The Importance of Suppressing Domain Style in Authorship Analysis}},
url = {https://arxiv.org/abs/2005.14714},
volume = {abs/2005.14714},
year = 2020
}
- Downloads last month
- 243