Configuration Files: OmegaConf

Explore config files and the OmegaConf library we use to handle them.

What are configuration files?

Configuration files, or config files, are auxiliary files in a project that control the initial settings, features, and parameters of a program. We can think of them as a file-based user interface. Instead of choosing from drop-downs or clicking radio buttons, we enter our settings in a file. For example, a config file for an ML pipeline can have an entry for data path or test size. Config files can be in one of a variety of formats, such as YAML, TOML, or INI. Let’s take a look at a config file in YAML format.

Get hands-on with 1200+ tech skills courses.