Skip to content

Commit 8a20a7b

Browse files
authored
document how to use share_strategy="no" (axolotl-ai-cloud#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).
1 parent 367b2e8 commit 8a20a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/config.qmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ lr_quadratic_warmup:
290290
logging_steps:
291291
eval_steps: # Leave empty to eval at each epoch, integers for every N steps. decimal for fraction of total steps
292292
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
293+
save_strategy: # Set to `"no"` to skip checkpoint saves
294294
save_steps: # Leave empty to save at each epoch
295295
saves_per_epoch: # number of times per epoch to save a checkpoint, mutually exclusive with save_steps
296296
save_total_limit: # Checkpoints saved at a time

0 commit comments

Comments
 (0)