Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpt-4 model support #91

Merged
merged 4 commits into from
Mar 22, 2023
Merged

gpt-4 model support #91

merged 4 commits into from
Mar 22, 2023

Conversation

carlsverre
Copy link
Contributor

It appears that gpt-4 is already supported by tiktoken and seems to be pretty similar to gpt-3.5. At the very least this change allows gpt-4 to be selected. I have access and have tested this.

@n3d1117
Copy link
Owner

n3d1117 commented Mar 21, 2023

Thanks @carlsverre that's awesome!

I might be wrong but I thought gpt-4 increased max tokens limit compared to gpt-3's 4096?

gpt-4: 8.192 tokens
gpt-4-32k: 32.768 tokens

Are you able to confirm this?

@carlsverre
Copy link
Contributor Author

Oh awesome, I will test that out.

@carlsverre
Copy link
Contributor Author

You are correct!

  • Increased context length
  • added gpt-4-32k support
  • added current conversation stats to /stats
  • made errors actually error

@n3d1117
Copy link
Owner

n3d1117 commented Mar 22, 2023

Thanks @carlsverre!

@n3d1117 n3d1117 merged commit c9ea373 into n3d1117:main Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants