Example script: Modifying and uploading checkpoints .. literalinclude:: modify_checkpoint.py :emphasize-lines: 21-22,33-34,50-52