enhance_llm

enhance_llm

LLM&ebedding

Stars: 96

Visit
 screenshot

The enhance_llm repository contains three main parts: 1. Vector model domain fine-tuning based on llama_index and qwen fine-tuning BGE vector model. 2. Large model domain fine-tuning based on PEFT fine-tuning qwen1.5-7b-chat, with sft and dpo. 3. High-order retrieval enhanced generation (RAG) system based on the above domain work, implementing a two-stage RAG system. It includes query rewriting, recall reordering, retrieval reordering, multi-turn dialogue, and more. The repository also provides hardware and environment configurations along with star history and licensing information.

README:

微信公众号:西书北影。

项目介绍

本项目包含四部分:

1.向量模型垂域微调:基于llama_index和qwen微调BGE向量模型。http://t.csdnimg.cn/vSmRW

2.大模型垂域微调:基于PEFT微调qwen1.5-7b-chat,做了sft和dpo。http://t.csdnimg.cn/ndZ47

3.高阶检索增强生成(RAG)系统:基于以上垂域化工作,实现两阶段的RAG系统。增加了query改写、召回重排、检索重排、多轮对话等。http://t.csdnimg.cn/6nw4D

4.多模态大模型实现:基于qwen2和clip,使用MLP作为连接器,使得语言模型能懂图像。http://t.csdnimg.cn/9kDTy

硬件配置

显卡:L20(48GB) * 1 内存:100GB

环境配置

1部分的Python环境配置是:

cd enhance_llm/ebedding_finetune
pip install -r requirements.txt

2.3部分的Python环境配置是:

cd enhance_llm
pip install -r requirements.txt

Star History

Star History Chart

LICENSE

enhance_llm is licensed under Apache 2.0 License

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for enhance_llm

Similar Open Source Tools

For similar tasks

For similar jobs