Download Script/Model/GraphCodeBert/code-completion/run_fine_tuning.sh from docz1105/ComBack_Models: direct link, hf CLI and curl.
- Browser
- Download file 828 Bytes
-
https://huggingface.co/docz1105/ComBack_Models/resolve/1d84adc33f34e682a192dbb7e831787d905bf583/Script/Model/GraphCodeBert/code-completion/run_fine_tuning.sh
- Command line
-
hf download hf://docz1105/ComBack_Models@1d84adc33f34e682a192dbb7e831787d905bf583/Script/Model/GraphCodeBert/code-completion/run_fine_tuning.sh
-
curl -L -o run_fine_tuning.sh https://huggingface.co/docz1105/ComBack_Models/resolve/1d84adc33f34e682a192dbb7e831787d905bf583/Script/Model/GraphCodeBert/code-completion/run_fine_tuning.sh
828 Bytes
| # statement level completion | |
| python run_completion.py \ | |
| --do_train \ | |
| --do_eval \ | |
| --task statement_level \ | |
| --model_name_or_path MickyMike/graphcodebert-c\ | |
| --train_filename ../../../../Dataset \ | |
| --dev_filename ../../../../Dataset \ | |
| --output_dir ../../../../Saved_Models/GraphCodeBert/Code_Completion \ | |
| --beam_size 4 \ | |
| --train_batch_size 32 \ | |
| --eval_batch_size 16 \ | |
| --num_train_epochs 50 | |
| # next statement suggestion | |
| python run_completion.py \ | |
| --do_train \ | |
| --do_eval \ | |
| --task next_statement \ | |
| --model_name_or_path MickyMike/graphcodebert-c \ | |
| --train_filename ../../../../Dataset \ | |
| --dev_filename ../../../../Dataset \ | |
| --output_dir ../../../../Saved_Models/GraphCodeBert/Code_Completion \ | |
| --beam_size 4 \ | |
| --train_batch_size 32 \ | |
| --eval_batch_size 16 \ | |
| --num_train_epochs 50 |