def ALPACAEVAL_INSTRUCTION_PARAMETERS()

in src/alpaca_eval/constants.py [0:0]


def ALPACAEVAL_INSTRUCTION_PARAMETERS():
    out = hf_hub_download(
        repo_id="tatsu-lab/alpaca_eval",
        filename="instruction_difficulty.csv",
        repo_type="dataset",
        force_download=DATASETS_FORCE_DOWNLOAD,
        cache_dir=DEFAULT_CACHE_DIR,
        token=DATASETS_TOKEN,
    )
    pd.read_csv(out, index_col=0).squeeze()
    return df