From 7b85de9cbbe18fffc09380a8b74255361a87ac45 Mon Sep 17 00:00:00 2001 From: wangzaistone Date: Tue, 17 Oct 2023 10:39:01 +0800 Subject: [PATCH] fix gen data error readme --- README.md | 2 +- README.zh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c4f568..68990f4 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ Download the [Spider dataset]((https://drive.google.com/uc?export=download&id=1T For the data preprocessing part, simply **run the following script** : ```bash ## generate train and dev(eval) data -sh dbgpt_hub/scripts/train_eval_data_gen.sh +sh dbgpt_hub/scripts/gen_train_eval_data.sh ``` In the directory `dbgpt_hub/data/`, you will find the newly generated training file example_text2sql_train.json and testing file example_text2sql_dev.json, containing 8659 and 1034 entries respectively. diff --git a/README.zh.md b/README.zh.md index 0ece1ce..edcde84 100644 --- a/README.zh.md +++ b/README.zh.md @@ -89,7 +89,7 @@ DB-GPT-Hub使用的是信息匹配生成法进行数据准备,即结合表信 数据预处理部分,**只需运行如下脚本**即可: ```bash ## 生成train数据 和dev(eval)数据, -sh dbgpt_hub/scripts/train_eval_data_gen.sh +sh dbgpt_hub/scripts/gen_train_eval_data.sh ``` 在`dbgpt_hub/data/`目录你会得到新生成的训练文件example_text2sql_train.json 和测试文件example_text2sql_dev.json ,数据量分别为8659和1034条。