-
Notifications
You must be signed in to change notification settings - Fork 3
/
test_gen.sh
executable file
·49 lines (42 loc) · 1.39 KB
/
test_gen.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
export CUDA_VISIBLE_DEVICES=0
TEST_DATA=data/dev.json
# # full + aug
SAVE_PATH=save_trained_module
python test.py \
--test_data_path ${TEST_DATA} \
--models ${SAVE_PATH} \
--output_path ${SAVE_PATH}/dev_result.txt \
--history_type full \
--table_type std \
--use_syntax 'True'\
--pre_syntax 'False'
# > ${SAVE_PATH}/dev_result.out.txt 2>&1 &
exit 0
# - aug
SAVE_PATH=generated_datasets/generated_data/saved_models_hs=full_tbl=std
python test.py \
--test_data_path ${TEST_DATA} \
--models ${SAVE_PATH} \
--output_path ${SAVE_PATH}/dev_result.txt \
--history_type full \
--table_type std \
> ${SAVE_PATH}/dev_result.out.txt 2>&1 &
# - aug - table
SAVE_PATH=generated_datasets/generated_data/saved_models_hs=full_tbl=no
python test.py \
--test_data_path ${TEST_DATA} \
--models ${SAVE_PATH} \
--output_path ${SAVE_PATH}/dev_result.txt \
--history_type full \
--table_type no \
> ${SAVE_PATH}/dev_result.out.txt 2>&1 &
# - aug - table - history
SAVE_PATH=generated_datasets/generated_data/saved_models_hs=no_tbl=no
python test.py \
--test_data_path ${TEST_DATA} \
--models ${SAVE_PATH} \
--output_path ${SAVE_PATH}/dev_result.txt \
--history_type no \
--table_type no \
> ${SAVE_PATH}/dev_result.out.txt 2>&1 &