销冠大模型案例
环境搭建
git clone https://github.com/PeterH0323/Streamer-Sales.git
cd Streamer-Sales
studio-conda -t streamer-sales -o pytorch-2.1.2
conda activate streamer-sales
pip install -r requirements.txt
启动
cd /path/to/Streamer-Sales/dataset/gen_dataset
python gen_dataset.py internlm2_5-7b-chat
数据清洗
python merge_dataset.py dataset/gen_dataset/trainval_dataset/response dataset/gen_dataset/trainval_dataset/train.jsonl
ComfyUI 环境搭建
git clone https://github.com/comfyanonymous/ComfyUI.git
studio-conda -t comfyui-streamer-sales -o pytorch-2.1.2
conda activate comfyui-streamer-sales
pip install -r requirements.txt
cd ComfyUI
python main.py
运行
git checkout v0.7.1
# Agent Key (如果没有请忽略)
export DELIVERY_TIME_API_KEY="${快递 EBusinessID},${快递 api_key}"
export WEATHER_API_KEY="${天气 API key}"
streamlit run app.py --server.address=0.0.0.0 --server.port 7860
效果: