zahaby/intro-llm-rag
소개
LLM 모델과 RAG 실습 가이드
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalLLM 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!
관련 프로젝트 살펴보기
불러오는 중…