-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
71 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
LazyLLM的顶层核心概念:模块 | ||
========================= | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,29 @@ | ||
Prompter | ||
------------ | ||
============ | ||
|
||
为了让您在不同的线上模型和不同的本地模型都能获得一致的使用体验,在微调和推理中也能获得一致的使用体验,我们定义了Prompter | ||
|
||
LazyLLM Prompter的设计思路 | ||
------------------------- | ||
|
||
基本概念说明 | ||
^^^^^^^^^^^^^ | ||
|
||
设计思路 | ||
^^^^^^^^^^^^^ | ||
|
||
|
||
Prompter示例 | ||
------------------------- | ||
|
||
Prompter的使用和定义方式 | ||
^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
和OnlineChatModule一起使用 | ||
^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
和TrainableModule一起使用 | ||
^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
LazyLLM中内置的场景Prompt | ||
------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,44 @@ | ||
RAG | ||
-------- | ||
================== | ||
|
||
检索增强生成(Retrieval-augmented Generation, RAG)是当前备受关注的大模型前沿技术之一。其工作原理是,当模型需要生成文本或回答问题时,首先会从一个庞大的文档集合中检索出相关的信息。这些检索到的信息随后用于指导生成过程,从而显著提高生成文本的质量和准确性。通过这种方式,RAG能够在处理复杂问题时提供更加精确和有意义的回答,是自然语言处理领域的重要进展之一。这种方法的优越性在于它结合了检索和生成的优势,使得模型不仅能够生成流畅的文本,还能基于真实数据提供有依据的回答。 | ||
本文展示了如何利用LazyLLM搭建自己的RAG应用,并随心所欲的增加召回策略。 | ||
|
||
RAG的原理简介 | ||
------------------- | ||
|
||
用LazyLLM搭建你的第一个RAG应用 | ||
------------------- | ||
|
||
基本的RAG | ||
============= | ||
+++++++++++++++++++ | ||
|
||
|
||
文档管理服务 | ||
============= | ||
+++++++++++++++++++ | ||
|
||
|
||
替换为本地模型 | ||
============= | ||
部署本地模型并使用 | ||
+++++++++++++++++++ | ||
|
||
|
||
多路召回 | ||
============= | ||
+++++++++++++++++++ | ||
|
||
|
||
自定义parser | ||
+++++++++++++++++++ | ||
|
||
|
||
微调你的模型 | ||
+++++++++++++++++++ | ||
|
||
线上模型的微调 | ||
^^^^^^^^^^^^^^^^ | ||
|
||
本地模型的微调 | ||
^^^^^^^^^^^^^^^^ | ||
|
||
|
||
============= | ||
LazyLLM中RAG模块的设计思想 | ||
---------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FAQ | ||
============ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters