https://platform.openai.com/docs/models
OpenAI API
An API for accessing new AI models developed by OpenAI
platform.openai.com

Models
Overview
The OpenAI API is powered by a family of models with different capabilities and price points. You can also customize our base models for your specific use case with fine-tuning.
OpenAI API는 기능과 가격대가 다른 모델 제품군으로 구동됩니다. 미세 조정을 통해 특정 사용 사례에 맞게 기본 모델을 사용자 지정할 수도 있습니다.
MODELS DESCRIPTION
| GPT-4
Limited beta
|
A set of models that improve on GPT-3.5 and can understand as well as generate natural language or code GPT-3.5를 개선하고 자연어 또는 코드를 이해하고 생성할 수 있는 일련의 모델 |
| GPT-3.5 | A set of models that improve on GPT-3 and can understand as well as generate natural language or code GPT-3를 개선하고 자연어 또는 코드를 이해하고 생성할 수 있는 일련의 모델 |
| DALL·E
Beta
|
A model that can generate and edit images given a natural language prompt 자연어 프롬프트가 주어지면 이미지를 생성하고 편집할 수 있는 모델 |
| Whisper
Beta
|
A model that can convert audio into text 오디오를 텍스트로 변환할 수 있는 모델 |
| Embeddings | A set of models that can convert text into a numerical form 텍스트를 숫자 형식으로 변환할 수 있는 일련의 모델 |
| Codex
Limited beta
|
A set of models that can understand and generate code, including translating natural language to code 자연어를 코드로 번역하는 것을 포함하여 코드를 이해하고 생성할 수 있는 일련의 모델 |
| Moderation | A fine-tuned model that can detect whether text may be sensitive or unsafe 텍스트가 sensitive 하거나 unsafe한 지 감지할 수 있는 미세 조정(fine-tuned) 모델 |
| GPT-3 | A set of models that can understand and generate natural language 자연어를 이해하고 생성할 수 있는 일련의 모델 |
GitHub - openai/CLIP: CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image - GitHub - openai/CLIP: CLIP (Contrastive Language-Image Pretraining), Predict the most releva...
github.com
또한 Point-E, Whisper, Jukebox 및 CLIP을 포함한 오픈 소스 모델을 게시했습니다.
Visit our model index for researchers to learn more about which models have been featured in our research papers and the differences between model series like InstructGPT and GPT-3.5.
model index for researchers을 방문하여 연구 논문에 어떤 모델이 포함되었는지, InstructGPT 및 GPT-3.5와 같은 모델 시리즈 간의 차이점에 대해 자세히 알아보세요.
GPT-4 Limited beta
GPT-4 is a large multimodal model (accepting text inputs and emitting text outputs today, with image inputs coming in the future) that can solve difficult problems with greater accuracy than any of our previous models, thanks to its broader general knowledge and advanced reasoning capabilities. Like gpt-3.5-turbo, GPT-4 is optimized for chat but works well for traditional completions tasks.
GPT-4는 광범위한 일반 지식과 고급 추론 덕분에 이전 모델보다 더 정확하게 어려운 문제를 해결할 수 있는 대규모 다중 모드 모델 -multimodal model-(현재 텍스트 입력을 수락하고 텍스트 출력을 내보냄, 이미지 입력은 향후 제공될 예정임)입니다. gpt-3.5-turbo와 마찬가지로 GPT-4는 채팅에 최적화되어 있지만 기존 completions 작업에도 적합합니다.
GPT-4 is currently in a limited beta and only accessible to those who have been granted access. Please join the waitlist to get access when capacity is available.
GPT-4 API waitlist
We’re making GPT-4 available as an API for developers to build applications and services.
openai.com
GPT-4는 현재 제한된 베타 버전이며 액세스 권한이 있는 사용자만 액세스할 수 있습니다. 수용 인원이 있을 때 액세스하려면 대기자 명단에 등록하십시오.
LATEST MODEL DESCRIPTION MAX TOKENS TRAINING DATA| gpt-4 | More capable than any GPT-3.5 model, able to do more complex tasks, and optimized for chat. Will be updated with our latest model iteration. 어떤 GPT-3.5 모델보다 더 많은 기능을 제공하고 더 복잡한 작업을 수행할 수 있으며 채팅에 최적화되어 있습니다. 최신 model iteration으로 계속 업데이트됩니다. |
8,192 tokens | Up to Sep 2021 |
| gpt-4-0314 | Snapshot of gpt-4 from March 14th 2023. Unlike gpt-4, this model will not receive updates, and will only be supported for a three month period ending on June 14th 2023. 2023년 3월 14일 gpt-4의 스냅샷. gpt-4와 달리 이 모델은 업데이트를 받지 않으며 2023년 6월 14일에 끝나는 3개월 동안만 지원됩니다. |
8,192 tokens | Up to Sep 2021 |
| gpt-4-32k | Same capabilities as the base gpt-4 mode but with 4x the context length. Will be updated with our latest model iteration. 기본 gpt-4 모드와 동일한 기능이지만 컨텍스트 길이는 4배입니다. 최신 model iteration으로 업데이트됩니다. |
32,768 tokens | Up to Sep 2021 |
| gpt-4-32k-0314 | Snapshot of gpt-4-32 from March 14th 2023. Unlike gpt-4-32k, this model will not receive updates, and will only be supported for a three month period ending on June 14th 2023. 2023년 3월 14일 gpt-4-32의 스냅샷. gpt-4-32k와 달리 이 모델은 업데이트를 받지 않으며 2023년 6월 14일에 끝나는 3개월 동안만 지원됩니다. |
32,768 tokens | Up to Sep 2021 |
For many basic tasks, the difference between GPT-4 and GPT-3.5 models is not significant. However, in more complex reasoning situations, GPT-4 is much more capable than any of our previous models.
많은 기본 작업에서 GPT-4와 GPT-3.5 모델 간의 차이는 중요하지 않습니다. 그러나 보다 복잡한 추론 상황에서 GPT-4는 이전 모델보다 훨씬 더 많은 기능을 제공합니다.
GPT-3.5
GPT-3.5 models can understand and generate natural language or code. Our most capable and cost effective model in the GPT-3.5 family is gpt-3.5-turbo which has been optimized for chat but works well for traditional completions tasks as well.
GPT-3.5 모델은 자연어 또는 코드를 이해하고 생성할 수 있습니다. GPT-3.5 제품군에서 가장 유능하고 비용 효율적인 모델은 gpt-3.5-turbo로 채팅에 최적화되어 있지만 기존 completions 작업에도 잘 작동합니다.
LATEST MODEL DESCRIPTION MAX TOKENS TRAINING DATA
| gpt-3.5-turbo | Most capable GPT-3.5 model and optimized for chat at 1/10th the cost of text-davinci-003. Will be updated with our latest model iteration. 가장 유능한 GPT-3.5 모델이며 text-davinci-003 비용의 1/10로 채팅에 최적화되었습니다. 최신 모델 반복으로 업데이트됩니다. |
4,096 tokens | Up to Sep 2021 |
| gpt-3.5-turbo-0301 | Snapshot of gpt-3.5-turbo from March 1st 2023. Unlike gpt-3.5-turbo, this model will not receive updates, and will only be supported for a three month period ending on June 1st 2023. 2023년 3월 1일의 gpt-3.5-turbo 스냅샷. gpt-3.5-turbo와 달리 이 모델은 업데이트를 받지 않으며 2023년 6월 1일에 끝나는 3개월 동안만 지원됩니다. |
4,096 tokens | Up to Sep 2021 |
| text-davinci-003 | Can do any language task with better quality, longer output, and consistent instruction-following than the curie, babbage, or ada models. Also supports inserting completions within text. curie, babbage 또는 ada 모델보다 더 나은 품질, 더 긴 출력 및 일관된 지침 준수로 모든 언어 작업을 수행할 수 있습니다. 또한 텍스트 내에 inserting completions을 지원합니다. |
4,097 tokens | Up to Jun 2021 |
| text-davinci-002 | Similar capabilities to text-davinci-003 but trained with supervised fine-tuning instead of reinforcement learning text-davinci-003과 유사한 기능이지만 강화 학습(reinforcement learning) 대신 supervised fine-tuning으로 훈련됨 |
4,097 tokens | Up to Jun 2021 |
| code-davinci-002 | Optimized for code-completion tasks 코드 완성 작업에 최적화됨 |
8,001 tokens | Up to Jun 2021 |
We recommend using gpt-3.5-turbo over the other GPT-3.5 models because of its lower cost.
비용이 저렴하기 때문에 다른 GPT-3.5 모델보다 gpt-3.5-turbo를 사용하는 것이 좋습니다.
OpenAI models are non-deterministic, meaning that identical inputs can yield different outputs. Setting temperature to 0 will make the outputs mostly deterministic, but a small amount of variability may remain.
OpenAI API
An API for accessing new AI models developed by OpenAI
platform.openai.com
OpenAI 모델은 비결정적입니다. 즉, 입력값이 동일해도 출력은 매번 다를 수 있습니다. temperature를 0으로 설정하면 출력이 대부분 결정적이지만 약간의 변동성이 남아 있을 수 있습니다.
Feature-specific models
The main GPT-3 models are meant to be used with the text completion endpoint. We also offer models that are specifically meant to be used with other endpoints.
Older versions of our GPT-3 models are available as davinci, curie, babbage, and ada. These are meant to be used with our fine-tuning endpoints. Learn more.
Our endpoints for creating embeddings and editing text use their own sets of specialized models.
기본 GPT-3 모델은 text completion endpoint과 함께 사용하기 위한 것입니다. 또한 다른 엔드포인트와 함께 사용하도록 특별히 고안된 모델도 제공합니다.
GPT-3 모델의 이전 버전은 davinci, curie, babbage 및 ada로 제공됩니다. 이는 fine-tuning endpoints과 함께 사용하기 위한 것입니다. 더 알아보기.
임베딩 생성 및 텍스트 편집을 위한 엔드포인트는 고유한 특수 모델 세트를 사용합니다.
While the new gpt-3.5 turbo model is optimized for chat, it works very well for traditional completion tasks. The original GPT-3.5 models are optimized for text completion.
새로운 gpt-3.5-turbo 모델은 채팅에 최적화되어 있지만 기존 completion 작업에 매우 적합합니다. 원본 GPT-3.5 모델은 텍스트 완성에 최적화되어 있습니다.
Finding the right model
Experimenting with Davinci is a great way to find out what the API is capable of doing. After you have an idea of what you want to accomplish, you can stay with Davinci if you’re not concerned about cost and speed or move onto Curie or another model and try to optimize around its capabilities.
You can use this tool that lets you run different models side-by-side to compare outputs, settings, and response times and then download the data into a .xls spreadsheet.
Davinci로 실험하는 것은 API가 무엇을 할 수 있는지 알아보는 좋은 방법입니다. 수행하려는 작업에 대한 아이디어를 얻은 후 비용과 속도에 대해 걱정하지 않거나 Curie 또는 다른 모델로 이동하여 해당 기능을 최적화하려는 경우 Davinci에 머물 수 있습니다.
이 도구를 사용하면 서로 다른 모델을 나란히 실행하여 출력, 설정 및 응답 시간을 비교한 다음 데이터를 .xls 스프레드시트로 다운로드할 수 있습니다.
- Updated : March 2023 -
Experimenting with gpt-3.5-turbo is a great way to find out what the API is capable of doing. After you have an idea of what you want to accomplish, you can stay with gpt-3.5-turbo or another model and try to optimize around its capabilities.
gpt-3.5-turbo로 실험하는 것은 API가 무엇을 할 수 있는지 알아보는 좋은 방법입니다. 수행하려는 작업에 대한 아이디어를 얻은 후에는 gpt-3.5-turbo 또는 다른 모델을 유지하면서 해당 기능을 최적화할 수 있습니다.
You can use the GPT comparison tool that lets you run different models side-by-side to compare outputs, settings, and response times and then download the data into an Excel spreadsheet.
서로 다른 모델을 나란히 실행하여 출력, 설정 및 응답 시간을 비교한 다음 데이터를 Excel 스프레드시트로 다운로드할 수 있는 GPT 비교 도구를 사용할 수 있습니다.
DALL·E Beta
DALL·E is a AI system that can create realistic images and art from a description in natural language. We currently support the ability, given a prommpt, to create a new image with a certain size, edit an existing image, or create variations of a user provided image.
DALL·E는 자연어로 된 description 에서 사실적인 이미지와 art을 만들 수 있는 AI 시스템입니다. 현재 특정 크기의 새 이미지를 생성하거나, 기존 이미지를 편집하거나, 사용자 제공 이미지의 변형을 생성하는 메시지가 주어지면 기능을 지원합니다.
The current DALL·E model available through our API is the 2nd iteration of DALL·E with more realistic, accurate, and 4x greater resolution images than the original model. You can try it through the our Labs interface or via the API.
API를 통해 사용할 수 있는 현재 DALL·E 모델은 원래 모델보다 더 현실적이고 정확하며 4배 더 높은 해상도 이미지를 가진 DALL·E의 두 번째 반복입니다. Labs interface 또는 API를 통해 사용해 볼 수 있습니다.
Whisper Beta
Whisper is a general-purpose speech recognition model. It is trained on a large dataset of diverse audio and is also a multi-task model that can perform multilingual speech recognition as well as speech translation and language identification. The Whisper v2-large model is currently available through our API with the whisper-1 model name.
Whisper는 범용 음성 인식 모델입니다. 다양한 오디오의 대규모 데이터 세트에 대해 학습되며 다국어 음성 인식은 물론 음성 번역 및 언어 식별을 수행할 수 있는 멀티태스킹 모델이기도 합니다. Whisper v2-large 모델은 현재 당사의 API를 통해 모델 이름이 whisper-1인 모델을 사용할 수 있습니다.
Currently, there is no difference between the open source version of Whisper and the version available through our API. However, through our API, we offer an optimized inference process which makes running Whisper through our API much faster than doing it through other means. For more technical details on Whisper, you can read the paper.
현재 Whisper의 오픈 소스 버전과 API를 통해 제공되는 버전 간에는 차이가 없습니다. 그러나 API를 통해 다른 방법을 통해 수행하는 것보다 훨씬 빠르게 API를 통해 Whisper를 실행할 수 있는 최적화된 추론 프로세스를 제공합니다. Whisper에 대한 자세한 기술 정보는 read the pape 에서 볼 수 있습니다.
Embeddings
Embeddings are a numerical representation of text that can be used to measure the relateness between two pieces of text. Our second generation embedding model, text-embedding-ada-002 is a designed to replace the previous 16 first-generation embedding models at a fraction of the cost. Embeddings are useful for search, clustering, recommendations, anomaly detection, and classification tasks. You can read more about our latest embedding model in the announcement blog post.
임베딩은 두 텍스트 간의 관련성을 측정하는 데 사용할 수 있는 텍스트의 숫자 표현입니다. 2세대 임베딩 모델인 text-embedding-ada-002는 적은 비용으로 이전 16개의 1세대 임베딩 모델을 대체하도록 설계되었습니다. 임베딩은 검색, 클러스터링, 권장 사항, 변칙 검색 및 분류 작업에 유용합니다. 발표 블로그 게시물에서 최신 임베딩 모델에 대해 자세히 알아볼 수 있습니다.
Codex
The Codex models are descendants of our GPT-3 models that can understand and generate code. Their training data contains both natural language and billions of lines of public code from GitHub. Learn more.
They’re most capable in Python and proficient in over a dozen languages including JavaScript, Go, Perl, PHP, Ruby, Swift, TypeScript, SQL, and even Shell.
We currently offer two Codex models:
Codex 모델은 코드를 이해하고 생성할 수 있는 GPT-3 모델의 후손입니다. 그들의 학습 데이터에는 자연어와 GitHub의 수십억 줄의 공개 코드가 모두 포함되어 있습니다. 더 알아보기.
그들은 Python에서 가장 유능하며 JavaScript, Go, Perl, PHP, Ruby, Swift, TypeScript, SQL 및 Shell을 포함한 12개 이상의 언어에 능숙합니다.
현재 두 가지 Codex 모델을 제공합니다.
| code-davinci-002 | Most capable Codex model. Particularly good at translating natural language to code. In addition to completing code, also supports inserting completions within code. 가장 유능한 코덱스 모델. 특히 자연어를 코드로 번역하는 데 능숙합니다. 코드를 완성하는 것 외에도 코드 내에 inserting completions도 지원합니다. |
8,000 tokens | Up to Jun 2021 |
| code-cushman-001 | Almost as capable as Davinci Codex, but slightly faster. This speed advantage may make it preferable for real-time applications. Davinci Codex와 거의 비슷하지만 약간 더 빠릅니다. 이러한 속도 이점은 실시간 응용 프로그램에 바람직할 수 있습니다. |
Up to 2,048 tokens |
For more, visit our guide to working with Codex.
The Codex models are free to use during the limited beta, and are subject to reduced rate limits. As we learn about use, we'll look to offer pricing to enable a broad set of applications.
During this period, you're welcome to go live with your application as long as it follows our usage policies. We welcome any feedback on these models while in early use and look forward to engaging with the community.
자세한 내용은 Codex 작업 가이드를 참조하세요.
Codex 모델은 제한된 베타 기간 동안 무료로 사용할 수 있으며 감소된 속도 제한이 적용됩니다. 사용에 대해 알아가면서 광범위한 응용 프로그램 세트를 사용할 수 있도록 가격 책정을 제안할 것입니다.
이 기간 동안 애플리케이션이 사용 정책을 준수하는 한 언제든지 애플리케이션을 사용할 수 있습니다. 초기 사용 중에 이러한 모델에 대한 피드백을 환영하며 커뮤니티와 소통하기를 기대합니다.
Feature-specific models
The main Codex models are meant to be used with the text completion endpoint. We also offer models that are specifically meant to be used with our endpoints for creating embeddings and editing code.
기본 Codex 모델은 텍스트 완성 엔드포인트와 함께 사용하기 위한 것입니다. 또한 임베딩 생성 및 코드 편집을 위해 엔드포인트와 함께 사용하도록 특별히 고안된 모델도 제공합니다.
Content filter
(2023년 3월 업데이트 되면서 이 Content filter 부분은 Get Started 에서 삭제 됐습니다. 대신 Moderation 이 추가 됐습니다.)
The filter aims to detect generated text that could be sensitive or unsafe coming from the API. It's currently in beta mode and has three ways of classifying text- as safe, sensitive, or unsafe. The filter will make mistakes and we have currently built it to err on the side of caution, thus, resulting in higher false positives.
콘텐츠 필터 모델 대신 새로운 moderation endpoint 를 사용하는 것이 좋습니다.
필터는 API에서 오는 민감하거나 안전하지 않을 수 있는 생성된 텍스트를 감지하는 것을 목표로 합니다. 현재 베타 모드이며 텍스트를 안전, 민감 또는 안전하지 않음으로 분류하는 세 가지 방법이 있습니다. 필터는 실수를 할 수 있으며 우리는 현재 주의를 기울여 오류를 범하지 않도록 구축하여 더 높은 오탐지 결과를 초래합니다.
Label Descriptions
- 0 - The text is safe.
- 1 - This text is sensitive. This means that the text could be talking about a sensitive topic, something political, religious, or talking about a protected class such as race or nationality.
- 2 - This text is unsafe. This means that the text contains profane language, prejudiced or hateful language, something that could be NSFW, or text that portrays certain groups/people in a harmful manner.
0 - 텍스트가 안전합니다.
1 - 이 텍스트는 민감합니다. 이것은 텍스트가 민감한 주제, 정치적, 종교적 주제에 대해 이야기하거나 인종이나 국적과 같은 보호 계층에 대해 이야기할 수 있음을 의미합니다.
2 - 이 텍스트는 안전하지 않습니다. 즉, 텍스트에 욕설, 편견 또는 혐오스러운 언어, NSFW일 수 있는 내용 또는 특정 그룹/사람을 유해한 방식으로 묘사하는 텍스트가 포함되어 있음을 의미합니다.
How do you use the filter?
You need to use the completions endpoint with the content-filter-alpha model and the following settings:
- max_tokens set to 1
- temperature set to 0.0
- top_p set to 0
- logprobs set to 10
- Wrap your prompt in the following way:
content-filter-alpha 모델 및 다음 설정과 함께 완료 엔드포인트를 사용해야 합니다.
max_tokens가 1로 설정됨
0.0으로 설정된 온도
top_p를 0으로 설정
10으로 설정된 logprobs
프롬프트를 다음과 같이 래핑합니다.
"<|endoftext|>[prompt]\n--\nLabel:"
In other words, if you were doing a curl command, it would look something like (replace the variables in []):
즉, curl 명령을 수행하는 경우 다음과 같이 표시됩니다([]의 변수 대체).
curl https://api.openai.com/v1/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "content-filter-alpha",
"prompt": "<|endoftext|>[prompt]\n--\nLabel:",
"max_tokens": 1,
"user": "1"
}'
Or via our openai python client:
또는 openai Python 클라이언트를 통해:
content_to_classify = "Your content here"
response = openai.Completion.create(
model="content-filter-alpha",
prompt = "<|endoftext|>"+content_to_classify+"\n--\nLabel:",
temperature=0,
max_tokens=1,
top_p=0,
logprobs=10
)
Importantly, you need to check not only the label that was returned by the filter (0, 1, or 2), but sometimes also the logprobs associated with these.
If the filter returns 0 or 1, you should accept that as the filter's outcome. If the filter returns 2, you should accept this outcome only if its logprob is greater than -0.355.
If the logprob for 2 is beneath -0.355 (for example, -0.4), then you should use as output whichever of 0 or 1 has a logprob closer to 0.
Here is Python code that accomplishes this, working from response returned above:
중요한 것은 필터(0, 1 또는 2)에 의해 반환된 레이블뿐만 아니라 때때로 이와 관련된 logprobs도 확인해야 한다는 것입니다.
필터가 0 또는 1을 반환하면 이를 필터의 결과로 받아들여야 합니다. 필터가 2를 반환하는 경우 logprob가 -0.355보다 큰 경우에만 이 결과를 수락해야 합니다.
2에 대한 logprob가 -0.355 미만(예: -0.4)인 경우 logprob이 0에 가까운 0 또는 1을 출력으로 사용해야 합니다.
다음은 위에서 반환된 응답에서 작동하여 이를 수행하는 Python 코드입니다.
output_label = response["choices"][0]["text"]
# This is the probability at which we evaluate that a "2" is likely real
# vs. should be discarded as a false positive
toxic_threshold = -0.355
if output_label == "2":
# If the model returns "2", return its confidence in 2 or other output-labels
logprobs = response["choices"][0]["logprobs"]["top_logprobs"][0]
# If the model is not sufficiently confident in "2",
# choose the most probable of "0" or "1"
# Guaranteed to have a confidence for 2 since this was the selected token.
if logprobs["2"] < toxic_threshold:
logprob_0 = logprobs.get("0", None)
logprob_1 = logprobs.get("1", None)
# If both "0" and "1" have probabilities, set the output label
# to whichever is most probable
if logprob_0 is not None and logprob_1 is not None:
if logprob_0 >= logprob_1:
output_label = "0"
else:
output_label = "1"
# If only one of them is found, set output label to that one
elif logprob_0 is not None:
output_label = "0"
elif logprob_1 is not None:
output_label = "1"
# If neither "0" or "1" are available, stick with "2"
# by leaving output_label unchanged.
# if the most probable token is none of "0", "1", or "2"
# this should be set as unsafe
if output_label not in ["0", "1", "2"]:
output_label = "2"
return output_label
We generally recommend not returning to end-users any completions that the Content Filter has flagged with an output of 2. One approach here is to re-generate, from the initial prompt which led to the 2-completion, and hope that the next output will be safer. Another approach is to alert the end-user that you are unable to return this completion, and to steer them toward suggesting a different input.
일반적으로 콘텐츠 필터가 출력 2로 표시한 완성 항목을 최종 사용자에게 반환하지 않는 것이 좋습니다. 여기서 한 가지 접근 방식은 2-completion으로 이어진 초기 프롬프트에서 다시 생성하고 다음 출력을 희망하는 것입니다. 더 안전할 것입니다. 또 다른 접근 방식은 최종 사용자에게 이 완성을 반환할 수 없음을 알리고 다른 입력을 제안하도록 유도하는 것입니다.
Is there a cost associated with usage of the content filter?
No. The content filter is free to use.
콘텐츠 필터 사용과 관련된 비용이 있습니까?
아니요. 콘텐츠 필터는 무료로 사용할 수 있습니다.
How can I adjust the threshold for certainty?
You can adjust the threshold for the filter by only allowing filtration on the labels that have a certainty level (logprob) above a threshold that you can determine. This is not generally recommended, however.
If you would like an even more conservative implementation of the Content Filter, you may return as 2 anything with an output_label of "2" above, rather than accepting it only with certain logprob values.
확실성에 대한 임계값을 어떻게 조정할 수 있습니까?
결정할 수 있는 임계값보다 높은 확실성 수준(logprob)이 있는 레이블에서만 필터링을 허용하여 필터의 임계값을 조정할 수 있습니다. 그러나 이것은 일반적으로 권장되지 않습니다.
콘텐츠 필터의 훨씬 더 보수적인 구현을 원하는 경우 특정 logprob 값으로만 허용하는 대신 위의 output_label이 "2"인 모든 항목을 2로 반환할 수 있습니다.
How can you personalize the filter?
For now, we aren't supporting finetuning for individual projects. However, we're still looking for data to improve the filter and would be very appreciative if you sent us data that triggered the filter in an unexpected way.
필터를 어떻게 개인화할 수 있습니까?
현재로서는 개별 프로젝트에 대한 미세 조정을 지원하지 않습니다. 그러나 우리는 여전히 필터를 개선하기 위한 데이터를 찾고 있으며 예기치 않은 방식으로 필터를 트리거한 데이터를 보내주시면 매우 감사하겠습니다.
What are some prompts I should expect lower performance on?
The filter currently has a harder time parsing prompts with strange formatting. Thus, if a prompt has a lot of linebreaks, unusual format, repeated words etc. then the model might misclassify it with a higher frequency. It also has lower performance on certain kinds of texts such as fiction, poetry, code etc.
Additionally, similar to the API, the filter will not have a knowledge base of things post 2019. Thus, it will perform poorly in identifying political, sensitive and harmful content that may require relevant knowledge of things that happened post 2019.
성능 저하를 예상해야 하는 몇 가지 프롬프트는 무엇입니까?
필터는 현재 이상한 형식의 프롬프트를 구문 분석하기가 더 어렵습니다. 따라서 프롬프트에 줄 바꿈, 비정상적인 형식, 반복되는 단어 등이 많이 있는 경우 모델이 더 높은 빈도로 프롬프트를 잘못 분류할 수 있습니다. 또한 소설, 시, 코드 등과 같은 특정 종류의 텍스트에 대한 성능이 낮습니다.
또한 API와 마찬가지로 필터에는 2019년 이후에 대한 지식 기반이 없습니다. 따라서 2019년 이후에 발생한 일에 대한 관련 지식이 필요할 수 있는 정치적, 민감하고 유해한 콘텐츠를 식별하는 데 성능이 저하됩니다.
Moderation
The Moderation models are designed to check whether content complies with OpenAI's usage policies. The models provide classification capabilities that look for content in the following categories: hate, hate/threatening, self-harm, sexual, sexual/minors, violence, and violence/graphic. You can find out more in our moderation guide.
Moderation 모델은 콘텐츠가 OpenAI의 사용 정책을 준수하는지 확인하도록 설계되었습니다. 이 모델은 증오, 증오/위협, 자해, 성적, 성적/미성년자, 폭력 및 폭력/그래픽 범주에서 콘텐츠를 찾는 분류 기능을 제공합니다. 검토 가이드에서 자세한 내용을 확인할 수 있습니다.
Moderation models take in an arbitrary sized input that is automatically broken up to fix the models specific context window.
Moderation 모델은 모델 특정 컨텍스트 창을 수정하기 위해 자동으로 분할되는 임의 크기의 입력을 받습니다.
MODEL DESCRIPTION
| text-moderation-latest | Most capable moderation model. Accuracy will be slighlty higher than the stable model 가장 유능한 moderation 모델. 정확도는 stable 모델보다 약간 높을 것입니다. |
| text-moderation-stable | Almost as capable as the latest model, but slightly older. |
GPT-3
- 2023 3월 업데이트 내용 -
GPT-3 models can understand and generate natural language. These models were superceded by the more powerful GPT-3.5 generation models. However, the original GPT-3 base models (davinci, curie, ada, and babbage) are current the only models that are available to fine-tune.
GPT-3 모델은 자연어를 이해하고 생성할 수 있습니다. 이 모델은 보다 강력한 GPT-3.5 세대 모델로 대체되었습니다. 그러나 원래 GPT-3 기본 모델(davinci, curie, ada 및 babbage)은 현재 fine-tune이 가능한 유일한 모델입니다.
LATEST MODEL DESCRIPTION MAX TOKENS TRAINING DATA
| text-curie-001 | Very capable, faster and lower cost than Davinci. Davinci보다 매우 유능하고 빠르며 비용이 저렴합니다. |
2,049 tokens | Up to Oct 2019 |
| text-babbage-001 | Capable of straightforward tasks, very fast, and lower cost. 간단한 작업이 가능하고 매우 빠르며 비용이 저렴합니다. |
2,049 tokens | Up to Oct 2019 |
| text-ada-001 | Capable of very simple tasks, usually the fastest model in the GPT-3 series, and lowest cost. 매우 간단한 작업이 가능하며 일반적으로 GPT-3 시리즈에서 가장 빠른 모델이며 가장 저렴합니다. |
2,049 tokens | Up to Oct 2019 |
| davinci | Most capable GPT-3 model. Can do any task the other models can do, often with higher quality. 가장 유능한 GPT-3 모델. 다른 모델이 할 수 있는 모든 작업을 종종 더 높은 품질로 수행할 수 있습니다. |
2,049 tokens | Up to Oct 2019 |
| curie | Very capable, but faster and lower cost than Davinci. 매우 유능하지만 Davinci보다 빠르고 비용이 저렴합니다. |
2,049 tokens | Up to Oct 2019 |
| babbage | Capable of straightforward tasks, very fast, and lower cost. 간단한 작업이 가능하고 매우 빠르며 비용이 저렴합니다. |
2,049 tokens | Up to Oct 2019 |
| ada | Capable of very simple tasks, usually the fastest model in the GPT-3 series, and lowest cost. 매우 간단한 작업이 가능하며 일반적으로 GPT-3 시리즈에서 가장 빠른 모델이며 가장 저렴합니다. |
2,049 tokens | Up to Oct 2019 |
- 2023 3월 업데이트 이전 내용 -
Our GPT-3 models can understand and generate natural language. We offer four main models with different levels of power suitable for different tasks. Davinci is the most capable model, and Ada is the fastest.
GPT-3 모델은 자연어를 이해하고 생성할 수 있습니다. 우리는 다양한 작업에 적합한 다양한 수준의 전력을 가진 4가지 주요 모델을 제공합니다. Davinci는 가장 유능한 모델이고 Ada는 가장 빠릅니다.
| text-davinci-003 | Most capable GPT-3 model. Can do any task the other models can do, often with higher quality, longer output and better instruction-following. Also supports inserting completions within text. 가장 유능한 GPT-3 모델. 다른 모델이 할 수 있는 모든 작업을 수행할 수 있으며, 종종 더 높은 품질, 더 긴 출력 및 더 나은 지침 준수로 수행할 수 있습니다. 또한 텍스트 내에 완성 삽입을 지원합니다. |
4,000 tokens | Up to Jun 2021 |
| text-curie-001 | Very capable, but faster and lower cost than Davinci. 매우 유능하지만 Davinci보다 빠르고 비용이 저렴합니다. |
2,048 tokens | Up to Oct 2019 |
| text-babbage-001 | Capable of straightforward tasks, very fast, and lower cost. 간단한 작업이 가능하고 매우 빠르며 비용이 저렴합니다. |
2,048 tokens | Up to Oct 2019 |
| text-ada-001 | Capable of very simple tasks, usually the fastest model in the GPT-3 series, and lowest cost. 매우 간단한 작업이 가능하며 일반적으로 GPT-3 시리즈에서 가장 빠른 모델이며 가장 저렴합니다. |
2,048 tokens | Up to Oct 2019 |
While Davinci is generally the most capable, the other models can perform certain tasks extremely well with significant speed or cost advantages. For example, Curie can perform many of the same tasks as Davinci, but faster and for 1/10th the cost.
We recommend using Davinci while experimenting since it will yield the best results. Once you’ve got things working, we encourage trying the other models to see if you can get the same results with lower latency. You may also be able to improve the other models’ performance by fine-tuning them on a specific task.
Davinci가 일반적으로 가장 유능하지만 다른 모델은 상당한 속도 또는 비용 이점으로 특정 작업을 매우 잘 수행할 수 있습니다. 예를 들어 Curie는 Davinci와 동일한 많은 작업을 더 빠르고 1/10의 비용으로 수행할 수 있습니다.
최상의 결과를 얻을 수 있으므로 실험 중에 Davinci를 사용하는 것이 좋습니다. 작업이 완료되면 다른 모델을 사용하여 더 낮은 대기 시간으로 동일한 결과를 얻을 수 있는지 확인하는 것이 좋습니다. 특정 작업에 대해 미세 조정하여 다른 모델의 성능을 향상시킬 수도 있습니다.
Davinci
Davinci is the most capable model family and can perform any task the other models can perform and often with less instruction. For applications requiring a lot of understanding of the content, like summarization for a specific audience and creative content generation, Davinci is going to produce the best results. These increased capabilities require more compute resources, so Davinci costs more per API call and is not as fast as the other models.
Another area where Davinci shines is in understanding the intent of text. Davinci is quite good at solving many kinds of logic problems and explaining the motives of characters. Davinci has been able to solve some of the most challenging AI problems involving cause and effect.
Good at: Complex intent, cause and effect, summarization for audience
Davinci는 가장 유능한 모델 제품군이며 다른 모델이 수행할 수 있는 모든 작업을 수행할 수 있으며 종종 적은 지침으로도 수행할 수 있습니다. 특정 청중을 위한 요약 및 창의적인 콘텐츠 생성과 같이 콘텐츠에 대한 많은 이해가 필요한 응용 프로그램에서 Davinci는 최상의 결과를 생성할 것입니다. 이러한 향상된 기능에는 더 많은 컴퓨팅 리소스가 필요하므로 Davinci는 API 호출당 비용이 더 많이 들고 다른 모델만큼 빠르지 않습니다.
Davinci가 빛을 발하는 또 다른 영역은 텍스트의 의도를 이해하는 것입니다. 다빈치는 많은 종류의 논리 문제를 풀고 등장인물의 동기를 설명하는 데 능숙합니다. Davinci는 원인과 결과와 관련된 가장 어려운 AI 문제 중 일부를 해결할 수 있었습니다.
잘하는 것: 복잡한 의도, 원인과 결과, 청중을 위한 요약
Curie
Curie is extremely powerful, yet very fast. While Davinci is stronger when it comes to analyzing complicated text, Curie is quite capable for many nuanced tasks like sentiment classification and summarization. Curie is also quite good at answering questions and performing Q&A and as a general service chatbot.
Good at: Language translation, complex classification, text sentiment, summarization
Curie는 매우 강력하면서도 매우 빠릅니다. Davinci는 복잡한 텍스트를 분석할 때 더 강력하지만 Curie는 감정 분류 및 요약과 같은 많은 미묘한 작업을 수행할 수 있습니다. Curie는 또한 질문에 답하고 Q&A를 수행하는 것과 일반 서비스 챗봇으로서 매우 능숙합니다.
잘하는 것: 언어 번역, 복잡한 분류, 텍스트 감성, 요약
Babbage
Babbage can perform straightforward tasks like simple classification. It’s also quite capable when it comes to Semantic Search ranking how well documents match up with search queries.
Good at: Moderate classification, semantic search classification
Babbage는 간단한 분류와 같은 간단한 작업을 수행할 수 있습니다. 또한 문서가 검색 쿼리와 얼마나 잘 일치하는지 순위를 매기는 Semantic Search와 관련하여 상당히 유능합니다.
잘하는 것: 보통분류, 의미 검색 분류
Ada
Ada is usually the fastest model and can perform tasks like parsing text, address correction and certain kinds of classification tasks that don’t require too much nuance. Ada’s performance can often be improved by providing more context.
Good at: Parsing text, simple classification, address correction, keywords
Note: Any task performed by a faster model like Ada can be performed by a more powerful model like Curie or Davinci.
Ada는 일반적으로 가장 빠른 모델이며 텍스트 구문 분석, 주소 수정 및 너무 많은 뉘앙스가 필요하지 않은 특정 종류의 분류 작업과 같은 작업을 수행할 수 있습니다. Ada의 성능은 종종 더 많은 컨텍스트를 제공함으로써 향상될 수 있습니다.
잘하는 것: 텍스트 파싱, 단순 분류, 주소 수정, 키워드
참고: Ada와 같은 더 빠른 모델이 수행하는 작업은 Curie 또는 Davinci와 같은 더 강력한 모델이 수행할 수 있습니다.
Consider semantic search
For tasks involving classification, where you’re trying to find what label best fits a selection of text, you can often get great performance out of the different models with Semantic Search. Semantic Search uses an models to provide scores for different blocks of text for how closely they relate to a query. By focusing the scope of the model to evaluating the relationship of the query to the different text blocks, in many cases faster models can outperform themselves compared to the task being presented to them as a generative one.
선택한 텍스트에 가장 적합한 레이블을 찾으려는 분류 관련 작업의 경우 시맨틱 검색을 통해 다양한 모델에서 뛰어난 성능을 얻을 수 있습니다. 시맨틱 검색은 모델을 사용하여 쿼리와 얼마나 밀접하게 관련되어 있는지에 대한 다양한 텍스트 블록에 대한 점수를 제공합니다. 다른 텍스트 블록에 대한 쿼리의 관계를 평가하는 데 모델의 범위를 집중함으로써 많은 경우 더 빠른 모델이 생성 작업으로 제시되는 작업에 비해 더 빠른 모델을 능가할 수 있습니다.
