Skip to content

Code to reproduce the experiments presented in "Distinguishing Fictional Voices: a Study of Authorship Verification Models for Quotation Attribution" (LaTeCH-CLfl workshop at EACL 2024)

Notifications You must be signed in to change notification settings

deezer/quote_AV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distinguishing Fictional Voices: a Study of Authorship Verification Models for Quotation Attribution

This is the official repository for the Latech-Clfl 2024 (EACL 2024) paper "Distinguishing Fictional Voices: a Study of Authorship Verification Models for Quotation Attribution". It contains all code and data to reproduce our results.

Installation

Data

Start by downloading the Project Dialogism Novel Corpus:

git clone https://github.com/Priya22/project-dialogism-novel-corpus.git

Python Environment

Run the following commands to create an environment and install all the required packages:

python3 -m venv quote_av
. ./quote_av/bin/activate
pip3 install -U pip
pip3 install -r requirements.txt

Running Experiments

The following will run the main experiments necessary to reproduce our results.

python main.py --experiment all --data_path project-dialogism-novel-corpus/data/ --model all --result_path results/

You can also run experiments using any model from Huggingface with the following. Note that the model must be similar to LUAR in the way it processes data.

python main.py --experiment all --data_path project-dialogism-novel-corpus/data/ --huggingface_model path/to_hgface_model  --result_path results/

About

Code to reproduce the experiments presented in "Distinguishing Fictional Voices: a Study of Authorship Verification Models for Quotation Attribution" (LaTeCH-CLfl workshop at EACL 2024)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages