def get_model_config(config, model_id):
    """
    Return config of a single model
    """
    for model_config in config["models"]:
        if model_config["model_id"] == model_id:
            return model_config