You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 先搜索,再提问
I have searched the Data-Juicer issues and found no similar questions. 我已经在 issue列表 中搜索但是没有发现类似的问题。
Question
I collected some Chinese documents and converted them into josn1 format, trying to process them through data-juicer.
I used the default configuration in /configs/demo/process.yaml, and only changed the input and output file addresses.
# Process config example for dataset# global parametersproject_name: 'demo-process'dataset_path: '/root/autodl-tmp/MDHB/json'# path to your dataset directory or filenp: 4# number of subprocess to process your datasetexport_path: '/root/autodl-tmp/MDHB/data_juicer/result.jsonl'# process schedule# a list of several process operators with their argumentsprocess:
-language_id_score_filter:
lang: 'zh'min_score: 0.8
The error report is as follows:
Could you help me see how I should modify the configuration to use data-juicer?
Thanks!
Hi @aruig666 , thanks for your attention and using on Data-Juicer!
According to the information you provide, it seems that Data-Juicer could not find any valid files in the input directory /root/autodl-tmp/MDHB/json. I guess it's caused by the file extensions, which should be ".jsonl" (means json lines) instead of ".json1". The last letter should be lower case of letter 'L' instead of digit one '1'.
Please check and retry. If you have any further questions, contact us anytime~
RuntimeError: One of the subprocesses has abruptly died during map operation.To debug the error, disable multiprocessing.
在执行官方命令:python tools/process_data.py --config configs/demo/process.yaml
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
I collected some Chinese documents and converted them into josn1 format, trying to process them through data-juicer.
I used the default configuration in /configs/demo/process.yaml, and only changed the input and output file addresses.
The error report is as follows:
Could you help me see how I should modify the configuration to use data-juicer?
Thanks!
test.txt
Additional 额外信息
No response
The text was updated successfully, but these errors were encountered: