Skip to content

rlongjohn/av_embedding_slrs

Repository files navigation

Score-based Likelihood Ratios For Authorship Verification with Authorship Embeddings

Environment

Set up Anaconda environment:

conda env create -f environment.yml

Activate environment:

conda activate text-forensics

Paper Results

  • Experiment results are stored in the results/ directory
  • paper-analysis.ipynb reproduces the figures/tables from the paper using these stored results
  • Contents of the results/ folder can be reproduced by downloading the datasets into the datasets/ directory, preprocessing the Amazon dataset (others are already formatted), and then running the experiments.py code using the commands in run_experiments.sh

Contents

  • datasets/: this directory contains the downloaded datasets
  • preprocessing/:
    • process_amazon.py: python code for preprocessing the Amazon dataset into AV pairs
  • models/:
  • utils/lexical.py: implements the lexical/character features used in the manual SLR
  • experiments.py: python code for running the experiments
  • base_logger.py: sets up logging for status updates on experiments
  • run_experiments.sh: script with command line arguments for running experiments
  • results: stores experiment results
  • paper-analysis.ipynb: notebook for reproducing results from the paper
  • figs/: stores figures from analysis

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published