Download Script/Model/CodeT5/code-completion/run_test.sh from docz1105/ComBack_Models: direct link, hf CLI and curl.
- Browser
- Download file 739 Bytes
-
https://huggingface.co/docz1105/ComBack_Models/resolve/1d84adc33f34e682a192dbb7e831787d905bf583/Script/Model/CodeT5/code-completion/run_test.sh
- Command line
-
hf download hf://docz1105/ComBack_Models@1d84adc33f34e682a192dbb7e831787d905bf583/Script/Model/CodeT5/code-completion/run_test.sh
-
curl -L -o run_test.sh https://huggingface.co/docz1105/ComBack_Models/resolve/1d84adc33f34e682a192dbb7e831787d905bf583/Script/Model/CodeT5/code-completion/run_test.sh
739 Bytes
| # statement level completion | |
| python run_completion.py \ | |
| --do_test \ | |
| --task statement_level \ | |
| --model_name_or_path Salesforce/codet5-base \ | |
| --load_model_path ../../../../Saved_Models/CodeT5/Code_Completion \ | |
| --test_filename ../../../../Dataset \ | |
| --output_dir ../../../../Saved_Models/CodeT5/Code_Completion \ | |
| --beam_size 4 \ | |
| --eval_batch_size 16 | |
| # next statement suggestion | |
| python run_completion.py \ | |
| --do_test \ | |
| --task next_statement \ | |
| --model_name_or_path Salesforce/codet5-base \ | |
| --load_model_path ../../../../Saved_Models/CodeT5/Code_Completion \ | |
| --test_filename ../../../../Dataset \ | |
| --output_dir ../../../../Saved_Models/CodeT5/Code_Completion \ | |
| --beam_size 4 \ | |
| --eval_batch_size 16 |