22 lines
824 B
Bash
Vendored
22 lines
824 B
Bash
Vendored
load_model='/home/rwkv/JL/model/RWKV-x060-World-1B6-v2.1-20240328-ctx4096.pth'
|
|
proj_dir='/home/rwkv/JL/out_model/state'
|
|
data_file='/home/rwkv/JL/data/end_text_document'
|
|
|
|
|
|
n_layer=24
|
|
n_embd=2048
|
|
|
|
micro_bsz=1
|
|
epoch_save=1
|
|
epoch_steps=1000
|
|
ctx_len=1024
|
|
|
|
python train.py --load_model $load_model \
|
|
--proj_dir $proj_dir --data_file $data_file \
|
|
--data_type binidx --vocab_size 65536 \
|
|
--ctx_len $ctx_len --epoch_steps $epoch_steps --epoch_count 1 --epoch_begin 0 --epoch_save $epoch_save --micro_bsz $micro_bsz \
|
|
--n_layer $n_layer --n_embd $n_embd \
|
|
--pre_ffn 0 --head_qk 0 --lr_init 1 --lr_final 1e-1 --warmup_steps 0 --beta1 0.9 --beta2 0.99 --adam_eps 1e-8 \
|
|
--accelerator gpu --devices 1 --precision bf16 --strategy deepspeed_stage_1 --grad_cp 0 \
|
|
--my_testing "x060" \
|
|
--train_type "state" --dataload pad --wandb fla --fla |