Skip to content

Commit a695f54

Browse files
committed
新增save_steps参数的作用
1 parent 6507eef commit a695f54

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/finetune/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Besides the negatives in this group, the in-batch negatives also will be used in
9393
- `passage_max_len`: max length for passage. Please set it according the average length of passages in your data.
9494
- `query_instruction_for_retrieval`: instruction for query, which will be added to each query. You also can set it `""` to add nothing to query.
9595
- `use_inbatch_neg`: use passages in the same batch as negatives. Default value is True.
96+
- `save_steps`: for setting how many training steps to save a checkpoint.
9697

9798
For more training arguments please refer to [transformers.TrainingArguments](https://huggingface.co/docs/transformers/main_classes/trainer#transformers.TrainingArguments)
9899

0 commit comments

Comments
 (0)