From 8a20a7b711a62d7b04e742f3d6034b4ca8aa27d2 Mon Sep 17 00:00:00 2001 From: Charles Frye Date: Fri, 24 May 2024 14:15:44 -0400 Subject: [PATCH] document how to use `share_strategy="no"` (#1653) [skip ci] 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). --- docs/config.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config.qmd b/docs/config.qmd index bc44964dc..1c87386a6 100644 --- a/docs/config.qmd +++ b/docs/config.qmd @@ -290,7 +290,7 @@ lr_quadratic_warmup: logging_steps: eval_steps: # Leave empty to eval at each epoch, integers for every N steps. decimal for fraction of total steps evals_per_epoch: # number of times per epoch to run evals, mutually exclusive with eval_steps -save_strategy: # Set to `no` to skip checkpoint saves +save_strategy: # Set to `"no"` to skip checkpoint saves save_steps: # Leave empty to save at each epoch saves_per_epoch: # number of times per epoch to save a checkpoint, mutually exclusive with save_steps save_total_limit: # Checkpoints saved at a time