我要补充
Crypto的回答,即
gpt-4-32k-0314
目前还无法访问。目前只有8k GPT-4模型可用:
![enter image description here](https://istack.dev59.com/Hz2kl.webp)
一个人可以按照以下方式列出所有可用的模型(首先运行
pip install openai
):
import openai
import pprint
openai.organization = "org-insertorgIDhere"
openai.api_key = "sk-insertyourkeyhere"
GPT4 = 'gpt-4-0314'
MODEL_NAME = GPT4
model = openai.Model(MODEL_NAME)
def list_all_models():
model_list = openai.Model.list()['data']
model_ids = [x['id'] for x in model_list]
model_ids.sort()
pprint.pprint(model_ids)
if __name__ == '__main__':
list_all_models()
如果没有GPT-4访问,则在2023年3月18日输出:
['ada',
'ada-code-search-code',
'ada-code-search-text',
'ada-search-document',
'ada-search-query',
'ada-similarity',
'ada:2020-05-03',
'babbage',
'babbage-code-search-code',
'babbage-code-search-text',
'babbage-search-document',
'babbage-search-query',
'babbage-similarity',
'babbage:2020-05-03',
'code-cushman-001',
'code-davinci-002',
'code-davinci-edit-001',
'code-search-ada-code-001',
'code-search-ada-text-001',
'code-search-babbage-code-001',
'code-search-babbage-text-001',
'curie',
'curie-instruct-beta',
'curie-search-document',
'curie-search-query',
'curie-similarity',
'curie:2020-05-03',
'cushman:2020-05-03',
'davinci',
'davinci-if:3.0.0',
'davinci-instruct-beta',
'davinci-instruct-beta:2.0.0',
'davinci-search-document',
'davinci-search-query',
'davinci-similarity',
'davinci:2020-05-03',
'gpt-3.5-turbo',
'gpt-3.5-turbo-0301',
'if-curie-v2',
'if-davinci-v2',
'if-davinci:3.0.0',
'text-ada-001',
'text-ada:001',
'text-babbage-001',
'text-babbage:001',
'text-curie-001',
'text-curie:001',
'text-davinci-001',
'text-davinci-002',
'text-davinci-003',
'text-davinci-edit-001',
'text-davinci-insert-001',
'text-davinci-insert-002',
'text-davinci:001',
'text-embedding-ada-002',
'text-search-ada-doc-001',
'text-search-ada-query-001',
'text-search-babbage-doc-001',
'text-search-babbage-query-001',
'text-search-curie-doc-001',
'text-search-curie-query-001',
'text-search-davinci-doc-001',
'text-search-davinci-query-001',
'text-similarity-ada-001',
'text-similarity-babbage-001',
'text-similarity-curie-001',
'text-similarity-davinci-001',
'whisper-1']
如果有权访问 GPT-4,则以下两个模型将被添加到列表中:
'gpt-4',
'gpt-4-0314',
请注意,访问GPT-4需要OpenAI账户和组织ID(在
https://openai.com/waitlist/gpt-4-api上,其中一个字段是组织ID)的绑定。