"official/vision/modeling/layers/roi_sampler.py" did not exist on "98c20111d0a88366cb75b97614ba9e543ca63ecb"
prep_resp_gen.sh 385 Bytes
Newer Older
zihanl's avatar
zihanl committed
1
2
3
4
5
#!/bin/bash

# Preparing the input file for the response generation (second-stage prompting)

DIR=`pwd`
zihanl's avatar
zihanl committed
6
7
8
9
10
python ${DIR}/tasks/knwl_dialo/preprocessing.py \
        --func prepare_input \
        --test_file <PATH_OF_THE_PROCESSED_TEST_DATA> \
        --knowledge_gen_file <PATH_OF_THE_GENERATED_KNOWLEDGE_DATA> \
        --processed_file <PATH_OF_THE_INPUT_FILE_FOR_RESPONSE_GENERATION>