Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yxduir committed Nov 24, 2024
1 parent 63fa976 commit 33b84ed
Show file tree
Hide file tree
Showing 3 changed files with 108,707 additions and 108,707 deletions.
6 changes: 3 additions & 3 deletions examples/st_covost2/change_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
import json

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

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

# 遍历文件夹及其子文件夹
for root, _, files in os.walk(folder_path):
Expand Down
2 changes: 1 addition & 1 deletion examples/st_covost2/covost2_zh.jsonl
Original file line number Diff line number Diff line change
Expand Up @@ -15526,4 +15526,4 @@
{"gt": "The buttons made a strange clicking sound when pressed.<|zh|>按下按钮时会发出奇怪的咔哒声。", "response": "The buttons made a strange clicking sound when pressed.<|zh|>按下按钮时会发出奇怪的咔嗒声。", "source": "zh"}
{"gt": "Did you ever walk into this office.<|zh|>你进过这间办公室吗?", "response": "Did you ever walk into this office?<|zh|>你曾经走进过这个办公室吗?", "source": "zh"}
{"gt": "\"Don't you understand French?\"<|zh|>你不懂法语吗?", "response": "Don’t you understand French?<|zh|>你不懂法语吗?", "source": "zh"}
{"gt": "Are you a hypnotist?<|zh|>你是催眠师吗?", "response": "Are you a hypnotist?<|zh|>你是催眠师吗?", "source": "zh"}
{"gt": "Are you a hypnotist?<|zh|>你是催眠师吗?", "response": "Are you a hypnotist?<|zh|>你是催眠师吗?", "source": "zh"}
Loading

0 comments on commit 33b84ed

Please sign in to comment.