Download data_process.sh from xingzhaohu/patch_megatron: direct link, hf CLI and curl.
- Browser
- Download file 514 Bytes
-
https://huggingface.co/xingzhaohu/patch_megatron/resolve/main/data_process.sh
- Command line
-
hf download hf://xingzhaohu/patch_megatron/data_process.sh
-
curl -L -o data_process.sh https://huggingface.co/xingzhaohu/patch_megatron/resolve/main/data_process.sh
514 Bytes
| python 1_extract_video_caption_from_npz.py | |
| python 2_build_conversations.py | |
| python 3_extract_frames.py --dataset-root="/data/hongwei/xzh_workspace/patch_megatron_code_new/my_datasets" --time-interval=1.0 --output-json="ted_dataset_extract_frame.json" --video-token="<video>" | |
| python 4_convert_my_dataset_to_wds.py --dataset-root="/data/hongwei/xzh_workspace/patch_megatron_code_new/my_datasets" --json="ted_dataset_extract_frame.json" --max-samples-per-tar=10000 --train-split=9 --val-split=1 --test-split=0 | |