<aside> <img src="/icons/table_gray.svg" alt="/icons/table_gray.svg" width="40px" />

Table of Content

</aside>

Lecture 1: Language Models, the Chat Format and Tokens

Large Language Model

Training Data:

image.png

Types of Large Language Models (Base & Instruct)

image.png

From Base LLM to Instructed Tuned LLM

image.png

System, User, and Assistant Messages

image.png

API Key

# Less Secure (not recommended)
import os
openai.api_key = "sk-abcdefghi123456789"

# More Secure
from dotenv import load_dotevn
load_dotenv()
openai.api_key = os.get_env("OPENAI_API_KEY")

Lecture 2: Classification