Skip to content

Commit 6e6d8b4

Browse files
committed
Document how to run the ensembling workflow
1 parent 83533ae commit 6e6d8b4

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Diff for: README.md

+27
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,33 @@ python eval.py \
6666
--output pred.lst
6767
```
6868

69+
## Ensembling using Pegasus
70+
71+
### Setup
72+
73+
The ensembling workflow is defined and run using the Pegasus workflow management system. To run the
74+
workflow, you'll need to install the [Pegasus wrapper][pegasus_wrapper].
75+
76+
Note that before running you'll need to set up your user-specific parameters file,
77+
`parameters/root.params`. See `parameters/root.sample.params` for an example.
78+
79+
### Running the workflow
80+
81+
Once the wrapper is installed, generate the workflow:
82+
83+
```bash
84+
python ai2/pegasus.py parameters/pegasus.params
85+
```
86+
87+
Then submit the workflow:
88+
89+
```bash
90+
cd path/to/experiment_root/ensemble
91+
sh submit.sh
92+
```
93+
94+
[pegasus_wrapper]: https://github.com/isi-vista/vista-pegasus-wrapper/
95+
6996
## Results
7097

7198
### PIQA

0 commit comments

Comments
 (0)