From the course: LLaMa for Developers

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Difference between LLaMA with commercial LLMs

Difference between LLaMA with commercial LLMs - Llama Tutorial

From the course: LLaMa for Developers

Difference between LLaMA with commercial LLMs

- [Narrator] In this chapter, we're going to cover prompting with Llama. Now, you might have used another large language model before, like Claude, ChatGPT, or Gemini. In this video, we're going to cover the differences between Llama and commercial LLMs. We're mainly going to focus on the prompting side. So let's get started. I have a number of different tabs open here. Let's start off with prompting Llama 2 in a chat interface. I'm on the Facebook research GitHub page, under the Llama Recipes. The first thing I want to point out is that Llama 2 chat edition has different instructions for system and user, than ChatGPT. If we scroll over to our Tiktokenizer, which talks about how ChatGPT incorporates the system and user prompt, we can see the formatting is different. Here's the ChatGPT one, and here's the Llama one. This means if you're writing chat-based prompts and not using a framework, you'll have to adopt this. Now…

Contents