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

Getting context window sizes of models without prefixes #994

Merged
merged 2 commits into from
May 13, 2024

Conversation

elisalimli
Copy link
Contributor

Some models don't have prefixes in their name in model_prices_and_context_window_backup.json file where we get the context window sizes for the LMs. So this was causing errors for us, because we were unable to retrieve the context window size for the given models (e.g. anthropic/claude-3-haiku-20240307)

Copy link

vercel bot commented May 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
superagent-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2024 3:09pm

Copy link

render bot commented May 13, 2024

@elisalimli elisalimli merged commit 4bf763b into main May 13, 2024
8 checks passed
@elisalimli elisalimli deleted the fix/model-lookup-context-size branch May 13, 2024 15:10
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.

2 participants