https://github.com/buaadreamer/easyrag-test
Easy-to-Use Retrieval-Augmented Generation Tool of LLM
https://github.com/buaadreamer/easyrag-test
ceval langchain large-language-models retrieval retrieval-augmented retrieval-augmented-generation
Last synced: about 2 months ago
JSON representation
Easy-to-Use Retrieval-Augmented Generation Tool of LLM
- Host: GitHub
- URL: https://github.com/buaadreamer/easyrag-test
- Owner: BUAADreamer
- Created: 2023-11-29T15:18:34.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-28T09:44:53.000Z (over 1 year ago)
- Last Synced: 2024-10-17T14:52:22.271Z (6 months ago)
- Topics: ceval, langchain, large-language-models, retrieval, retrieval-augmented, retrieval-augmented-generation
- Language: Python
- Homepage:
- Size: 1.53 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EasyRAG
Easy-to-Use Retrieval-Augmented Generation Tool of LLM.
## Use
### build
```shell
python3 builder.py --config configs/bge_small.yaml
```### test
```shell
python3 test.py --config configs/bge_small.yaml
```## Supported RAG Algorithms
- [x] ICRALM [1]
- [x] REPLUG [2]
- [x] Self-RAG [3]## References
1. Ram O, Levine Y, Dalmedigos I, et al. In-context retrieval-augmented language models[J]. arXiv preprint arXiv:2302.00083, 2023.
2. Shi W, Min S, Yasunaga M, et al. Replug: Retrieval-augmented black-box language models[J]. arXiv preprint arXiv:2301.12652, 2023.
3. Asai A, Wu Z, Wang Y, et al. Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection[J]. arXiv preprint arXiv:2310.11511, 2023.