3 Easy Methods For Improving Your Large Language Model
In this video, you'll learn how to improve the performance of your Large Language Model using 3 incredibly easy-to-use methods! We will use Llama 2 as the open-source LLM to improve upon with extensive tutorials.
Timeline
0:00 Introduction
0:32 Loading Llama 2
4:48 Prompt Template
6:27 Method 1: Prompt Engineering
12:00 Method 2: Retrieval-Augmented Generation (RAG)
18:10 Method 3: Parameter Efficient-tuning with LoRA
24:57 Combining all 3 methods
📒 Google Colab notebook https://colab.research.google.com/drive/1jXfyvoS8KY1sa9lsJz8cAptKTe-RZLjv?usp=sharing
🛠️ Written version of this tutorial https://maartengrootendorst.substack.com/p/3-ways-to-improve-your-llm
🦙 Llama 2 model (7B) on HuggingFace https://huggingface.co/meta-llama/Llama-2-7b-chat-hf
Support my work:
👪 Join as a Channel Member:
/ @maartengrootendorst
✉️ Newsletter https://maartengrootendorst.substack.com/
📖 Join Medium to Read my Blogs https://medium.com/@maartengrootendorst
I'm writing a book!
📚 Hands-On Large Language Models https://www.oreilly.com/library/view/hands-on-large-language/9781098150952/
#datascience #machinelearning #ai
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
More on: LLM Foundations
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Big Tech firms are accelerating AI investments and integration, while regulators and companies focus on safety and responsible adoption.
Dev.to AI
Wire ll-lang into Claude Code, Cursor, or Zed in 30 Seconds
Dev.to · Roman Melnikov
Why We Built ll-lang, a Statically Typed Functional Language for LLMs
Dev.to · Roman Melnikov
5 Research Papers Every AI Aspirant Should Read
Medium · AI
Chapters (7)
Introduction
0:32
Loading Llama 2
4:48
Prompt Template
6:27
Method 1: Prompt Engineering
12:00
Method 2: Retrieval-Augmented Generation (RAG)
18:10
Method 3: Parameter Efficient-tuning with LoRA
24:57
Combining all 3 methods
🎓
Tutor Explanation
DeepCamp AI