Commit Graph

325 Commits (a5b93cf0957607b658648f51b17859477e516659)

Author SHA1 Message Date
Adam Treat 315a1f2aa2 Move it back as internal class. 1 year ago
Adam Treat ae8eb297ac Add sbert backend. 1 year ago
Adam Treat 1f749d7633 Clean up backend code a bit and hide impl. details. 1 year ago
Adam Treat a0dae86a95 Add bert to models.json 1 year ago
AT 18ca8901f0
Update README.md
Signed-off-by: AT <manyoso@users.noreply.github.com>
1 year ago
Adam Treat e8b19b8e82 Bump version to 2.4.14 and provide release notes. 1 year ago
Adam Treat 8eb0844277 Check if the trimmed version is empty. 1 year ago
Adam Treat be395c12cc Make all system prompts empty by default if model does not include in training data. 1 year ago
Aaron Miller 6a8fa27c8d Correctly find models in subdirs of model dir
QDirIterator doesn't seem particular subdir aware, its path() returns
the iterated dir. This was the simplest way I found to get this right.
1 year ago
Adam Treat 8893db5896 Add wizard model and rename orca to be more specific. 1 year ago
Adam Treat 60627bd41f Prefer 7b models in order of default model load. 1 year ago
Aaron Miller 5df4f1bf8c codespell 1 year ago
Aaron Miller 10ca2c4475 center the spinner 1 year ago
Adam Treat e9897518d1 Show busy if models.json download taking longer than expected. 1 year ago
Aaron Miller ad0e7fd01f chatgpt: ensure no extra newline in header 1 year ago
Aaron Miller f0faa23ad5
cmakelists: always export build commands (#1179)
friendly for using editors with clangd integration that don't also
manage the build themselves
1 year ago
Adam Treat 0d726b22b8 When we explicitly cancel an operation we shouldn't throw an error. 1 year ago
Adam Treat 13b2d47be5 Provide an error dialog if for any reason we can't access the settings file. 1 year ago
Adam Treat e9d42fba35 Don't show first start more than once. 1 year ago
Adam Treat 2679dc1521 Give note about gpt-4 and openai key access. 1 year ago
Adam Treat 806905f747 Explicitly set the color in MyTextField. 1 year ago
Adam Treat 9dccc96e70 Immediately signal when the model is in a new loading state. 1 year ago
Adam Treat 833a56fadd Fix the tap handler on these buttons. 1 year ago
Adam Treat 18dbfddcb3 Fix default thread setting. 1 year ago
Adam Treat 34a3b9c857 Don't block on exit when not connected. 1 year ago
Adam Treat 88bbe30952 Provide a guardrail for OOM errors. 1 year ago
Adam Treat 9ef53163dd Explicitly send the opt out because we were artificially lowering them with settings changes. 1 year ago
Adam Treat 4f9e489093 Don't use a local event loop which can lead to recursion and crashes. 1 year ago
Adam Treat 8467e69f24 Check that we're not null. This is necessary because the loop can make us recursive. Need to fix that. 1 year ago
Adam Treat 99cd555743 Provide some guardrails for thread count. 1 year ago
Lakshay Kansal a190041c6e
json and c# highlighting rules (#1163) 1 year ago
Adam Treat 3e3b05a2a4 Don't process the system prompt when restoring state. 1 year ago
Adam Treat 98dd2ab4bc Provide backup options if models.json does not download synchronously. 1 year ago
Adam Treat c8d761a004 Add a nicer message. 1 year ago
Adam Treat e120eb5008 Allow closing the download dialog and display a message to the user if no models are installed. 1 year ago
Adam Treat fb172a2524 Don't prevent closing the model download dialog. 1 year ago
Adam Treat 15d04a7916 Fix new version dialog ui. 1 year ago
Adam Treat 12083fcdeb When deleting chats we sometimes have to update our modelinfo. 1 year ago
Adam Treat 59f3c093cb Stop generating anything on shutdown. 1 year ago
Adam Treat e2458454d3 Bump to v2.4.12 and new release notes. 1 year ago
Adam Treat d9f0245c1b Fix problems with browse of folder in settings dialog. 1 year ago
Adam Treat 58d6f40f50 Fix broken installs. 1 year ago
Adam Treat 85626b3dab Fix model path. 1 year ago
Adam Treat ee73f1ab1d Shrink the templates. 1 year ago
Akarshan Biswas c987e56db7 Update CMakeLists.txt - change WaylandClient to WaylandCompositor
https://doc.qt.io/qt-6/qwaylandcompositor.html

Signed-off-by: Akarshan Biswas <akarshan.biswas@gmail.com>
1 year ago
Akarshan Biswas 16bd4a14d3 Add Qt6:WaylandClient only to Linux Build
Signed-off-by: Akarshan Biswas <akarshan.biswas@gmail.com>
1 year ago
Adam Treat 18316cde39 Bump to 2.4.12 and release notes. 1 year ago
Adam Treat db528ef1b0 Add a close button for dialogs. 1 year ago
Adam Treat 27981c0d21 Fix broken download/remove/install. 1 year ago
Adam Treat eab92a9d73 Fix typo and add new show references setting to localdocs. 1 year ago
Adam Treat 0638b45b47 Per model prompts / templates. 1 year ago
Adam Treat 1491c9fe49 Fix build on windows. 1 year ago
Adam Treat 6d9cdf228c Huge change that completely revamps the settings dialog and implements
per model settings as well as the ability to clone a model into a "character."
This also implements system prompts as well as quite a few bugfixes for
instance this fixes chatgpt.
1 year ago
Adam Treat 2a6c673c25 Begin redesign of settings dialog. 1 year ago
Adam Treat dedb0025be Refactor the settings dialog so that it uses a set of components/abstractions
for all of the tabs and stacks
1 year ago
Lakshay Kansal b3c29e4179
implemented support for bash and go highlighting rules (#1138)
* implemented support for bash and go

* add more commands to bash

* gave precedence to variables over strings in bash
1 year ago
matthew-gill fd4081aed8 Update codeblock font 1 year ago
Lakshay Kansal 70cbff70cc created highlighting rules for java using regex for the gpt4all chat interface 1 year ago
Adam Treat 1cd734efdc Provide an abstraction to break up the settings dialog into managable pieces. 1 year ago
Adam Treat 7f252b4970 This completes the work of consolidating all settings that can be changed by the user on new settings object. 1 year ago
Adam Treat 285aa50b60 Consolidate generation and application settings on the new settings object. 1 year ago
Adam Treat 7f66c28649 Use the new settings for response generation. 1 year ago
Adam Treat a8baa4da52 The sync for save should be after. 1 year ago
Adam Treat 705b480d72 Start moving toward a single authoritative class for all settings. This
is necessary to get rid of technical debt before we drastically increase
the complexity of settings by adding per model settings and mirostat and
other fun things. Right now the settings are divided between QML and C++
and some convenience methods to deal with settings sync and so on that are
in other singletons. This change consolidates all the logic for settings
into a single class with a single API for both C++ and QML.
1 year ago
Adam Treat e70899a26c Make the retrieval/parsing of models.json sync on startup. We were jumping to many hoops to mitigate the async behavior. 1 year ago
Adam Treat 9560336490 Match on the filename too for server mode. 1 year ago
Adam Treat 58cd346686 Bump release again and new release notes. 1 year ago
Adam Treat 0f8f364d76 Fix mac again for falcon. 1 year ago
Adam Treat 8aae4e52b3 Fix for falcon on mac. 1 year ago
Adam Treat 9375c71aa7 New release notes for 2.4.9 and bump version. 1 year ago
Adam Treat 71449bbc4b Fix this correctly? 1 year ago
Adam Treat 07a5405618 Make it clear this is our finetune. 1 year ago
Adam Treat 189ac82277 Fix server mode. 1 year ago
Adam Treat b56cc61ca2 Don't allow setting an invalid prompt template. 1 year ago
Adam Treat 0780393d00 Don't use local. 1 year ago
Adam Treat 924efd9e25 Add falcon to our models.json 1 year ago
Adam Treat d3b8234106 Fix spelling. 1 year ago
Adam Treat 42c0a6673a Don't persist the force metal setting. 1 year ago
Adam Treat 267601d670 Enable the force metal setting. 1 year ago
Aaron Miller e22dd164d8 add falcon to chatllm::serialize 1 year ago
Aaron Miller 198b5e4832 add Falcon 7B model
Tested with https://huggingface.co/TheBloke/falcon-7b-instruct-GGML/blob/main/falcon7b-instruct.ggmlv3.q4_0.bin
1 year ago
Adam Treat 985d3bbfa4 Add Orca models to list. 1 year ago
Adam Treat 8558fb4297 Fix models.json for spanning multiple lines with string. 1 year ago
Adam Treat c24ad02a6a Wait just a bit to set the model name so that we can display the proper name instead of filename. 1 year ago
Adam Treat 57fa8644d6 Make spelling check happy. 1 year ago
Adam Treat d0a3e82ffc Restore feature I accidentally erased in modellist update. 1 year ago
Aaron Miller b19a3e5b2c add requiredMem method to llmodel impls
most of these can just shortcut out of the model loading logic llama is a bit worse to deal with because we submodule it so I have to at least parse the hparams, and then I just use the size on disk as an estimate for the mem size (which seems reasonable since we mmap() the llama files anyway)
1 year ago
Adam Treat dead954134 Fix save chats setting. 1 year ago
Adam Treat 26c9193227 Sigh. Windows. 1 year ago
Adam Treat 5deec2afe1 Change this back now that it is ready. 1 year ago
Adam Treat 676248fe8f Update the language. 1 year ago
Adam Treat ef92492d8c Add better warnings and links. 1 year ago
Adam Treat 71c972f8fa Provide a more stark warning for localdocs and add more size to dialogs. 1 year ago
Adam Treat 1b5aa4617f Enable the add button always, but show an error in placeholder text. 1 year ago
Adam Treat a0f80453e5 Use sysinfo in backend. 1 year ago
Adam Treat 5e520bb775 Fix so that models are searched in subdirectories. 1 year ago
Adam Treat 64e98b8ea9 Fix bug with model loading on initial load. 1 year ago
Adam Treat 3ca9e8692c Don't try and load incomplete files. 1 year ago
Adam Treat 27f25d5878 Get rid of recursive mutex. 1 year ago
Adam Treat 7f01b153b3 Modellist temp 1 year ago