mirror of
https://github.com/CodedotAl/gpt-code-clippy.git
synced 2024-10-26 09:17:45 +03:00
19 lines
585 B
Bash
Executable File
19 lines
585 B
Bash
Executable File
#! /bin/bash
|
|
./run_clm_flax.py \
|
|
--output_dir $HOME/gpt-neo-1.3B-code-clippy \
|
|
--model_name_or_path="EleutherAI/gpt-neo-1.3B" \
|
|
--dataset_name="code_search_net" \
|
|
--dataset_config_name="python" \
|
|
--do_train --do_eval \
|
|
--block_size="128" \
|
|
--per_device_train_batch_size="4" \
|
|
--per_device_eval_batch_size="8" \
|
|
--dtype="bfloat16" \
|
|
--learning_rate="5e-3" \
|
|
--warmup_steps="1000" \
|
|
--adam_beta1="0.9" \
|
|
--adam_beta2="0.98" \
|
|
--weight_decay="0.01" \
|
|
--overwrite_output_dir \
|
|
--num_train_epochs="1" \
|
|
--push_to_hub False |