# Checkpoints not saved

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcheckpoints-not-saved%2F21085%3E%5C
**Category:** 🤗Transformers\
**Created:** [August 1, 2022, 8:19am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcheckpoints-not-saved%2F21085 "2022-08-01T08:19:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cleolotta](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@cleolotta](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fcleolotta)%5C
**Post date:** [August 1, 2022, 8:19am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcheckpoints-not-saved%2F21085%2F1 "2022-08-01T08:19:44Z")

</div>

![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/6/65b2e5d3fb657f3671ba7478061b33db1c30efac.png)

Hi, I’m training a model with the following parameters:

–model\_name\_or\_path bert-base-uncased /  
–model\_type bert --tokenizer\_name bert-base-uncased /  
–eval\_steps 1000 /  
–save\_steps 1000 /  
–evaluation\_strategy “steps” /  
–save\_strategy “steps” /  
–cache\_dir cache\_dir\_bert\_og /  
–train\_file “./original-train2.txt” /  
–validation\_file “./original-test2.txt” /  
–line\_by\_line True /  
–do\_train True /  
–do\_eval True /  
–train\_adapter True /  
–num\_train\_epochs 2 /  
–per\_device\_train\_batch\_size 16 /  
–per\_device\_eval\_batch\_size 16 /  
–fp16 True /  
–adapter\_config “pfeiffer+inv” /  
–output\_dir “./not-augmented-model” /  
–overwrite\_output\_dir False /  
–load\_best\_model\_at\_end True /  
–learning\_rate 3e-5 /  
–dataloader\_pin\_memory True /  
–eval\_bias True /  
–eval\_accumulation\_steps 10

The problem is that my checkpoints are not saved. I don’t really understand when a checkpoint would actually be saved but my training has been going on for over 2 days now and there is still nothing in the output directory. I can only run jobs for 3 days and would have to resume the training from the checkpoint.  
Can someone help me? Maybe I’m doing something wrong in the parametrization. @sgugger maybe you can help me? Would really appreciate it!!  
Thanks very much in advance  
Cleo
