23 lines
418 B
YAML
23 lines
418 B
YAML
### model
|
|
model_name_or_path: ZhipuAI/chatglm2-6b
|
|
|
|
### method
|
|
do_predict: true
|
|
|
|
### dataset
|
|
eval_dataset: alpaca_gpt4_zh
|
|
template: chatglm2
|
|
cutoff_len: 1024
|
|
max_samples: 50
|
|
overwrite_cache: true
|
|
preprocessing_num_workers: 16
|
|
|
|
### output
|
|
output_dir: ./results/inference/ChatGLM2-6B/ChatGLM2_predict_1
|
|
overwrite_output_dir: true
|
|
|
|
### eval
|
|
per_device_eval_batch_size: 2
|
|
predict_with_generate: true
|
|
ddp_timeout: 180000000
|