-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.json
31 lines (31 loc) · 1.16 KB
/
config.json
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
{
"db_id": "movie",
"genQuery": true,
"db_schema_path": {
"common": "",
"yago": "./db_data/schema/yago.json",
"movie": "./db_data/schema/movie_schema.json",
"the_three_body": "./db_data/schema/the_three_body.json",
"finbench": "./db_data/schema/finbench_schema.json",
"SNB": "./db_data/schema/SNB_schema.json",
"three_kingdoms": "./db_data/schema/three_kingdoms.json",
"wandering_earth": "/root/work_repo/db_data/schema/wandering_earth.json"
},
"input_query_template_path": "./input_examples/corpus_template.txt",
"output_query_dir_or_file": "./output/output_query.txt",
"input_query_path": "./output/output_query.txt",
"output_prompt_path": "./output/output_prompt.txt",
"schema_dict_path": [
"./base/template/schema_dict.txt"
],
"generalizer": {
"work_mode": "400",
"input_dir_or_file": "./output/output_query.txt",
"output_dir": "./output",
"suffix": "_t"
},
"generate_dataset": {
"input_corpus_dir_or_file": "./output/output_query_t_general.txt",
"output_corpus_path": "./output/text2gql_train.json"
}
}