zahaby/intro-llm-rag
关于
LLM 模型与 RAG 实践指南
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文LLM Models and RAG Hands-on Guide
Welcome to the LLM Models and RAG Hands-on Guide repository! This guide is designed for technical teams interested in developing basic conversational AI solutions using Retrieval-Augmented Generation (RAG).
Introduction
This repository provides a comprehensive guide for building conversational AI systems using large language models (LLMs) and RAG techniques. The content combines theoretical knowledge with practical code implementations, making it suitable for those with a basic technical background.
Table of Contents
This guide is primarily for technical teams engaged in developing a basic conversational AI with RAG solutions. It offers a basic introduction to the technical aspects. This guide helps anyone with basic technical background to get involved in the AI domain. This guide combines between the theoretical, basic knowledge and code implementation. It's important to note that most of the content is compiled from various online resources, reflecting the extensive effort in curating and organizing this information from numerous sources.
- intro
- What is Conversational AI?
- The Technology Behind Conversational AI
- LLM Basics
- What is a large language model (LLM)?
- How do LLMs work?
- What are the Relations and Differences between LLMs and Transformers?
- What are Pipelines in Transformers?
- What are Hugging Face Transformers?
- Chains
- What are chains?
- Foundational chain types in LangChain
- LLMChain
- Creating an LLMChain
- Sequential Chains
- SimpleSequentialChain
- SequentialChain
- Transformation
- Prompt Engineering
- What is Prompt Engineering?
- Embeddings
- Vector Stores
- Chunking
- Quantization
- What is Quantization?
- How does quantization work?
- Hugging Face and Bitsandbytes Uses
- Loading a Model in 4-bit Quantization
- Loading a Model in 8-bit Quantization
- Changing the Compute Data Type
- Using NF4 Data Type
- Nested Quantization for Memory Efficiency
- Loading a Quantized Model from the Hub
- Exploring Advanced techniques and configuration
- Temperature
- Langchain Memory
- Agents & Tools
- Walkthrough — Project Utilizing Langchain
- RAG
- groq
- What is LlamaParse ?
- Use Case – 1
- Use Case – 2
- Source Code
Key Concepts
Conversational AI
An introduction to the technology behind conversational AI, covering its fundamentals and applications.
Large Language Models (LLMs)
Understand what LLMs are, how they work, and their role in conversational AI. This section also explores the differences between LLMs and transformers.
Transformers
Detailed explanation of transformers, including their pipelines and the Hugging Face library.
Prompt Engineering
Learn about different types of prompts, prompt engineering techniques, and best practices for using the OpenAI API.
Embeddings and Vector Stores
Explore the use of embeddings in LLMs, vector databases, and various chunking methods for document splitting.
Hands-on Examples
Use Case 1
Implementation details for the first use case, including benchmark results and performance analysis. Refer to the usecase-1 directory for code and documentation.
Use Case 2
A detailed walkthrough of integrating actions with a chatbot, such as getting weather event. See the usecase-2 directory for more information.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributors
Please feel free to contribute to enrich the content!
Contact
For any questions or feedback, please feel free to contact me directly @zahaby.
Happy coding!
探索相关项目
加载中…