update Phi4

This commit is contained in:
KMnO4-zx
2025-01-18 16:10:45 +08:00
parent ebc1dd41c2
commit 48281b4f9a
6 changed files with 45 additions and 32 deletions
+10 -8
View File
@@ -76,9 +76,9 @@
- [ ] internlm3-8b-instruct Lora 微调 @九月
- [phi4](https://huggingface.co/microsoft/phi-4)
- [ ] phi4 FastApi 部署调用 @杜森
- [x] [phi4 FastApi 部署调用](./models/phi4/01-Phi-4%20FastApi%20部署调用.md) @杜森
- [x] [phi4 langchain 接入](./models/phi4/02-Phi-4-Langchain接入.md) @小罗
- [ ] phi4 WebDemo 部署 @杜森
- [x] [phi4 WebDemo 部署](./models/phi4/03-Phi-4%20WebDemo部署.md) @杜森
- [x] [phi4 Lora 微调](./models/phi4/04-Phi-4-Lora%20微调.md) @郑远婧
- [Qwen2.5-Coder](https://github.com/QwenLM/Qwen2.5-Coder)
@@ -316,18 +316,19 @@
- [郭志航](https://github.com/acwwt)(内容创作者)
- [张帆](https://github.com/zhangfanTJU)(内容创作者-Datawhale成员)
- [姜舒凡](https://github.com/Tsumugii24)(内容创作者-鲸英助教)
- [林泽毅](https://github.com/Zeyi-Lin)(内容创作者-SwanLab产品负责人)
- [李娇娇](https://github.com/Aphasia0515) Datawhale成员)
- [丁悦](https://github.com/dingyue772) Datawhale-鲸英助教)
- [林泽毅](https://github.com/Zeyi-Lin)(内容创作者-SwanLab产品负责人
- [王泽宇](https://github.com/moyitech)(内容创作者-太原理工大学-鲸英助教
- [惠佳豪](https://github.com/L4HeyXiao) Datawhale-宣传大使)
- [王茂霖](https://github.com/mlw67)(内容创作者-Datawhale成员)
- [孙健壮](https://github.com/Caleb-Sun-jz)(内容创作者-对外经济贸易大学)
- [东东](https://github.com/LucaChen)(内容创作者-谷歌开发者机器学习技术专家)
- [高立业](https://github.com/0-yy-0)(内容创作者-DataWhale成员)
- [王泽宇](https://github.com/moyitech)(内容创作者-太原理工大学-鲸英助教)
- [Kailigithub](https://github.com/Kailigithub) Datawhale成员)
- [郑皓桦](https://github.com/BaiYu96) (内容创作者)
- [李柯辰](https://github.com/Joe-2002) Datawhale成员)
- [九月](https://github.com/chg0901)(内容创作者-Datawhale意向成员)
- [陈思州](https://github.com/jjyaoao) Datawhale成员)
- [散步](https://github.com/sanbuphy) Datawhale成员)
- [颜鑫](https://github.com/thomas-yanxin) Datawhale成员)
@@ -341,17 +342,18 @@
- [左春生](https://github.com/LinChentang)(内容创作者-Datawhale成员)
- [杨卓](https://github.com/little1d)(内容创作者-西安电子科技大学-鲸英助教)
- [小罗](https://github.com/lyj11111111) (内容创作者-Datawhale成员)
- [邓恺俊](https://github.com/Kedreamix)(内容创作者-Datawhale成员)
- [赵文恺](https://github.com/XiLinky)(内容创作者-太原理工大学-鲸英助教)
- [付志远](https://github.com/comfzy)(内容创作者-海南大学)
- [杜森](https://github.com/study520ai520)(内容创作者-Datawhale成员-南阳理工学院)
- [郑远婧](https://github.com/isaacahahah)(内容创作者-鲸英助教-福州大学)
- [谭逸珂](https://github.com/LikeGiver)(内容创作者-对外经济贸易大学)
- [王熠明](https://github.com/Bald0Wang)(内容创作者-Datawhale成员)
- [何至轩](https://github.com/pod2c)(内容创作者-鲸英助教)
- [康婧淇](https://github.com/jodie-kang)(内容创作者-Datawhale成员)
- [三水](https://github.com/sssanssss)(内容创作者-鲸英助教)
- [九月](https://github.com/chg0901)(内容创作者-Datawhale意向成员)
- [邓恺俊](https://github.com/Kedreamix)(内容创作者-Datawhale成员)
- [杨晨旭](https://github.com/langlibai66)(内容创作者-太原理工大学-鲸英助教)
- [赵文恺](https://github.com/XiLinky)(内容创作者-太原理工大学-鲸英助教)
- [赵伟](https://github.com/2710932616)(内容创作者-鲸英助教)
- [付志远](https://github.com/comfzy)(内容创作者-海南大学)
> 注:排名根据贡献程度排序
+31 -19
View File
@@ -23,6 +23,10 @@
"info": "[姜舒凡](https://github.com/Tsumugii24)(内容创作者-鲸英助教)",
"task_num": 8
},
"林泽毅": {
"info": "[林泽毅](https://github.com/Zeyi-Lin)(内容创作者-SwanLab产品负责人)",
"task_num": 8
},
"李娇娇": {
"info": "[李娇娇](https://github.com/Aphasia0515) Datawhale成员)",
"task_num": 6
@@ -31,8 +35,8 @@
"info": "[丁悦](https://github.com/dingyue772) Datawhale-鲸英助教)",
"task_num": 6
},
"林泽毅": {
"info": "[林泽毅](https://github.com/Zeyi-Lin)(内容创作者-SwanLab产品负责人",
"王泽宇": {
"info": "[王泽宇](https://github.com/moyitech)(内容创作者-太原理工大学-鲸英助教",
"task_num": 6
},
"惠佳豪": {
@@ -55,10 +59,6 @@
"info": "[高立业](https://github.com/0-yy-0)(内容创作者-DataWhale成员)",
"task_num": 5
},
"王泽宇": {
"info": "[王泽宇](https://github.com/moyitech)(内容创作者-太原理工大学-鲸英助教)",
"task_num": 5
},
"Kailigithub": {
"info": "[Kailigithub](https://github.com/Kailigithub) Datawhale成员)",
"task_num": 4
@@ -71,6 +71,10 @@
"info": "[李柯辰](https://github.com/Joe-2002) Datawhale成员)",
"task_num": 4
},
"九月": {
"info": "[九月](https://github.com/chg0901)(内容创作者-Datawhale意向成员)",
"task_num": 4
},
"陈思州": {
"info": "[陈思州](https://github.com/jjyaoao) Datawhale成员)",
"task_num": 3
@@ -121,7 +125,27 @@
},
"小罗": {
"info": "[小罗](https://github.com/lyj11111111) (内容创作者-Datawhale成员)",
"task_num": 1
"task_num": 2
},
"邓恺俊": {
"info": "[邓恺俊](https://github.com/Kedreamix)(内容创作者-Datawhale成员)",
"task_num": 2
},
"赵文恺": {
"info": "[赵文恺](https://github.com/XiLinky)(内容创作者-太原理工大学-鲸英助教)",
"task_num": 2
},
"付志远": {
"info": "[付志远](https://github.com/comfzy)(内容创作者-海南大学)",
"task_num": 2
},
"杜森": {
"info": "[杜森](https://github.com/study520ai520)(内容创作者-Datawhale成员-南阳理工学院)",
"task_num": 2
},
"郑远婧": {
"info": "[郑远婧](https://github.com/isaacahahah)(内容创作者-鲸英助教-福州大学)",
"task_num": 2
},
"谭逸珂": {
"info": "[谭逸珂](https://github.com/LikeGiver)(内容创作者-对外经济贸易大学)",
@@ -143,22 +167,10 @@
"info": "[三水](https://github.com/sssanssss)(内容创作者-鲸英助教)",
"task_num": 1
},
"九月": {
"info": "[九月](https://github.com/chg0901)(内容创作者-Datawhale意向成员)",
"task_num": 1
},
"邓恺俊": {
"info": "[邓恺俊](https://github.com/Kedreamix)(内容创作者-Datawhale成员)",
"task_num": 1
},
"杨晨旭": {
"info": "[杨晨旭](https://github.com/langlibai66)(内容创作者-太原理工大学-鲸英助教)",
"task_num": 1
},
"赵文恺": {
"info": "[赵文恺](https://github.com/XiLinky)(内容创作者-太原理工大学-鲸英助教)",
"task_num": 1
},
"赵伟": {
"info": "[赵伟](https://github.com/2710932616)(内容创作者-鲸英助教)",
"task_num": 1
+1 -1
View File
@@ -31,7 +31,7 @@ pip install fastapi==0.115.1
pip install uvicorn==0.30.6
```
>考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Phi-4的环境镜像,点击下方链接并直接创建Autodl示例即可。 ***https://www.codewithgpu.com/i/datawhalechina/self-llm/Qwen2.5-self-llm***
>考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Phi-4的环境镜像,点击下方链接并直接创建Autodl示例即可。 ***https://www.codewithgpu.com/i/datawhalechina/self-llm/self-llm-phi4***
## 模型下载
+1 -1
View File
@@ -30,7 +30,7 @@ pip install modelscope==1.18.0
pip install langchain==0.3.0
```
>考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Phi-4的环境镜像,点击下方链接并直接创建Autodl示例即可。 ***https://www.codewithgpu.com/i/datawhalechina/self-llm/Qwen2.5-self-llm***
>考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Phi-4的环境镜像,点击下方链接并直接创建Autodl示例即可。 ***https://www.codewithgpu.com/i/datawhalechina/self-llm/self-llm-phi4***
## 模型下载
+1 -1
View File
@@ -30,7 +30,7 @@ pip install modelscope==1.18.0
pip install streamlit==1.41.1
```
>考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Phi-4的环境镜像,点击下方链接并直接创建Autodl示例即可。 ***https://www.codewithgpu.com/i/datawhalechina/self-llm/Qwen2.5-self-llm***
>考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Phi-4的环境镜像,点击下方链接并直接创建Autodl示例即可。 ***https://www.codewithgpu.com/i/datawhalechina/self-llm/self-llm-phi4***
## 模型下载
+1 -2
View File
@@ -35,8 +35,7 @@ pip install datasets==2.20.0 # 用于加载和处理数据集
pip install peft==0.11.1 # 用于 LoRA 微调
```
> 考虑到部分同学配置环境可能会遇到一些问题,我们在 AutoDL 平台准备了 Phi-4 的环境镜像,点击下方链接并直接创建 Autodl 示例即可。
> ***https://www.codewithgpu.com/i/datawhalechina/self-llm/Qwen2.5-self-llm***
>考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Phi-4的环境镜像,点击下方链接并直接创建Autodl示例即可。 ***https://www.codewithgpu.com/i/datawhalechina/self-llm/self-llm-phi4***
在本节教程里,我们将微调数据集放置在根目录 [/dataset](../dataset/huanhuan.json)。