Closed sandeep-krutrim closed 3 months ago
Thanks for catching this! This is a bug on my part, I don't believe we need to explicitly save the sampler since we do also save the random state and reset it. A quick fix is to comment out these lines: https://github.com/nomic-ai/contrastors/blob/a52d8cacaa5b98f81623671612d8c1ff046eb824/src/contrastors/trainers/base.py#L277:L278 and replace it with pass
I will fix this shortly!
this should be fixed in #24
I followed the steps to prepare data, push it to huggingface hub and do mlm pretraining. However, the model is not able to save after 1 epoch of training. I get the following error -
I am following the standard steps mentioned in the repo without any modifications. Please help