Commit Graph

920 Commits

Author SHA1 Message Date
Adam Treat
b36ea3dde5 Fix up for newer models on reset context. This fixes the model from totally failing after a reset context. 2023-06-04 19:31:20 -04:00
Adam Treat
825fa64c17 Allow for download of models hosted on third party hosts. 2023-06-04 19:02:43 -04:00
Adam Treat
42d349e1e8 Try again with the url. 2023-06-04 18:39:36 -04:00
Adam Treat
75565fc95d Trying out a new feature to download directly from huggingface. 2023-06-04 18:34:04 -04:00
AT
54ec3c1259 Update build_and_run.md (#834)
Signed-off-by: AT <manyoso@users.noreply.github.com>
2023-06-04 15:39:32 -04:00
AT
964e2ffc1b We no longer have an avx_only repository and better error handling for minimum hardware requirements. (#833) 2023-06-04 15:28:58 -04:00
Adam Treat
a84bcccb3a Better error handling when the model fails to load. 2023-06-04 14:55:05 -04:00
AT
b5971b0d41 Backend prompt dedup (#822)
* Deduplicated prompt() function code
2023-06-04 08:59:24 -04:00
Ikko Eltociear Ashimine
e53195a002 Update README.md
huggingface -> Hugging Face

Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
2023-06-04 08:46:37 -04:00
Adam Treat
1564eecd7c Add a collection immediately and show a placeholder + busy indicator in localdocs settings. 2023-06-03 10:09:17 -04:00
Peter Gagarinov
21df8a771e Only default mlock on macOS where swap seems to be a problem
Repeating the change that once was done in https://github.com/nomic-ai/gpt4all/pull/663 but then was overriden by 9c6c09cbd2

Signed-off-by: Peter Gagarinov <pgagarinov@users.noreply.github.com>
2023-06-03 07:51:18 -04:00
Adam Treat
66457b88c4 Add the ability to change the directory via text field not just 'browse' button. 2023-06-02 22:52:55 -04:00
Adam Treat
ed9da866fd Actually use the theme dark color for window background. 2023-06-02 20:19:50 -04:00
Adam Treat
d3984e532a Prevent flashing of white on resize. 2023-06-02 20:16:11 -04:00
Adam Treat
60f2ee938c Min constraints on about dialog. 2023-06-02 20:05:47 -04:00
Adam Treat
687c5b8958 Some tweaks to UI to make window resizing smooth and flow nicely. 2023-06-02 20:00:28 -04:00
niansa/tuxifan
8203d65445 Fixed tons of warnings and clazy findings (#811) 2023-06-02 15:46:41 -04:00
niansa/tuxifan
1832a887b5 Fixed model type for GPT-J (#815)
Signed-off-by: niansa/tuxifan <tuxifan@posteo.de>
2023-06-02 15:46:33 -04:00
Richard Guo
fc3655e163 small typo fix 2023-06-02 12:32:26 -04:00
Richard Guo
d051ac889c more cleanup 2023-06-02 12:32:26 -04:00
Richard Guo
46986d5f26 cleanup 2023-06-02 12:32:26 -04:00
Richard Guo
fb09f412ff cleanup 2023-06-02 12:32:26 -04:00
Richard Guo
67b7641390 fixed finding model libs 2023-06-02 12:32:26 -04:00
Richard Guo
8ad14e209a load libs correctly 2023-06-02 12:32:26 -04:00
Richard Guo
711f8e8af4 model creation is failing... debugging 2023-06-02 12:32:26 -04:00
Richard Guo
74e69a3e80 load all model libs 2023-06-02 12:32:26 -04:00
Richard Guo
9ed9530367 updated bindings code for updated C api 2023-06-02 12:32:26 -04:00
niansa/tuxifan
9868bbf426 Fixed spelling error in models.json
to make CI happy

Signed-off-by: niansa/tuxifan <tuxifan@posteo.de>
2023-06-02 12:31:09 -04:00
Adam Treat
6382eb5a71 Add models/release.json to github repo to allow PRs 2023-06-02 11:10:00 -04:00
Adam Treat
15c6bf09e9 Fix mac build again. 2023-06-02 10:51:09 -04:00
Adam Treat
1b755b6cba Try and fix build on mac. 2023-06-02 10:47:12 -04:00
Adam Treat
6be64e6b85 Remove this as it is no longer useful. 2023-06-02 08:19:18 -04:00
Adam Treat
7ee32d605f Trying to shrink the copy+paste code and do more code sharing between backend model impl. 2023-06-02 07:20:59 -04:00
Adam Treat
e0dcf6a14f Fix bug with resetting context with chatgpt model. 2023-06-01 17:34:13 -04:00
Adam Treat
01a07e434d Don't hardcode these. 2023-06-01 17:23:57 -04:00
Adam Treat
5197df7aa5 Fix for stale references after we regenerate. 2023-06-01 17:23:57 -04:00
Adam Treat
f29d50eeef Better name for database results. 2023-06-01 17:14:17 -04:00
Adam Treat
8c6ee9d02e Make localdocs work with server mode. 2023-06-01 17:14:17 -04:00
mvenditto
fc5537badf C# Bindings - improved logging (#714)
* added optional support for .NET logging

* bump version and add missing alpha suffix

* avoid creating additional namespace for extensions

* prefer NullLogger/NullLoggerFactory over null-conditional ILogger to avoid errors

---------

Signed-off-by: mvenditto <venditto.matteo@gmail.com>
2023-06-01 21:01:27 +01:00
Andriy Mulyar
d15ff7de40 Update gpt4all_chat.md (#800)
Signed-off-by: Andriy Mulyar <andriy.mulyar@gmail.com>
2023-06-01 15:35:06 -04:00
Tim Miller
455e6aa7ce Fix MSVC Build, Update C# Binding Scripts 2023-06-01 14:24:23 -04:00
Adam Treat
1b827f3ef1 Logger should also output to stderr 2023-06-01 14:15:11 -04:00
Ettore Di Giacinto
ac079b1e67 Add ldl in gpt4all.go for dynamic linking (#797) 2023-06-01 19:50:08 +02:00
mudler
901618f607 Drop leftover include 2023-06-01 13:03:44 -04:00
niansa/tuxifan
c4f9535fd0 Allow user to specify custom search path via $GPT4ALL_IMPLEMENTATIONS_PATH (#789) 2023-06-01 17:41:04 +02:00
niansa
ab56119470 Fixed double-free in LLModel::Implementation destructor 2023-06-01 11:19:08 -04:00
Adam Treat
ae20274a1d Fix compile 2023-06-01 10:58:31 -04:00
niansa/tuxifan
8aa707fdb4 Cleaned up implementation management (#787)
* Cleaned up implementation management

* Initialize LLModel::m_implementation to nullptr

* llmodel.h: Moved dlhandle fwd declare above LLModel class
2023-06-01 16:51:46 +02:00
niansa/tuxifan
c8794eac2a Implemented logging mechanism (#785) 2023-06-01 16:50:42 +02:00
mudler
3da205fb2e Style 2023-06-01 10:36:22 -04:00