Skip to content

Conversation

@czl726
Copy link

@czl726 czl726 commented Jan 6, 2026

【开源实习】技术公开课内容测试任务8 https://atomgit.com/mindspore/community/issues/2050
把对应代码刷新到ms2.6+mindnlp0.4.0版本
屏幕截图 2026-01-03 152144

执行mindformers/tools/dataset_preprocess/llama/alpaca_converter.py,使用fastchat工具添加prompts模板,将alpaca数据集转换为多轮对话格式。
image

执行research/llama3_1/llama3_1_preprocess.py,生成Mindrecord数据,将带有prompt模板的数据转换为mindrecord格式。
image

下载权重完成后,运行mindformers/convert_weight.py转换脚本,将huggingface的权重转换为完整的ckpt权重。
image

Lora微调后进行单卡推理
image

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant