-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a runner script, document the model versions
- Loading branch information
Showing
2 changed files
with
34 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
|
||
set -eu | ||
|
||
export PATH=$(pwd)/models/cg3/src:$PATH | ||
|
||
# Clean up the test data and save it to data/preprocessed | ||
python preprocess_data.py | ||
|
||
# Predict lemmas and POS tags using all models. | ||
# Writes results under results/predictions/*/ | ||
python predict.py | ||
|
||
# Evaluate by comparing the predictions with the gold standard data. | ||
# Writes results to results/evaluation.csv | ||
python evaluate.py | ||
|
||
# Plot the evaluations. | ||
# Saves the plots under results/images/ | ||
python plot_results.py |