update example docs

This commit is contained in:
hiyouga
2024-05-06 22:51:02 +08:00
parent 34d33e2257
commit f02f87c6fb
35 changed files with 1048 additions and 594 deletions

View File

@@ -0,0 +1,23 @@
# model
model_name_or_path: saves/llama3-8b/full/sft
# method
stage: sft
do_predict: true
finetuning_type: full
# dataset
dataset: identity,alpaca_gpt4_en
template: llama3
cutoff_len: 1024
max_samples: 50
overwrite_cache: true
preprocessing_num_workers: 16
# output
output_dir: saves/llama3-8b/full/predict
overwrite_output_dir: true
# eval
per_device_eval_batch_size: 1
predict_with_generate: true