GPT-3 in Python Tutorial using the OpenAI API and Weights & Biases (Model Behind ChatGPT)
?Hey everyone! In this video, we'll learn how to use GPT-3 in Python via the OpenAI API (note that GPT-3 is pretty much the model behind ChatGPT). We'll cover how to set up an OpenAI account, an overview of the API 's pricing, how to get your API secret key, and use a notebook with Python code that performs inference on prompts using GPT-3 and the OpenAI API.
I'll also show you how to visualize prompts and completions using W&B Tables, and give you examples of tasks you can do with GPT-3. Lastly, I'll show you how to use a fine-tuned GPT-3 model in Python via the API as well. Hope you enjoy it!
---
Links:
?Google Colab notebook with code (try it out yourself!): http://wandb.me/gpt-3-in-python
?Video I created about fine-tuning GPT-3 to generate new Doctor Who episode synopses: https://youtu.be/5MNqn_7ty8A
?Text version of this video: https://wandb.ai/ivangoncharov/GPT-3%20in%20Python/reports/Use-GPT-3-in-Python-With-the-OpenAI-API-and-W-B-Tables--VmlldzoxOTg4NTMz
?OpenAI API docs: https://platform.openai.com/docs/api-reference/introduction
?OpenAI Fine-tuning docs: https://platform.openai.com/docs/guides/fine-tuning
?Weights & Biases: https://wandb.ai/site
?OpenAI GPT-3 API Pricing (find relevant info here): https://openai.com/pricing
---
⏳ Timestamps ⏳
00:00 Intro
00:36 Why you want to use GPT-3 in Python via the API
01:50 Setting up an OpenAI account
03:38 OpenAI API Pricing Overview
04:30 Getting an OpenAI API Secret Key
05:37 Notebook with Python code
08:08 Performing inference on our prompt using the GPT-3 API
10:48 Visualizing prompts and completions using W&B Tables
11:41 Examples of tasks you can do with GPT-3
15:26 Using fine-tuned GPT-3 model in Python via the API
19:11 Outro
--
Follow Ivan:
? Twitter: https://twitter.com/Ivangrov
? YouTube: https://www.youtube.com/c/IvanGoncharovAI
Get started with W&B: http://wandb.me/intro
Follow us:
Twitter: http://twitter.com/weights_biases
Linkedin: https://www.linkedin.com/company/weights-biases
Thanks for watching! If you have any questions, please don't hesitate to ask! If you have any suggestions, please don't hesitate either! We love hearing from the community and look forward to seeing you join our community!
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «GPT-3 in Python Tutorial using the OpenAI API and Weights & Biases (Model Behind ChatGPT)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.