Download configs_encode/callbacks/checkpoint_every_n_steps.yaml from BockLab/dna-craft: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/BockLab/dna-craft/resolve/main/configs_encode/callbacks/checkpoint_every_n_steps.yaml
- Command line
-
hf download hf://BockLab/dna-craft/configs_encode/callbacks/checkpoint_every_n_steps.yaml
-
curl -L -o checkpoint_every_n_steps.yaml https://huggingface.co/BockLab/dna-craft/resolve/main/configs_encode/callbacks/checkpoint_every_n_steps.yaml
293 Bytes
| checkpoint_every_n_steps: | |
| _target_: lightning.pytorch.callbacks.ModelCheckpoint | |
| save_top_k: -1 | |
| save_last: True #save model as ${save_dir}/checkpoints/last.ckpt | |
| dirpath: ${checkpointing.save_dir}/checkpoints | |
| verbose: True | |
| auto_insert_metric_name: False | |
| every_n_train_steps: 1000 | |