【大模型系列】模型微调使用框架笔记整理

1、lora微调模型、融合导出模型
css 复制代码
git clone https://github.com/hiyouga/LLaMA-Factory.git 
cd LLaMA-Factory
pip install -e .
llamafactory-cli webui

将融合模型转移到另一台主机

2、安装llamacpp
css 复制代码
git clone https://github.com/ggerganov/llama.cpp.git 
source activate
conda create -n llamacpp
conda activate llamacpp
pip install -r llama.cpp/requirements.txt
3、使用llamacpp将模型转换成gguf
css 复制代码
python llama.cpp/convert_hf_to_gguf.py /root/autodl-tmp/llmout --outtype f16 --verbose --outfile Qwen2.5-0.5B-Instruct-gguf.gguf

4、安装open-webui

todo~~

相关推荐
齐生11 天前
iOS 知识点 - IAP 是怎样的?
笔记
tingshuo29172 天前
D006 【模板】并查集
笔记
tingshuo29173 天前
S001 【模板】从前缀函数到KMP应用 字符串匹配 字符串周期
笔记
西岸行者8 天前
学习笔记:SKILLS 能帮助更好的vibe coding
笔记·学习
starlaky8 天前
Django入门笔记
笔记·django
勇气要爆发8 天前
吴恩达《LangChain LLM 应用开发精读笔记》1-Introduction_介绍
笔记·langchain·吴恩达
悠哉悠哉愿意8 天前
【单片机学习笔记】串口、超声波、NE555的同时使用
笔记·单片机·学习
勇气要爆发8 天前
吴恩达《LangChain LLM 应用开发精读笔记》2-Models, Prompts and Parsers 模型、提示和解析器
android·笔记·langchain
qianshanxue118 天前
计算机操作的一些笔记标题
笔记
土拨鼠烧电路8 天前
笔记11:数据中台:不是数据仓库,是业务能力复用的引擎
数据仓库·笔记