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

GPT4 context_length is not working #460

Open
cubesnyc opened this issue Apr 15, 2024 · 0 comments
Open

GPT4 context_length is not working #460

cubesnyc opened this issue Apr 15, 2024 · 0 comments

Comments

@cubesnyc
Copy link

with the following entry in my config file

[components.llm.model]
@llm_models = "spacy.GPT-4.v3"
name = "gpt-4-turbo"
config = {"temperature": 0.0}
context_length = 110000

The context_length seems to be read correctly from the config, since it suppresses the sharding context_length error. However, I am still getting context length errors returned from openai, saying the corresponding text exceeds the token limit.

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

No branches or pull requests

1 participant