Skip to content

Commit

Permalink
a*pa evals: update readme and makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
RagnarGrootKoerkamp committed Aug 4, 2023
1 parent ba3cf9a commit badf129
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
19 changes: 15 additions & 4 deletions evals/astarpa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,18 @@

This directory contains the evals for the A\*PA paper.

- `experiments/` contains the `.yaml` files with experiment configurations.
- `evals.ipynb` contains all plots and other statistics presented in the paper.
Unzip `results.zip` (`make unzip_results`) to reproduce them on data from the paper.
- `make run` is the entrypoint to rerun all experiments in the `experiments` directory.
- `experiments/` contains `.yaml` files with experiment configurations, roughly
corresponding to the plots in the paper. (Some `.yaml` files are the source of
multiple plots.)
- Use `make download_results` to download and extract the `results.zip` from the
[`astarpa-evals` release](https://github.com/pairwise-alignment/pa-bench/releases/tag/astarpa-evals) on github.
- Alternatively, `make run` reruns all experiments locally, but be aware that
this takes a long time (1-2 days). You could make things faster by running
more in parallel (add e.g. `-j 5` to the `run` rule in `makefile`), or by
lowering the number of sequences tested (e.g. lower `total_size` in `experiments/*.yaml`).
- `evals.ipynb` contains all plots and other statistics presented in the paper
from the `results/*.json` files generated by one of the two steps above. The
version in the repo should correspond to the latest executed version and include all plots.

note: the git history of the `evals.ipynb` file has been squashed to reduce the
size of the repo.
7 changes: 6 additions & 1 deletion evals/astarpa/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,10 @@ prep:

zip_results:
zip results.zip results/*.json
unzip_results:

# Download the results from the github release and unzip them.
# See readme for more.
download_results:
wget 'https://github.com/pairwise-alignment/pa-bench/releases/download/astarpa-evals/results.zip'
unzip results.zip
rm results.zip

0 comments on commit badf129

Please sign in to comment.