直接访问即可,所有请求自动转发到 HuggingFace。
# 访问模型页面
https://huggingfaceproxy1.pages.dev/bert-base-uncased
# 下载模型文件
https://huggingfaceproxy1.pages.dev/bert-base-uncased/resolve/main/config.json
# API 调用
https://huggingfaceproxy1.pages.dev/api/models/bert-base-uncased
# 下载 Python 脚本
curl -O https://huggingfaceproxy1.pages.dev/hf_downloader.py
# 使用示例
python hf_downloader.py bert-base-uncased
python hf_downloader.py openai/whisper-large-v3 --type model
# 设置 HuggingFace 镜像
export HF_ENDPOINT=https://huggingfaceproxy1.pages.dev