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
Is it possible to see through openai library or other way how many maximum tokens can be in a model, for example gpt-4? I need to find out the maximum number of tokens in a model using python code.
For example, gpt-4 has a maximum of 8000 tokens, how can I get this number from the python code?
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
-
Is it possible to see through openai library or other way how many maximum tokens can be in a model, for example gpt-4? I need to find out the maximum number of tokens in a model using python code.
For example, gpt-4 has a maximum of 8000 tokens, how can I get this number from the python code?
Beta Was this translation helpful? Give feedback.
All reactions