AI Unleashed: Building with GPT-4, DALL-E, and Whisper in Python
Class Code |
Date |
Delivery Method |
Cost |
ITS-1926 |
- Mon Jan 27, 9:00 am to 12:00 pm
- Tue Jan 28, 9:00 am to 12:00 pm
|
Live Online - 2 sessions |
$450 |
Master GPT-4 API for natural language processing, including text generation, summarization, and translation. Learn how to generate visual images based on text prompts using DALL-E, an OpenAI image generation. Apply Whisper API to transcribe audio files.
- Program Description
Master GPT-4 API for natural language processing, including text generation, summarization, and translation. Learn how to generate visual images based on text prompts using DALL-E, an OpenAI image generation. Apply Whisper API to transcribe audio files.
- Learning Objectives
Learning Objectives:
- After this course, you will have the opportunity to:
- Develop an understanding of using OpenAI generative models using Python
- Understanding different API endpoints
- Learn how to debug code, improve code, and even write code from scratch using API
- Generate interesting images using the DALL-E API
- Convert Audio into transcriptions and translation using powerful Whisper API
- Topic Outline
Course Outline:
Introduction To OpenAI Models
- Brief history of OpenAI
- Overview of OpenAI models: GPT-4, DALL-E, and Whisper
- Signing up for a developer account
- Hands-on: Sign up for a developer account
Getting Started With OpenAI Python API
- Using API key
- Generating first completion request
- Understanding Tokens, MAX_TOKENS
- Stop sequences, N and Echo
- Hands-on lab with these topics
Important API Parameters
- Temperature Parameter
- Understanding Top P
- Frequency Penalty and Presence Penalty
- Streaming Responses
- Using Completion and Chat API
- Cost Estimation with TikToken
- Hands-on lab with these topics
Working With Code
- Use API to understand code and calculate time complexity
- Make GPT-4 find and fix code bugs
- Translate code from JavaScript to Python
- Generating code
- Hands-on lab with these topics
DALL-E Image Generator
- What is DALL-E?
- Using DALL-E API to generate images
- Hands-on lab with DALL-E
Whisper Audio To Text
- Introducing Whisper
- Translating and Transcribing with Whisper API
- Transcribing Non-English Audio
- Hands-on lab with these topics
- Prerequisites
Prerequisites:
Must have some Python programming experience.
Custom training workshops are available for this program
Technology training sessions structured around individual or group learning objectives. Learn more about custom training
University IT Technology Training sessions are available to a wide range of participants, including Stanford University staff, faculty, students, and employees of Stanford Hospitals & Clinics, such as Stanford Health Care, Stanford Health Care Tri-Valley, Stanford Medicine Partners, and Stanford Medicine Children's Health.
Additionally, some of these programs are open to interested individuals not affiliated with Stanford, allowing for broader community engagement and learning opportunities.