baichuan-inc / Baichuan-7B

A large-scale 7B pretraining language model developed by BaiChuan-Inc.
https://huggingface.co/baichuan-inc/baichuan-7B
Apache License 2.0
5.67k stars 506 forks source link

[Question] 使用QLoRA+百万指令数据,单卡高效微调baichuan-7B #87

Open yangjianxin1 opened 1 year ago

yangjianxin1 commented 1 year ago

Required prerequisites

Questions

使用QLoRA+百万指令数据,单卡高效微调baichuan-7B模型。

项目地址:https://github.com/yangjianxin1/Firefly QLoRA-baichuan-7b模型权重:https://huggingface.co/YeungNLP/firefly-baichuan-7b-qlora-sft 百万中文多轮指令数据:https://huggingface.co/datasets/YeungNLP/moss-003-sft-data

生成效果: image

image image image

Checklist

Nisoka commented 1 year ago

@yangjianxin1 好厉害的效果,请问大神用的什么样的机器,跑了多久?如果13B的话最低需要什么样的配置 进行QLora训练