问题描述
ValueError: The repository for fill50k contains custom code which must be executed to correctly load the dataset. You can inspect the repository content at https://hf.co/datasets/fill50k.
Please pass the argument `trust_remote_code=True` to allow custom code to be run.
问题分析
无法直接从huggingface下载模型or数据库,设置镜像网站。
问题解决
pip install -U huggingface_hub
export HF_ENDPOINT=https://hf-mirror.com