def config_desc(config):
    """A one-line text string describing the configuration of a run."""
    return (
        "len:{len_train} "
        "win:{window_len} "
        "str:{use_string} "
        "page:{use_page} "
        "geom:{use_geom} "
        "amt:{use_amount} "
        "voc:{vocab_size} "
        "emb:{vocab_embed_size} "
        "steps:{steps_per_epoch}"
    ).format(**config)