Skip to content

.1189032313505632:ac1f89115fc90d513a1f83116ed74b16_69b371a36d8b0f2d5fb3f5c5.69b371d16d8b0f2d5fb3f5c9.69b371d0fcbeaf4ec383fcbb:Trae CN.T(2026/3/13 10:09:21)#3

Open
Fisherlen wants to merge 1 commit into
mainfrom
brand3Kimi25
Open

.1189032313505632:ac1f89115fc90d513a1f83116ed74b16_69b371a36d8b0f2d5fb3f5c5.69b371d16d8b0f2d5fb3f5c9.69b371d0fcbeaf4ec383fcbb:Trae CN.T(2026/3/13 10:09:21)#3
Fisherlen wants to merge 1 commit into
mainfrom
brand3Kimi25

Conversation

@Fisherlen

Copy link
Copy Markdown
Owner

测试大模型:Kimi2.5

修复 Transformer05_2_PrepareData_中文小说V1.py 的三个问题:

  1. 删除第10行的无效注释 '没跑通2024.4.28'
  2. 修复 concatenate_txt_files 函数调用参数错误
  3. 修复 glob 递归搜索模式,将 '*.txt' 改为 '***.txt' 以正确递归搜索子目录

现在代码可以正确合并 data 目录及其子目录下的所有 txt 文件

1. 删除第10行的无效注释 '没跑通2024.4.28'
2. 修复 concatenate_txt_files 函数调用参数错误
3. 修复 glob 递归搜索模式,将 '*.txt' 改为 '**\*.txt' 以正确递归搜索子目录

现在代码可以正确合并 data 目录及其子目录下的所有 txt 文件
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant