facebookresearch/fairseq

Auto create commandline args from yamls with fairseq-hydra-train

Open

#5,035 建立於 2023年3月22日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (6,224 fork)batch import
enhancementhelp wantedneeds triage

倉庫指標

Star
 (29,107 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

🚀 Feature Request

Though Fairseq is such a powerful framework, I got some problems when I used fairseq-hydra-train. If I want to define an arg in the config yaml file, I have to define it in some dataclass first. This is cumbersome and slow compared with the hydra's ability of auto-creating commandline args. Furthermore, this makes it impossible to use hydra's ability of multi-level nested parameters. How can I access the full ability of hydra with fairseq?

貢獻者指南