|
|
@ -4,6 +4,7 @@ STEP=3000 |
|
|
|
|
|
|
|
|
|
|
|
CUDA_VISIBLE_DEVICES=0 python3 main.py \ |
|
|
|
CUDA_VISIBLE_DEVICES=0 python3 main.py \ |
|
|
|
--do_predict \ |
|
|
|
--do_predict \ |
|
|
|
|
|
|
|
--validation_file AdvertiseGen/dev.json \ |
|
|
|
--test_file AdvertiseGen/dev.json \ |
|
|
|
--test_file AdvertiseGen/dev.json \ |
|
|
|
--overwrite_cache \ |
|
|
|
--overwrite_cache \ |
|
|
|
--prompt_column content \ |
|
|
|
--prompt_column content \ |
|
|
@ -15,6 +16,5 @@ CUDA_VISIBLE_DEVICES=0 python3 main.py \ |
|
|
|
--max_target_length 64 \ |
|
|
|
--max_target_length 64 \ |
|
|
|
--per_device_eval_batch_size 1 \ |
|
|
|
--per_device_eval_batch_size 1 \ |
|
|
|
--predict_with_generate \ |
|
|
|
--predict_with_generate \ |
|
|
|
--max_predict_samples 10 \ |
|
|
|
|
|
|
|
--pre_seq_len $PRE_SEQ_LEN \ |
|
|
|
--pre_seq_len $PRE_SEQ_LEN \ |
|
|
|
--quantization_bit 4 |
|
|
|
--quantization_bit 4 |
|
|
|