import yaml


def read_config(file_name="config.yaml"):
    """Read configurations.
    Args:
        file_name (str): file name
    Returns:
        configs (dict): dictionary of configurations
    """
    with open(file_name, 'r') as f:
        config = yaml.safe_load(f)
    return config