import pickle


def get_original_config(dirname: str) -> dict:
    """
    Get original model config used with hydra

    Args:
        dirname (str): model directory

    Returns:
        dict: config dict
    """
    config = pickle.load(open(f"{dirname}/tb/config.pkl", "rb"))
    return config