v0.6.0
-
Redesign of registry; using decorators to register all modules
-
optim
block is split intooptimizer
schedule
andcriterion
; as a result,- this version is not backward compatible with prior versions Refer to migration guide
- Migration instruction: https://isi-nlp.github.io/rtg/v0.6.0/#migrate-to-0_6
NoamOpt
replaced withScheduledOptimizer
which takes scheduler and optimizer objects which are independently configurable from conf.yml
-
Transformer sequence classification model:
tfmcls
, supports initialization from pretrained NMT (picks encoder layers, source embeddings, and source vocabs from NMT experiment)