Open marcosfelt opened 3 years ago
This seems to be a frequent issue when fine-tuning on your own models. Depending on the files in the model folder the fine-tuning run does not start.
The best is to copy your pretrained model into a new folder keeping only three files config.json
, pytorch_model.bin
and vocab.txt
, as in
https://github.com/rxn4chemistry/rxnfp/tree/master/rxnfp/models/transformers/bert_pretrained.
The fine-tuning can then be started setting the model_path
to the freshly created folder.
Thanks to @marcosfelt for helping us on this issue!
I am trying to using a model I already pretrained as a starting point for fine-tuning. However, the process does not seem to work as it does when I start with the rxnfp base models. Below is a rough outline of what I am doing:
When I run this, it starts training but then fails to run any epochs and save any checkpoints.
Edit: I'm using transformers==2.11.0 and simpletransformers==0.34.4