Skip to content

Commit

Permalink
Merge pull request #101 from eosphoros-ai/refactor
Browse files Browse the repository at this point in the history
fix gen data error readme
  • Loading branch information
wangzaistone authored Oct 17, 2023
2 parents 787bc74 + 7b85de9 commit 5a2053c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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条。

Expand Down

0 comments on commit 5a2053c

Please sign in to comment.