You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to fix it : openai.NotFoundError Error code: 404 - {'error': {'message': 'The model gpt-4 does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}
#51
I try to run AlphaCodium, so, I make virtualenv using Python 3.10.4, unzip dataset in project base directory, setup openai api key..
and run this command
python -m alpha_codium.solve_problem \ ✔ codium-ai │ base at 05:59:53 PM
--dataset_name /Users/user/git/AlphaCodium/valid_and_test_processed \
--split_name test \
--problem_number 0
but, I get i tons of error
...
openai.NotFoundError: Error code: 404 - {'error': {'message': 'The model `gpt-4-0125-preview` does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}
...
litellm.exceptions.NotFoundError: OpenAIException - Error code: 404 - {'error': {'message': 'The model `gpt-4-0125-preview` does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}
...
FIrst, I search 'gpt-4-0125-preview' in codebase, and change it to 'gpt-4' in settings/configuraton.tml.
but same error is occured.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm a newbe in AlphaCodium
I try to run AlphaCodium, so, I make virtualenv using Python 3.10.4, unzip dataset in project base directory, setup openai api key..
and run this command
but, I get i tons of error
FIrst, I search 'gpt-4-0125-preview' in codebase, and change it to 'gpt-4' in settings/configuraton.tml.
but same error is occured.
How to fix this orror?
Beta Was this translation helpful? Give feedback.
All reactions