Short CourseBeginner1 Hour 53 Minutes

Prompt Engineering with Llama 2 & 3

Instructor: Amit Sangani

Meta
  • Beginner
  • 1 Hour 53 Minutes
  • 10 Video Lessons
  • 7 Code Examples
  • Instructor: Amit Sangani
    • Meta
    Meta

What you'll learn

  • Learn best practices specific to prompting Llama 2 & 3 models.

  • Interact with Meta Llama 2 Chat, Code Llama, and Llama Guard models.

  • See how you can build safe, responsible AI applications using the Llama Guard model.

About this course

Open up your prompt engineering to the Llama 2 & 3 collection of models! Learn best practices for prompting and building applications with these powerful open commercial license models.

Interact with the Llama 2 and Llama 3 models with a simple API call, and explore the differences in output between models for a variety of tasks.

What you’ll do: 

  • Learn best practices for prompting and selecting among the Llama 2 & 3 models by using them as a personal assistant to help you complete day-to-day tasks.
  • Experiment with advanced prompt engineering techniques, like few-shot prompting to get Llama 2 to classify the sentiment of text messages, and chain-of-thought prompting to solve logic problems.
  • Treat Code Llama as a pair programming partner to both learn to write and improve code.
  • Promote safe and responsible use of LLMs by having Llama Guard check user prompts and model responses for harmful content.

Llama 2 and Llama 3 models and model weights are free to download, including quantized model versions that can run on your local machine. Join a thriving community of open source developers that is building applications powered by Llama 2 and Llama 3.

Who should join?

Anyone who is interested in learning prompt engineering and wants to try out Meta Llama 2 and Llama 3 models.

Course Outline

10 Lessons・7 Code Examples
  • Introduction

    Video4 mins

  • Overview of Llama Models

    Video4 mins

  • Getting Started with Llama 2 & 3

    Video with code examples16 mins

  • Multi-turn Conversations

    Video with code examples11 mins

  • Prompt Engineering Techniques

    Video with code examples22 mins

  • Comparing Different Llama 2 & 3 models

    Video with code examples16 mins

  • Code Llama

    Video with code examples17 mins

  • Llama Guard

    Video with code examples15 mins

  • Walkthrough of Llama Helper Function (Optional)

    Video with code examples3 mins

  • Conclusion

    Video2 mins

Instructor

Amit Sangani

Amit Sangani

Senior Director of Partner Engineering of Meta

Course access is free for a limited time during the DeepLearning.AI learning platform beta!

Want to learn more about Generative AI?

Keep learning with updates on curated AI news, courses, and events, as well as Andrew’s thoughts from DeepLearning.AI!