ltgoslo / simple_elmo_training

Minimal code to train ELMo models in recent versions of TensorFlow
Apache License 2.0
14 stars 3 forks source link

Script does not create checkpoint folder #5

Closed Kvit closed 1 year ago

Kvit commented 3 years ago

When starting training the script does not create checkpoint folder, I had to create empty folder manually to avoid error.

akutuzov commented 3 years ago

The idea is that most probably you already have a dedicated directory for the model you are training (and this directory contains at least the vocabulary file).

Kvit commented 3 years ago

In my case, I create several models from the same source data and vocab. so remembering to create a new checkpoint directory manually each time before execution is not very convenient (or obvious from documentation), would be nice if the script saved vocab to the new model dir if such is available.

akutuzov commented 3 years ago

Makes sense, will work on that.