mirror of
https://github.com/CodedotAl/gpt-code-clippy.git
synced 2024-09-11 06:55:47 +03:00
Add runner for 1.3b model
This commit is contained in:
parent
b110dd905b
commit
41a7423ca4
37
run_clm_streaming_1_3b_1e-4lr_1024bs.sh
Normal file
37
run_clm_streaming_1_3b_1e-4lr_1024bs.sh
Normal file
@ -0,0 +1,37 @@
|
||||
#! /bin/bash
|
||||
./run_clm_streaming_flax_v2.py \
|
||||
--output_dir $HOME/gpt-neo-1.3B-code-clippy-test-1 \
|
||||
--model_name_or_path="flax-community/gpt-neo-1.3B-code-clippy" \
|
||||
--dataset_name $HOME/gpt-code-clippy/code_clippy.py \
|
||||
--data_dir /home/shared/code_clippy_data \
|
||||
--text_column_name="text" \
|
||||
--do_train --do_eval \
|
||||
--block_size="2048" \
|
||||
--per_device_train_batch_size="2" \
|
||||
--per_device_eval_batch_size="4" \
|
||||
--preprocessing_num_workers="8" \
|
||||
--learning_rate="1e-4" \
|
||||
--max_steps 100000 \
|
||||
--warmup_steps 2500 \
|
||||
--decay_steps 25000 \
|
||||
--adam_beta1="0.9" \
|
||||
--adam_beta2="0.95" \
|
||||
--weight_decay="0.1" \
|
||||
--overwrite_output_dir \
|
||||
--logging_steps="100" \
|
||||
--eval_steps="500" \
|
||||
--push_to_hub="False" \
|
||||
--report_to="all" \
|
||||
--dtype="bfloat16" \
|
||||
--skip_memory_metrics="True" \
|
||||
--save_steps="500" \
|
||||
--save_total_limit 10 \
|
||||
--gradient_accumulation_steps 64 \
|
||||
--report_to="wandb" \
|
||||
--run_name="1.3b_1e-4lr_1024bs" \
|
||||
--max_eval_samples 2000 \
|
||||
--save_optimizer true \
|
||||
# --adafactor \
|
||||
# --resume_from_checkpoint $HOME/gpt-neo-125M-code-clippy/ \
|
||||
# --max_train_samples="10000" \
|
||||
|
Loading…
Reference in New Issue
Block a user