#1 求助,如何部署复现本项目,谢谢。

Open
created 1 year ago by DoraAI · 5 comments
DoraAI commented 1 year ago
#万分抱歉给大家添麻烦! 因工作需要复现该项目,但由于本人太菜。多番搜索周转都未能复现本项目。 现特请求有空的大佬从0入门到正常使用开展指导。 我想要实现的: 1.复现项目; 2.自己添加语料训练(领会微调参数定义); 3.训练模型后生成文章。 目前特殊原因只能调试好了以后部署在物理隔离的环境训练和生产,特来社区求助,谢谢。 目前准备用于实验的设备:I7+32G内存+3090显卡+固态1T+HDD2T。 我想要通过手册或视频获得教学。
zgy commented 1 year ago
Owner
1. 复现项目:要实现文本生成可以参考readme中的quick start,运行examples/generate_cpm1.py代码 2. 添加语料进行微调:BMInf本身不支持全参数微调,可以利用 https://github.com/TsinghuaAI/CPM-1-Finetune 的代码进行微调,然后使用 tools/migrate_cpm1.py 将训练好的checkpoint转换为BMInf需要的checkpoint。
jctime commented 1 year ago
Owner
我们在b站上线的大模型课程,有BMInf相关的讲解,希望对你有帮助。 https://www.bilibili.com/video/BV1UG411p7zv?p=77&vd_source=cd29f4e20ef69babd26f4f34cc7c8b3f
DoraAI commented 1 year ago
Poster
> 1. 复现项目:要实现文本生成可以参考readme中的quick start,运行examples/generate_cpm1.py代码 > 2. 添加语料进行微调:BMInf本身不支持全参数微调,可以利用 https://github.com/TsinghuaAI/CPM-1-Finetune 的代码进行微调,然后使用 tools/migrate_cpm1.py 将训练好的checkpoint转换为BMInf需要的checkpoint。 谢谢,微调可以用https://github.com/TsinghuaAI/CPM-2-Finetune 吗?
DoraAI commented 1 year ago
Poster
> 我们在b站上线的大模型课程,有BMInf相关的讲解,希望对你有帮助。 > https://www.bilibili.com/video/BV1UG411p7zv?p=77&vd_source=cd29f4e20ef69babd26f4f34cc7c8b3f 感谢已经一键三连!
zgy commented 1 year ago
Owner
> > 1. 复现项目:要实现文本生成可以参考readme中的quick start,运行examples/generate_cpm1.py代码 > > 2. 添加语料进行微调:BMInf本身不支持全参数微调,可以利用 https://github.com/TsinghuaAI/CPM-1-Finetune 的代码进行微调,然后使用 tools/migrate_cpm1.py 将训练好的checkpoint转换为BMInf需要的checkpoint。 > > 谢谢,微调可以用https://github.com/TsinghuaAI/CPM-2-Finetune 吗? > > 可以的,对应的模型代码和checkpoint转换代码需要用cpm2的那一个。
Sign in to join this conversation.
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.