fairseq/config
alexeib 3b27ed7996 Enable Hydra configs in fairseq (#1343) (#1510)
Summary:
Pull Request resolved: https://github.com/facebookresearch/pytext/pull/1510

this is the main pr that switches on hydra functionality in fairseq

we migrate "args" object into omegaconf "DictConfig" at all legacy entry points

in addition this migrates various components from secondary registries (like bpe encoders and tokenizers) to make the migration smoother

i am going through code that references migrated fairseq components and changing it to inherit from "Legacy*" components instead. hopefully tests will catch most of this

Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/1343

Reviewed By: myleott

Differential Revision: D23973928

Pulled By: alexeib

fbshipit-source-id: dd9554981fff51ea75c1ff343874d1d6e61793c9
2020-10-20 00:32:26 -07:00
..
criterion Enable Hydra configs in fairseq (#1343) (#1510) 2020-10-20 00:32:26 -07:00
lr_scheduler hydra fairseq - add yaml files 2020-08-31 23:03:36 -07:00
model hydra fairseq - add yaml files 2020-08-31 23:03:36 -07:00
optimizer hydra fairseq - add yaml files 2020-08-31 23:03:36 -07:00
task hydra fairseq - add yaml files 2020-08-31 23:03:36 -07:00
config.yaml Enable Hydra configs in fairseq (#1343) (#1510) 2020-10-20 00:32:26 -07:00