
Follow three guidelines to succeed: use the q&a for every question, and meet the prerequisites; then get your hands dirty with handwritten notes for conceptual lectures and coding exercises.
Install the openai and tiktoken libraries in your chosen environment using pip, with a beginner-friendly walkthrough in an Anaconda setup.
Explore OpenAI API pricing, compare per 1000 vs per 1 million tokens, and learn cost implications across GPT-3.5 turbo and GPT-4 variants, including input vs output tokens and context windows.
Use tiktoken to estimate prompt tokens for the ChatGPT API, calculate costs in dollars per token, and respect the maximum sequence length with GPT-3.5 Turbo.
Explores reproducibility in generative AI using a seed parameter and system fingerprint to achieve mostly consistent outputs. Note that occasional differences may occur despite the same inputs.
Explore turning the ChatGPT API into a memory-enabled chatbot by managing a history of system, user, and assistant messages for persistent conversations.
Explore frequency and presence penalties passed to the create function like temperature to control repetition and topic diversity in ChatGPT, with values from -2 to 2 and practical testing.
Explore how large language models like ChatGPT and GPT-4 drive dramatic NLP gains across extractive and abstractive tasks such as question answering, text summarization, and information extraction.
Explore how LMS change the machine learning workflow by reducing data collection, labeling, and model training, and weigh cost versus performance against traditional models like Naive Bayes.
Explore China's deep seq models and the open source Deep Sea API, comparing pricing and performance with OpenAI, and learn to use chat and reasoning models in Python.
Explore prompt engineering strategies in generative ai, including unstructured to structured data, json mode, classic nlp tasks, prompt chaining, chain-of-thought prompting, tone adjustment, and sentiment analysis.
Explore translation, language detection, and tone enhancement using ChatGPT and LMS, with practical prompts for multilingual customer service and stylistic tweaks like nerdy scientist or pirate styles.
Learn how to perform text summarization with ChatGPT using prompts, max tokens, and explain-like-I'm-five variants. Explore practical examples, including stem cell articles, for concise, readable summaries.
Explore semantic search by converting text, images, and tabular data into vectors, then use nearest neighbor search in embedding space to retrieve relevant documents and power recommendations and chatbots.
Explore OpenAI's embeddings endpoint and learn to convert text into vectors by passing a list of strings with text embedding three small model, returning a list of floats to arrays.
Leverage the embeddings API for retrieval-augmented generation, converting documents to vectors, storing them in a vector database, and using retrieved text as ChatGPT context.
Index normalized embeddings with faiss, ensure correct dimensionality, and retrieve context to feed a qa prompt that answers questions from the most relevant articles.
Learn what fine tuning is, when to use it for ChatGPT, and compare its pros and cons with prompt engineering and Rag, including hyperparameters and costs.
Learn to fine-tune ChatGPT by preparing a dataset in JSON, loading it from a repo, and converting reviews and responses into the OpenAI API message format with a system prompt.
Upload your training file with the OpenAI client, create a fine-tuning job for GPT-3.5 turbo using the file ID, and monitor status, tokens, and costs.
Learn to use the ChatGPT API with Python to automate tasks and build ChatGPT-based technologies, including applications like chatting with a PDF, guided by building blocks for creative use.
Adopt installation lectures as scalable guidelines, focusing on Python prerequisites and understanding over syntax. Use pip to install libraries, noting OpenAI Gym in reinforcement learning contexts.
Welcome to the forefront of artificial intelligence with our groundbreaking course on Generative AI (GenAI), the OpenAI API, DeepSeek, and ChatGPT. With ChatGPT and DeepSeek, you'll learn how to build with the world's most advanced Large Language Models (LLMs). This course is a must-have if you want to know how to use this cutting-edge technology for your business and work projects.
This course contains 5 main sections:
Basic API Usage: All the fundamentals: signup for an account, get your API key, set environment variables on Windows / Linux / Mac, using the API in Python, setup billing, understand the pricing model, and OpenAI's usage policies. Of note is the chatbot tutorial, which goes over how to incorporate chat history into the model so that ChatGPT "remembers" what it said to you previously. A customer service chatbot will serve as a running example throughout this course.
Prompt Engineering: ChatGPT Prompt Engineering for Developers - All about how to make ChatGPT do what you want it to do. We'll explore various example use-cases, such as getting ChatGPT to output structured data (JSON, tables), sentiment analysis, language translation, creative writing, text summarization, and question-answering. We'll explore techniques like chain-of-thought (CoT) prompting, and we'll even look at how to use ChatGPT to build a stock trading system!
Retrieval Augmented Generation (RAG): Learn how to incorporate external data into LLMs. This powerful technique helps mitigate a common problem called "hallucination". It's critical if you have proprietary data (like product info for your company) that your LLM doesn't know about. You'll learn how semantic search / similarity search works, and how to implement it using FAISS (Facebook AI Similarity Search library). Learn how this will allow you to "chat with your data".
Fine-Tuning: Learn how to "train" an LLM on your own dataset so that it behaves the way you want it to. Sometimes prompt engineering and RAG won't cut it.
GPT-4 with Vision: Everything in this course can be done with GPT-4, but what makes GPT-4 (and GPT-4 Turbo) special is its vision capabilities. That is, it can understand images. In this section, we'll explore many of the amazing applications of combined text-image understanding, some of which include automated homework grading, explaining memes and humor, handwriting transcription, web development, game development, and writing product descriptions based on images (business owners - you already know how this will skyrocket your productivity).
Throughout this course, you'll engage in hands-on exercises, real-world applications, and expert guidance to solidify your understanding and mastery of generative AI concepts. Whether you're a seasoned developer, aspiring AI enthusiast, or industry professional, this course offers a transformative experience that will empower you to harness the true potential of AI.
Are you ready to embark on this exhilarating journey into the future of AI? Join us and unlock the endless possibilities of Generative AI today!
Suggested Prerequisites:
Python coding