update example docs

Former-commit-id: 102cd42768d9eb2cf1219309a25b41e26149067e
This commit is contained in:
hiyouga
2024-05-06 22:51:02 +08:00
parent 5c9da798b5
commit 50c71dd29f
33 changed files with 962 additions and 508 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