Skip to content

Commit 33b84ed

Browse files
committed
test
1 parent 63fa976 commit 33b84ed

File tree

3 files changed

+108707
-108707
lines changed

3 files changed

+108707
-108707
lines changed

examples/st_covost2/change_dir.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
import json
33

44
# 定义输入文件夹路径
5-
folder_path = "/home/yxdu/hit/SLAM-LLM/examples/st_covost2"
5+
folder_path = ""
66

77
# 定义关键词替换规则
8-
old_keyword = "/userhome" # 需要替换的关键词
9-
new_keyword = "/home/yxdu/hit" # 替换成的关键词
8+
old_keyword = "" # 需要替换的关键词
9+
new_keyword = "/code_dir" # 替换成的关键词
1010

1111
# 遍历文件夹及其子文件夹
1212
for root, _, files in os.walk(folder_path):

examples/st_covost2/covost2_zh.jsonl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15526,4 +15526,4 @@
1552615526
{"gt": "The buttons made a strange clicking sound when pressed.<|zh|>按下按钮时会发出奇怪的咔哒声。", "response": "The buttons made a strange clicking sound when pressed.<|zh|>按下按钮时会发出奇怪的咔嗒声。", "source": "zh"}
1552715527
{"gt": "Did you ever walk into this office.<|zh|>你进过这间办公室吗?", "response": "Did you ever walk into this office?<|zh|>你曾经走进过这个办公室吗?", "source": "zh"}
1552815528
{"gt": "\"Don't you understand French?\"<|zh|>你不懂法语吗?", "response": "Don’t you understand French?<|zh|>你不懂法语吗?", "source": "zh"}
15529-
{"gt": "Are you a hypnotist?<|zh|>你是催眠师吗?", "response": "Are you a hypnotist?<|zh|>你是催眠师吗?", "source": "zh"}
15529+
{"gt": "Are you a hypnotist?<|zh|>你是催眠师吗?", "response": "Are you a hypnotist?<|zh|>你是催眠师吗?", "source": "zh"}

0 commit comments

Comments
 (0)