-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Remove binary state from high-level API and use Jinja templates #3147
base: main
Are you sure you want to change the base?
Commits on Nov 5, 2024
-
initial implementation of Jinja templates
- Python bindings use `jinja2` - server.cpp is not implemented - chatapi.cpp is not implemented Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for f80e5f9 - Browse repository at this point
Copy the full SHA f80e5f9View commit details -
add back trimming of trailing whitespace
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 593604a - Browse repository at this point
Copy the full SHA 593604aView commit details -
separate applyJinjaTemplate from chat model
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 52f1d2e - Browse repository at this point
Copy the full SHA 52f1d2eView commit details -
implement chat naming and follow-up questions
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 15abe1f - Browse repository at this point
Copy the full SHA 15abe1fView commit details -
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 495f322 - Browse repository at this point
Copy the full SHA 495f322View commit details -
implement the regenerate button
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 8569509 - Browse repository at this point
Copy the full SHA 8569509View commit details -
Configuration menu - View commit details
-
Copy full SHA for 827f9f8 - Browse repository at this point
Copy the full SHA 827f9f8View commit details -
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 0b97849 - Browse repository at this point
Copy the full SHA 0b97849View commit details -
implement system prompt and fix equality check
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for f7e07e0 - Browse repository at this point
Copy the full SHA f7e07e0View commit details -
gcc 12 apparently does not include the cend method for std::span.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2710d87 - Browse repository at this point
Copy the full SHA 2710d87View commit details -
Remove extra information from jinja.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 62a9751 - Browse repository at this point
Copy the full SHA 62a9751View commit details -
Revert "Remove extra information from jinja."
This reverts commit 15e8fba.
Configuration menu - View commit details
-
Copy full SHA for 9e93427 - Browse repository at this point
Copy the full SHA 9e93427View commit details -
Update the sources in chatllm directly and make it thread safe to do so.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e6c5c71 - Browse repository at this point
Copy the full SHA e6c5c71View commit details -
Add a fixme for a potential crasher.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d75ffc2 - Browse repository at this point
Copy the full SHA d75ffc2View commit details -
remove unused EOS token from params, fix hardcoded BOS token
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for c91c990 - Browse repository at this point
Copy the full SHA c91c990View commit details -
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for d2b6ba3 - Browse repository at this point
Copy the full SHA d2b6ba3View commit details -
llamamodel: restore add_special=true
We still need this for models that don't include bos_token in their chat template. Llama 3.1 8B Instruct sets this to false. Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 05cdcab - Browse repository at this point
Copy the full SHA 05cdcabView commit details -
get the local server working again
Importantly, the non-chat completions endpoint (`/v1/completions`) no longer uses a system prompt or LocalDocs, as those are not applicable. Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 4c5d9c3 - Browse repository at this point
Copy the full SHA 4c5d9c3View commit details -
tests: fix the expected output of the non-completions test
Before this PR, GPT4All inserted a system message into non-chat completions, and it attempted to use LocalDocs with them. It no longer does either of these things because they do not make sense here. This changes the output slightly, so the test needs to be updated. Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 121829b - Browse repository at this point
Copy the full SHA 121829bView commit details -
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 2ab57b1 - Browse repository at this point
Copy the full SHA 2ab57b1View commit details -
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for c842eb2 - Browse repository at this point
Copy the full SHA c842eb2View commit details -
llamamodel: remove debugging offset
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 9343a5e - Browse repository at this point
Copy the full SHA 9343a5eView commit details
Commits on Nov 6, 2024
-
do not generate name or follow-up questions for server chats
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for f7f399a - Browse repository at this point
Copy the full SHA f7f399aView commit details -
remove views::enumerate for GCC 12 compat
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 68b02a7 - Browse repository at this point
Copy the full SHA 68b02a7View commit details