charlesfrye commited on
Commit
8a20a7b
1 Parent(s): 367b2e8

document how to use `share_strategy="no"` (#1653) [skip ci]

Browse files

The literal value `no` is parsed in some YAML parsers to the boolean `False`, which fails Pydantic validation. To be sure that the value is parsed to the string `"no"`, the value should be enclosed in quotes. [Discussion on StackOverflow](https://stackoverflow.com/questions/53648244/specifying-the-string-value-yes-in-yaml).

Files changed (1) hide show
  1. docs/config.qmd +1 -1
docs/config.qmd CHANGED
@@ -290,7 +290,7 @@ lr_quadratic_warmup:
290
  logging_steps:
291
  eval_steps: # Leave empty to eval at each epoch, integers for every N steps. decimal for fraction of total steps
292
  evals_per_epoch: # number of times per epoch to run evals, mutually exclusive with eval_steps
293
- save_strategy: # Set to `no` to skip checkpoint saves
294
  save_steps: # Leave empty to save at each epoch
295
  saves_per_epoch: # number of times per epoch to save a checkpoint, mutually exclusive with save_steps
296
  save_total_limit: # Checkpoints saved at a time
 
290
  logging_steps:
291
  eval_steps: # Leave empty to eval at each epoch, integers for every N steps. decimal for fraction of total steps
292
  evals_per_epoch: # number of times per epoch to run evals, mutually exclusive with eval_steps
293
+ save_strategy: # Set to `"no"` to skip checkpoint saves
294
  save_steps: # Leave empty to save at each epoch
295
  saves_per_epoch: # number of times per epoch to save a checkpoint, mutually exclusive with save_steps
296
  save_total_limit: # Checkpoints saved at a time