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

Unable to set the max context limit #2416

Closed
kyllohd opened this issue Jun 6, 2024 · 2 comments
Closed

Unable to set the max context limit #2416

kyllohd opened this issue Jun 6, 2024 · 2 comments
Labels
bug-unconfirmed chat gpt4all-chat issues

Comments

@kyllohd
Copy link

kyllohd commented Jun 6, 2024

Bug Report

You should be able to override the max context window for the models. Especially because it seems to be enforcing a stricter limit based on the base model and not the model in use:

This should have a 128k context window, but GPT4All enforces 4096
https://huggingface.co/failspy/Phi-3-mini-128k-instruct-abliterated-v3-GGUF/tree/main

The same with https://huggingface.co/mradermacher/Llama-3-8B-source-lewd-context-GGUF which should allow for also an insenely high context window, but it is capped at 8k.

Steps to Reproduce

  1. Download either of these models
  2. Try to set the context window to something larger e.g 12288
  3. The interface, sets the max window to a different value e.g 4096 or 8192

Expected Behavior

These models that were made to allow for an extended context should allow such contexts to be made.

Your Environment

  • GPT4All version:
  • Operating System:
  • Chat model used (if applicable):
@kyllohd kyllohd added bug-unconfirmed chat gpt4all-chat issues labels Jun 6, 2024
@ThiloteE
Copy link
Collaborator

ThiloteE commented Aug 3, 2024

Please, I want to know, how do you know the context window is set to max 4096? Screenshots? Source in the code?

By the way, I've added #2790

@cebtenzzre
Copy link
Member

cebtenzzre commented Aug 5, 2024

Cannot reproduce with the latest main branch—I can set the context limit as high as 131072. I'll have to assume this was fixed (since OP did not specify which version they tried, and this was opened a while ago).

@cebtenzzre cebtenzzre closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-unconfirmed chat gpt4all-chat issues
Projects
None yet
Development

No branches or pull requests

3 participants