.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
DEEPSEEK_API_KEY
secret
DeepSeek(推荐,价格低,兼容 OpenAI SDK) 获取:https://platform.deepseek.com
DASHSCOPE_API_KEY
secret
阿里云百炼 / Qwen(中文强,兼容 OpenAI SDK) 获取:https://bailian.aliyun.com
ZHIPUAI_API_KEY
secret
智谱 AI / GLM(有免费额度) 获取:https://open.bigmodel.cn
ANTHROPIC_API_KEY
secret
Anthropic / Claude(需境外网络) 获取:https://console.anthropic.com
OPENAI_API_KEY
secret
OpenAI / GPT(需境外网络) 获取:https://platform.openai.com
HF_TOKEN
secret
Hugging Face 下载开源模型时需要(公开模型可不填)
HF_ENDPOINT
国内镜像加速(国内网络强烈推荐)
RANDOM_SEED
实验配置 随机种子(保证实验可复现)
GPU_DEVICE_ID
GPU 配置(本地运行开源模型时) GPU 设备 ID(多卡时指定)
JUPYTER_PORT
Jupyter 配置
brew install flyctl && fly launch --from https://github.com/datawhalechina/signal-to-intelligence
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/datawhalechina/signal-to-intelligence
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/datawhalechina/signal-to-intelligence