-
Notifications
You must be signed in to change notification settings - Fork 21
/
generate_data_modified.sh
executable file
·66 lines (57 loc) · 2.51 KB
/
generate_data_modified.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/bash
source /gscratch4/users/osainz006/GoLLIE/venv/GoLLIE/bin/activate
CONFIG_DIR="configs/data_configs"
OUTPUT_DIR="data/processed_w_examples"
python -m src.generate_data \
--configs \
${CONFIG_DIR}/crossner_ai_config.json \
${CONFIG_DIR}/crossner_literature_config.json \
${CONFIG_DIR}/crossner_music_config.json \
${CONFIG_DIR}/crossner_politics_config.json \
${CONFIG_DIR}/crossner_science_config.json \
${CONFIG_DIR}/crossner_ai_wo_misc_config.json \
${CONFIG_DIR}/crossner_literature_wo_misc_config.json \
${CONFIG_DIR}/crossner_music_wo_misc_config.json \
${CONFIG_DIR}/crossner_politics_wo_misc_config.json \
${CONFIG_DIR}/crossner_science_wo_misc_config.json \
${CONFIG_DIR}/mitmovie_config.json \
${CONFIG_DIR}/mitrestaurant_config.json \
--output ${OUTPUT_DIR} \
--overwrite_output_dir \
--include_examples
OUTPUT_DIR="data/processed"
python -m src.generate_data \
--configs \
${CONFIG_DIR}/crossner_ai_config.json \
${CONFIG_DIR}/crossner_literature_config.json \
${CONFIG_DIR}/crossner_music_config.json \
${CONFIG_DIR}/crossner_politics_config.json \
${CONFIG_DIR}/crossner_science_config.json \
${CONFIG_DIR}/crossner_ai_wo_misc_config.json \
${CONFIG_DIR}/crossner_literature_wo_misc_config.json \
${CONFIG_DIR}/crossner_music_wo_misc_config.json \
${CONFIG_DIR}/crossner_politics_wo_misc_config.json \
${CONFIG_DIR}/crossner_science_wo_misc_config.json \
${CONFIG_DIR}/mitmovie_config.json \
${CONFIG_DIR}/mitrestaurant_config.json \
--output ${OUTPUT_DIR} \
--overwrite_output_dir
# Generate baseline data
OUTPUT_DIR="data/baseline"
python -m src.generate_data \
--configs \
${CONFIG_DIR}/crossner_ai_config.json \
${CONFIG_DIR}/crossner_literature_config.json \
${CONFIG_DIR}/crossner_music_config.json \
${CONFIG_DIR}/crossner_politics_config.json \
${CONFIG_DIR}/crossner_science_config.json \
${CONFIG_DIR}/crossner_ai_wo_misc_config.json \
${CONFIG_DIR}/crossner_literature_wo_misc_config.json \
${CONFIG_DIR}/crossner_music_wo_misc_config.json \
${CONFIG_DIR}/crossner_politics_wo_misc_config.json \
${CONFIG_DIR}/crossner_science_wo_misc_config.json \
${CONFIG_DIR}/mitmovie_config.json \
${CONFIG_DIR}/mitrestaurant_config.json \
--output ${OUTPUT_DIR} \
--overwrite_output_dir \
--baseline