Short CourseBeginner1 Hour

Prompt Engineering with Llama 2 & 3

Instructors: Amit Sangani

Collaborator

Meta

Key Learning Outcomes

  • 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.

What you’ll learn in 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.

Instructors

Amit Sangani

Amit Sangani

Instructor

Senior Director of Partner Engineering of Meta

Missing component Cta
Missing component NewsletterShortCourse