【作业贴】2025-01-21,17-Chinese LLaMA Alpaca系列模型OpenAI API调用实现 #527
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#527
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
具体实现步骤及结果:








1、下载开源项目
cd ~/ && wget https://file.huishiwei.top/Chinese-LLaMA-Alpaca-3-3.0.tar.gz
tar -xvf Chinese-LLaMA-Alpaca-3-3.0.tar.gz
2、下载依赖库
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
3、下载大模型
4、启动项目
python openai_api_server.py --gpus 0 --base_model /root/.cache/modelscope/hub/ChineseAlpacaGroup/llama-3-chinese-8b-instruct-v3
5、开启远程隧道
6、客户端配置
7、客户端访问
8、修改源码BUG
9、验证修改后的效果:
同学你好,作业请发布到llm-share分区