Mydra logo
Artificial Intelligence
DeepLearning.AI logo

DeepLearning.AI

Prompt Engineering with Llama 2 & 3

  • up to 1 hour
  • Beginner

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.

  • Prompt engineering
  • Llama 2
  • Llama 3
  • API interaction
  • Few-shot prompting

Overview

In this course, you will 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. You will 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. You will also treat Code Llama as a pair programming partner to both learn to write and improve code. Additionally, you will promote safe and responsible use of LLMs by having Llama Guard check user prompts and model responses for harmful content.

  • Web Streamline Icon: https://streamlinehq.com
    Online
    course location
  • Layers 1 Streamline Icon: https://streamlinehq.com
    English
    course language
  • Self-paced
    course format
  • Live classes
    delivered online

Who is this course for?

AI Enthusiasts

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

Developers

Developers looking to build applications with Llama 2 & 3 models.

AI Practitioners

AI practitioners who want to learn best practices for prompting and building applications with Llama models.

Unlock the potential of Llama 2 & 3 models with this course. Learn best practices for prompt engineering and build safe, responsible AI applications. Ideal for beginners and professionals looking to enhance their AI skills.

Pre-Requisites

1 / 3

  • Basic understanding of AI concepts

  • Familiarity with programming

  • Interest in prompt engineering

What will you learn?

Introduction to Llama 2 & 3
Overview of Llama 2 & 3 models and their capabilities.
Best Practices for Prompting
Learn best practices for prompting Llama 2 & 3 models.
API Interaction
Interact with Llama 2 and Llama 3 models using a simple API call.
Few-shot Prompting
Experiment with few-shot prompting to classify sentiment of text messages.
Chain-of-thought Prompting
Use chain-of-thought prompting to solve logic problems.
Code Llama as a Pair Programming Partner
Treat Code Llama as a pair programming partner to learn and improve code.
Safe and Responsible AI
Promote safe and responsible use of LLMs with Llama Guard.

Meet your instructor

  • Amit Sangani

    Senior Director of Platform Engineering, Meta

    Amit Sangani is a Senior Director of Platform Engineering at Meta. He leads a global team of engineers responsible for developing key APIs and cross-platform SDKs for Meta's AI & Metaverse products.

Upcoming cohorts

  • Dates

    start now

Free