Back

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 2m

Most people don't even know these basics of LLM's. I've explained it in a simple way below. 1. ๐——๐—ฎ๐˜๐—ฎ ๐—–๐—ผ๐—น๐—น๐—ฒ๐—ฐ๐˜๐—ถ๐—ผ๐—ป LLMs are trained on massive amounts of text from books, websites, articles, and documents so they can learn how language is used. 2. ๐——๐—ฎ๐˜๐—ฎ ๐—ฃ๐—ฟ๐—ฒ๐—ฝ๐—ฎ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป The collected data is cleaned. Private information is removed, and messy text is structured so the model learns from high-quality content. 3. ๐——๐—ฎ๐˜๐—ฎ ๐—–๐—น๐—ฎ๐˜€๐˜€๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป The text is organized into categories (like news, code, conversations, etc.) to help the model understand different types of language. 4. ๐—ง๐—ฒ๐˜…๐˜ ๐—ง๐—ผ๐—ธ๐—ฒ๐—ป๐—ถ๐˜‡๐—ฎ๐˜๐—ถ๐—ผ๐—ป Text is broken into small pieces called ๐˜๐—ผ๐—ธ๐—ฒ๐—ป๐˜€ (words or parts of words) that the model can process mathematically. 5. ๐— ๐—ผ๐—ฑ๐—ฒ๐—น ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ Engineers design a neural network (usually a Transformer) that decides how the model reads, remembers, and predicts text. 6. ๐—•๐—ฎ๐˜€๐—ฒ ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด The model learns by repeatedly predicting the ๐—ป๐—ฒ๐˜…๐˜ ๐˜„๐—ผ๐—ฟ๐—ฑ in a sentence. This helps it understand grammar, facts, and patterns. 7. ๐—š๐˜‚๐—ถ๐—ฑ๐—ฒ๐—ฑ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด Labeled data is used to teach the model what correct answers look like for specific tasks. 8. ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ ๐—ข๐˜‚๐˜๐—ฝ๐˜‚๐˜๐˜€ Human-written examples show the model what good responses should look like. 9. ๐—™๐—ฒ๐—ฒ๐—ฑ๐—ฏ๐—ฎ๐—ฐ๐—ธ ๐— ๐—ผ๐—ฑ๐—ฒ๐—น A reward or feedback system scores responses, helping the model learn which outputs are better. 10. ๐—ฃ๐—ผ๐—น๐—ถ๐—ฐ๐˜† ๐—ข๐—ฝ๐˜๐—ถ๐—บ๐—ถ๐˜‡๐—ฎ๐˜๐—ถ๐—ผ๐—ป (๐—ฃ๐—ฃ๐—ข) Using reinforcement learning, the model is adjusted to produce better, safer, and more helpful responses. 11. ๐— ๐—ผ๐—ฑ๐—ฒ๐—น ๐—ฅ๐—ฒ๐—ณ๐—ถ๐—ป๐—ฒ๐—บ๐—ฒ๐—ป๐˜ The model is further improved using focused datasets for specific skills like reasoning or coding. 12. ๐— ๐—ผ๐—ฑ๐—ฒ๐—น ๐—˜๐˜ƒ๐—ฎ๐—น๐˜‚๐—ฎ๐˜๐—ถ๐—ผ๐—ป The model is tested to check accuracy, consistency, and reliability before being released. 13. ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜†๐—บ๐—ฒ๐—ป๐˜ The trained model is deployed on servers so users can start interacting with it. 14. ๐—จ๐˜€๐—ฒ๐—ฟ ๐—œ๐—ป๐—ฝ๐˜‚๐˜ ๐—ฃ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€๐—ถ๐—ป๐—ด When a user types a question, the system converts it into tokens the model understands. 15. ๐—–๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜ ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜€๐—ถ๐˜€ The model analyzes meaning, intent, and context to understand what the user actually wants. 16. ๐—”๐—ป๐˜€๐˜„๐—ฒ๐—ฟ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป The model predicts the best possible next words to form a useful and natural response. 17. ๐—ฆ๐—ฎ๐—ณ๐—ฒ๐˜๐˜† ๐—–๐—ผ๐—ป๐˜๐—ฟ๐—ผ๐—น๐˜€ Filters are applied to block harmful, unsafe, or restricted content. 18. ๐—ข๐—ป๐—ด๐—ผ๐—ถ๐—ป๐—ด ๐—œ๐—บ๐—ฝ๐—ฟ๐—ผ๐˜ƒ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ The system improves over time using feedback and new data (outside of live conversations). 19. ๐—จ๐˜€๐—ฒ๐—ฟ ๐—–๐˜‚๐˜€๐˜๐—ผ๐—บ๐—ถ๐˜‡๐—ฎ๐˜๐—ถ๐—ผ๐—ป Responses can be personalized based on user preferences or behavior. 20. ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ ๐—œ๐—ป๐˜๐—ฒ๐—ด๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป The model connects with apps, websites, APIs, or tools to perform real-world tasks. This is useful for anyone who wants to understand the very fundamentals of LLM's and AI. โœ… Repost for others who can benefit from this.

Reply
2
7

More like this

Recommendations from Medial

Image Description
Image Description

Kushal Jain

Founding Software En...ย โ€ขย 1y

Excited to share a preview of the AI Prescreening Assistant Iโ€™ve been developing! This tool prescreens candidates via calls and has incredible potential in Customer Support, Sales, and Marketing. Demo Video: https://youtu.be/0sWprEl4KnE?si=M1RDm28x

See More
8 Replies
16
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 1m

Most people building AI systems miss these crucial steps. I've explained the architecture in simple way below. ๐—ฆ๐˜๐—ฒ๐—ฝ 1 โ€“ ๐——๐—ฎ๐˜๐—ฎ ๐—œ๐—ป๐—ด๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป & ๐—ฃ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€๐—ถ๐—ป๐—ด (๐—œ๐—ป๐—ด๐—ฒ๐˜€๐˜ ๐—Ÿ๐—ฎ๐˜†๐—ฒ๐—ฟ) โ€ข This step brings data into your AI system. โ€ข

See More
1 Reply
3
5

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 3m

3 ways AI systems are deployed today. Iโ€™ve explained each method below in simple steps. 1.) ๐—–๐—น๐—ผ๐˜‚๐—ฑ ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜†๐—บ๐—ฒ๐—ป๐˜ (๐˜€๐˜๐—ฒ๐—ฝ-๐—ฏ๐˜†-๐˜€๐˜๐—ฒ๐—ฝ) ๐—™๐—น๐—ผ๐˜„: โ€ข ๐—จ๐˜€๐—ฒ๐—ฟ ๐˜€๐˜‚๐—ฏ๐—บ๐—ถ๐˜๐˜€ ๐—ฟ๐—ฒ๐—พ๐˜‚๐—ฒ๐˜€๐˜ - User types a query or command. โ€ข ๐—–๐—น๐—ผ๐˜‚๐—ฑ ๐—ฟ

See More
Reply
2
8
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 3m

4 different ways of training LLM's. I've given a simple detailed explanation below. 1.) ๐—”๐—ฐ๐—ฐ๐˜‚๐—ฟ๐—ฎ๐˜๐—ฒ ๐——๐—ฎ๐˜๐—ฎ ๐—–๐˜‚๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป (๐˜€๐˜๐—ฒ๐—ฝ-๐—ฏ๐˜†-๐˜€๐˜๐—ฒ๐—ฝ) Prepares clean, consistent, and useful data so the model learns effectively. 1. Collect text

See More
Reply
1
9
1

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 2m

The fastest AI apps arenโ€™t using the cloud. I've explained the reason for this below. Most people think the cloud is the go-to solution for AI, but when speed and real-time results are a must, other deployment options outperform it. 1.) ๐—–๐—น๐—ผ๐˜‚๐—ฑ

See More
Reply
3
4
Image Description
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 6m

Simple explanation of Traditional RAG vs Agentic RAG vs MCP. 1. ๐—ง๐—ฟ๐—ฎ๐—ฑ๐—ถ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ฅ๐—”๐—š (๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น-๐—”๐˜‚๐—ด๐—บ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป) โ€ข ๐—ฆ๐˜๐—ฒ๐—ฝ 1: ๐—จ๐˜€๐—ฒ๐—ฟ ๐—ฎ๐˜€๐—ธ๐˜€ ๐—ฎ ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป. Example: โ€œ๐˜ž๐˜ฉ๐˜ข๐˜ต ๐˜ช๐˜ด ๐˜ต๐˜ฉ๐˜ฆ ๐˜ค๐˜ข๐˜ฑ๐˜ช๏ฟฝ

See More
4 Replies
34
41
4
Image Description
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 2m

Most people don't even know these basics of RAG. I've explained it in a simple way below. 1. ๐—œ๐—ป๐—ฑ๐—ฒ๐˜…๐—ถ๐—ป๐—ด Convert documents into a format that AI can quickly search later. Step-by-step: โ€ข ๐——๐—ผ๐—ฐ๐˜‚๐—บ๐—ฒ๐—ป๐˜: You start with files like PDFs, Word

See More
4 Replies
21
33
4
Image Description

Comet

#freelancerย โ€ขย 1y

Text Generation What It Is: Text generation involves using AI models to create humanlike text based on input prompts. How It Works: Models like GPT-3 use Transformer architectures. Theyโ€™re pre-trained on vast text datasets to learn grammar, conte

See More
1 Reply
4

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 3m

Steps to building real-world AI systems. I've given a simple detailed explanation below. ๐—ฆ๐˜๐—ฒ๐—ฝ 1 โ€“ ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜†๐—บ๐—ฒ๐—ป๐˜ & ๐—–๐—ผ๐—บ๐—ฝ๐˜‚๐˜๐—ฒ ๐—Ÿ๐—ฎ๐˜†๐—ฒ๐—ฟ โ€ข This is where all the ๐—ต๐—ฒ๐—ฎ๐˜ƒ๐˜† ๐—ฝ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€๐—ถ๐—ป๐—ด ๐—ต๐—ฎ๐—ฝ๐—ฝ๐—ฒ๐—ป๐˜€. โ€ข It provides the ๐—ต๐—ฎ๐—ฟ๏ฟฝ

See More
Reply
1
1

Download the medial app to read full posts, comements and news.