We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have read the README carefully. 我已经仔细阅读了 README 上的操作指引。
I have pulled the latest code of main branch to run again and the problem still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。
我尝试用 chinese_convert_mapper 将数据集https://www.modelscope.cn/datasets/Moemuu/Muice-Dataset/file/view/master?fileName=train.jsonl&id=11077&status=1 转换为繁体,
No response
The text was updated successfully, but these errors were encountered:
嗨 @abchbx ,感谢你的关注与使用~
如需要将中文简体文本转换为繁体,可在配置chinese_convert_mapper算子时将mode参数设置为s2t,具体支持的mode选项可参考该算子的API文档
chinese_convert_mapper
Sorry, something went wrong.
感谢您的回答,但是我是按照配置设置了s2t,但是生成的文本并没用转换为繁体,以下是我的参数:
project_name: 'knowledge' dataset_path: '/mnt/workspace/zh.jsonl' # 你的数据集目录或文件的路径 np: 8 # 处理数据集的子进程数量 text_keys: 'text' # 数据集文件中文本的键 export_path: '/mnt/workspace/zh_12.jsonl' # 保存处理后数据集的路径
process:
注意到该数据集中包含有效文本的字段为"prompt"和"respond",因此你需要将配置文件中text_keys这个参数设为其中之一后这些算子才会对其中的字段进行处理
HYLcool
No branches or pull requests
Before Asking 在提问之前
I have read the README carefully. 我已经仔细阅读了 README 上的操作指引。
I have pulled the latest code of main branch to run again and the problem still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。
Search before asking 先搜索,再提问
Question
我尝试用 chinese_convert_mapper 将数据集https://www.modelscope.cn/datasets/Moemuu/Muice-Dataset/file/view/master?fileName=train.jsonl&id=11077&status=1 转换为繁体,
Additional 额外信息
No response
The text was updated successfully, but these errors were encountered: