🟢 OpenAI Playground
- Set up the OpenAI Playground
- Learn about basic Playground configuration
OpenAI provides another interface, besides the ChatGPT website, for prompting. It is called OpenAI Playground, and gives you even more control over ChatGPT. It also allows you to access other AIs, including different versions of ChatGPT, GPT-4, and older models like GPT-3.
OpenAI Playground is the tool that the maintainer of this course uses most frequently.
Get Set Up
- Go to http://platform.openai.com
- Sign in, and start testing prompts!
Or watch this video:
This video shows an old version of the website, but the process of logging in remains very similar.
At first, this interface seems very complex. There are many drop downs and sliders that allow you to configure models. We will cover Mode, System Prompts, and Model selection in this lesson, and LLM settings like Temperature, Top P, and Maximum Length in the next lesson.
Complete. We have already learned about the latter two;
Assistants models are meant for API use by developers and can use interesting tools such as running code and retrieving information. We will only use
Chat and occasionally
Complete models in this course.
After switching to
Chat, the first thing that you may notice on the left side of the page other than the Get Started popup is the SYSTEM area. So far, we have seen two types of messages, USER messages, which are just the messages you send to the chatbot, and ASSISTANT messages, which are the chatbot's replies. There is a third type of message, the system prompt, that can be used to configure how the AI responds.
This is the best place to put a priming prompt. The system prompt will be "You are a helpful assistant." by default, but a fun alternative example to try out would be the "You are PirateGPT. Always talk like a pirate." example from our previous lesson.
You may not see GPT-4 versions in your interface.
The numbers like 16K, 32K, or 128k in the model names represent the context length. If it's not specified, the default context length is 4K for gpt-3.5 and 8k for GPT-4. OpenAI regularly updates both ChatGPT (gpt-3.5-turbo) and GPT-4, and older versions are kept available on the platform for a limited period. These older models have additional numbers at the end of their name, such as "0613". For instance, the model "gpt-3.5-turbo-16k-0613" is a ChatGPT model with a 16K context length, released on June 13th, 2023. However, it's recommended to use the most recent versions of models, which don't contain any date information. A comprehensive list of model versions can be found here.
The OpenAI Playground is a powerful tool that provides a more advanced interface for interacting with ChatGPT and other AI models. It offers a range of configuration options, including the ability to select different models and modes. We will learn about the rest of the settings in the next lesson. The Playground also supports system prompts, which can be used to guide the AI's responses. While the interface may seem complex at first, with practice, it becomes a valuable resource for exploring the capabilities of OpenAI's models. Whether you're using the latest versions of ChatGPT or GPT-4, or exploring older models, the Playground offers a flexible and robust platform for AI interaction and experimentation.
Partly written by evintunador
OpenAI Playground - Kuanzisha OpenAI Playground - Jifunze kuhusu msingi Playground Configuration OpenAI hutoa interface nyingine, kando na tovuti ChatGPT, kwa ajili ya kuchochea. OpenAI Playground ni mfumo wa kompyuta wa AI unaoweza kuendesha programu ya ChatGPT. Pia, unaweza kutumia programu nyingine za AI kama vile ChatGPT, GPT-4, na GPT-3. OpenAI Playground ni chombo kwamba mhifadhi wa kozi hii hutumia mara nyingi zaidi. Kupata Set Up - Nenda http: platform.openai.com - Kuingia, na kuanza kupima maelekezo! Video hii inaonyesha toleo la zamani la tovuti, lakini mchakato wa kuingia unabaki sawa. Mwanzoni, kiunganishi hiki inaonekana ngumu sana. Kuna mengi ya kushuka chini na sliders kwamba kuruhusu wewe configure mifano. Sisi kufunika Mode, System Prompts, na Model uteuzi katika somo hili, na LLM mipangilio kama joto, Top P, na urefu wa juu katika somo ijayo. Yenye kukamilika. Sisi tayari kujifunza kuhusu mbili ya mwisho; Msaidizi mifano ni maana kwa ajili ya matumizi ya API na watengenezaji na inaweza kutumia zana ya kuvutia kama vile mbio code na kupata habari. Sisi tu kutumia mazungumzo na mara kwa mara kukamilisha mifano katika kozi hii. Baada ya kubadili kwa mazungumzo, kitu cha kwanza kwamba unaweza kuona upande wa kushoto wa ukurasa mwingine kuliko Get Started popup ni eneo mfumo. Kwa sasa, tumekuwa na aina mbili za ujumbe: ujumbe wa mtumiaji, ambao ni ujumbe unaotumwa kwa chatbot, na ujumbe wa msaidizi, ambao ni majibu ya chatbot. Kuna aina ya tatu ya ujumbe, mfumo wa haraka, ambayo inaweza kutumika Configure jinsi AI inajibu. Hii ni mahali pazuri pa kuweka mwongozo wa msingi. Mfumo wa kuchochea itakuwa "Wewe ni msaidizi muhimu". "Kama mfano wa kawaida, unaweza kutumia ""PirateGPT"" kama mfano wa kawaida." Sikuzote zungumza kama mwizi wa baharini". Mfano wa somo letu la awali. Unaweza kuona toleo la GPT4 katika kiunganishi chako. Nambari 16K, 32K, 128K, na nyongeza nyingine za aina ya bidhaa zinaonyesha urefu wa muundo. Ikiwa haijulikani, urefu wa asili wa muktadha ni 4K kwa GPT-3.5 na 8K kwa GPT-4. OpenAI mara kwa mara inasasisha ChatGPT (GPT-3.5-turbo) na GPT-4, na matoleo ya zamani yanapatikana kwenye jukwaa kwa kipindi kidogo. "Mfano wa ""613"" ni namba ya mwisho ya jina la bidhaa, ambayo ni ""613.""" "Mfano, mfano wa ""GPT-3.5-turbo-16k613"" ni mfano wa ""GPT Chat"" na urefu wa muktadha wa 16K, iliyotolewa Juni 13, 2023." Hata hivyo, ni ilipendekeza kutumia matoleo ya hivi karibuni ya mifano, ambayo haina kuwa na taarifa yoyote tarehe. Orodha kamili ya matoleo ya mfano inaweza kupatikana hapa. OpenAI Playground ni chombo chenye nguvu ambacho hutoa interface ya hali ya juu zaidi ya kuingiliana na ChatGPT na mifano mingine ya AI. Inatoa mbalimbali ya chaguzi za usanidi, ikiwa ni pamoja na uwezo wa kuchagua mifano tofauti na modes. Sisi kujifunza kuhusu mapumziko ya mipangilio katika somo ijayo. Playground pia inasaidia mfumo wa kuchochea, ambayo inaweza kutumika kuongoza majibu ya AI. Wakati interface inaweza kuonekana ngumu kwa mara ya kwanza, na mazoezi, inakuwa rasilimali ya thamani kwa ajili ya kuchunguza uwezo wa mifano ya OpenAI ya. Ikiwa unatumia toleo la hivi karibuni la ChatGPT au GPT-4, au unachunguza mifano ya zamani, Playground inatoa jukwaa la kubadilika na imara kwa maingiliano na majaribio ya AI. Sehemu iliyoandikwa na evintunador