facebookresearch/fairseq

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

Open

#5.035 geöffnet am 22. März 2023

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (6.224 Forks)batch import
enhancementhelp wantedneeds triage

Repository-Metriken

Stars
 (29.107 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

🚀 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?

Contributor Guide