Skip to content

Please provide an example of a working before_update callback #12656

Discussion options

You must be logged in to vote

For a registered callback function named cb_before_update, you can specify it like the following.

[training]
dev_corpus = "corpora.dev"
train_corpus = "corpora.train"
...
before_to_disk = null
before_update = {"@callbacks": "cb_before_update"}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kinghuang
Comment options

Answer selected by JeremyCraigMartinez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / config Feature: Training config
2 participants