2024-05-27 05:55:57 +00:00
|
|
|
SAVE_DIR="/home/yeanbang/data/experiment/dataset/alpaca/test/Llama-2-7b-chat-hf"
|
2024-03-29 06:12:29 +00:00
|
|
|
|
|
|
|
rm -rf $SAVE_DIR/cache
|
|
|
|
rm -rf $SAVE_DIR/jsonl
|
|
|
|
rm -rf $SAVE_DIR/arrow
|
|
|
|
|
2024-05-27 05:55:57 +00:00
|
|
|
# python prepare_dataset.py --type sft \
|
|
|
|
# --data_input_dirs /home/yeanbang/data/experiment/dataset/sft_data/test/sft-data \
|
|
|
|
# --conversation_template_config /home/yeanbang/data/ColossalAI/applications/ColossalChat/config/conversation_template/THUDM_chatglm3-6b.json \
|
|
|
|
# --tokenizer_dir "/mnt/jfs-hdd/home/data/models/ChatGlm-6B" \
|
|
|
|
# --data_cache_dir $SAVE_DIR/cache \
|
|
|
|
# --data_jsonl_output_dir $SAVE_DIR/jsonl \
|
|
|
|
# --data_arrow_output_dir $SAVE_DIR/arrow \
|
|
|
|
|
|
|
|
|
2024-03-29 06:12:29 +00:00
|
|
|
python prepare_dataset.py --type sft \
|
2024-05-27 05:55:57 +00:00
|
|
|
--data_input_dirs /mnt/jfs-hdd/home/yeanbang/data/dataset/sft_data/alpaca/data_preprocessed/train \
|
|
|
|
--conversation_template_config /home/yeanbang/data/ColossalAI/applications/ColossalChat/config/conversation_template/llama2.json \
|
|
|
|
--tokenizer_dir "/mnt/jfs-hdd/share/models/Llama-2-7b-chat-hf" \
|
2024-03-29 06:12:29 +00:00
|
|
|
--data_cache_dir $SAVE_DIR/cache \
|
|
|
|
--data_jsonl_output_dir $SAVE_DIR/jsonl \
|
|
|
|
--data_arrow_output_dir $SAVE_DIR/arrow \
|