allenai / allenai/bilm-tf

Give an option for the Checkpoint frequency

Aperta
#206 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1.6k
Fork
447
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I want to suggest an option for the checkpoint frequency, i.e. we can change the checkpoints to save at 1000 batches or 100000 batches or any number we want. Where should the option be present in train_elmo.py?
if batch_no % Batches_After_Checkpoint== 0:
# write the summaries to tensorboard and display perplexity
summary_writer.add_summary(ret[1], batch_no)
print("Batch %s, train_perplexity=%s" % (batch_no, ret[2]))
print("Total time: %s" % (time.time() - t1))

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.