microsoft / CodeXGLUE

CodeXGLUE
MIT License
1.5k stars 363 forks source link

Implement save_total_limit #175

Closed cridin1 closed 8 months ago

cridin1 commented 8 months ago
parser.add_argument('--save_total_limit', type=int, default=None,
                        help='Limit the total amount of checkpoints, delete the older checkpoints in the output_dir, does not delete by default')