Commit Graph

3466 Commits

Author SHA1 Message Date
arroyoquiel
afc851b405
Fix for #27
As NJannasch mentioned, the model won't work unless the model gets changed by llama.cpp\migrate-ggml-2023-03-30-pr613.py.

This batch works as follows

1) Activates the virtual environment and Runs the Python app.
2) If the model gives an error, it asks you [Y/N] if you want to fix the model, N exits the batch, Y fixes it.
3) It renames the model so it conserves the original, and then applies the fix as a new model. After that it tells that the model has been fixed. Press any key to restart.
4) Pressing a key makes the batch go to the start and the UI launches successfully.
2023-04-07 23:50:12 -06:00
ParisNeo
3da8d01625 working version 2023-04-07 23:44:40 +02:00
Saifeddine ALOUI
83dcbbef8d
Merge pull request #37 from ParisNeo/main
Removed yield
2023-04-07 23:42:34 +02:00
ParisNeo
bed7b9d721 Removed yield 2023-04-07 23:42:04 +02:00
Saifeddine ALOUI
d4a5f1bab1
Merge pull request #36 from ParisNeo/main
Added parameters to the ui. Still needs to be enhanced, but it is functional
2023-04-07 23:25:05 +02:00
ParisNeo
f0e1b0a0c2 Merge branch 'main' of https://github.com/ParisNeo/gpt4all-ui 2023-04-07 23:22:18 +02:00
ParisNeo
55eb7a4f43 Added settings to interface 2023-04-07 23:22:17 +02:00
Saifeddine ALOUI
9488e5b189
Merge pull request #35 from ParisNeo/main
Incorporated parameters into the model generation process
2023-04-07 21:47:26 +02:00
Saifeddine ALOUI
39e190279c
Merge branch 'nomic-ai:main' into main 2023-04-07 21:45:14 +02:00
ParisNeo
2dea9834a7 incorporated optional parameters to the model + overall enhancement 2023-04-07 21:44:55 +02:00
Saifeddine ALOUI
4bef050762
Merge pull request #34 from ParisNeo/main
Fixed the run.bat bug
2023-04-07 20:19:07 +02:00
ParisNeo
f75011cda6 Fixed the run.bat bug 2023-04-07 20:17:29 +02:00
Saifeddine ALOUI
55c9c72b0b
Merge pull request #31 from nomic-ai/dependabot/github_actions/docker/build-push-action-4
Bump docker/build-push-action from 2 to 4
2023-04-07 20:12:14 +02:00
Saifeddine ALOUI
cec8a3396f
Merge pull request #33 from ParisNeo/main
Added .vscode to .gitignore
2023-04-07 20:08:32 +02:00
ParisNeo
c1e6fc8a8e Merge branch 'main' of https://github.com/ParisNeo/gpt4all-ui 2023-04-07 20:04:59 +02:00
ParisNeo
092f471574 upgraded girignore 2023-04-07 20:04:15 +02:00
dependabot[bot]
9c5883cc32
Bump docker/build-push-action from 2 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 17:37:52 +00:00
Saifeddine ALOUI
8e992a45c2
Merge pull request #32 from nomic-ai/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2023-04-07 19:37:17 +02:00
dependabot[bot]
fed181db8e
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 17:29:18 +00:00
Saifeddine ALOUI
23c079005b
Merge pull request #29 from NJannasch/feature/pipeline
Updates for docker-compose usage and some minimal CI pipelines
2023-04-07 19:28:58 +02:00
Saifeddine ALOUI
b7c2c225d3
Merge pull request #30 from NJannasch/feature/python-cleanup
Update python code (isort, black, pylint) and some manual tuning
2023-04-07 19:26:10 +02:00
Nils Jannasch
1d30feac4b Update python code (isort, black, pylint) and some manual tuning 2023-04-07 18:58:42 +02:00
N Jannasch
2e86cc06e0
Apply suggestions from code review 2023-04-07 18:38:21 +02:00
Nils Jannasch
6209066efe Update README for docker-compose and use same ports 2023-04-07 18:32:27 +02:00
Nils Jannasch
0ddc00420a Hadolint config added 2023-04-07 18:16:26 +02:00
Nils Jannasch
21a8129152 Hadolint config added 2023-04-07 18:14:03 +02:00
Nils Jannasch
3d2fa5c46e Model mounting changed 2023-04-07 18:03:25 +02:00
Nils Jannasch
241b35f6ae Model mounting changed 2023-04-07 18:02:01 +02:00
Nils Jannasch
d72d3347fd Smaller changes to structure and added .github folder with pipeline 2023-04-07 17:58:26 +02:00
Saifeddine ALOUI
5f67166f5b
Update README.md 2023-04-07 14:20:48 +02:00
Saifeddine ALOUI
4c04802bae
Update README.md 2023-04-07 14:00:06 +02:00
Saifeddine ALOUI
d9c10c6af8
Merge pull request #24 from arroyoquiel/patch-7
Fancier [Y/N/B]
2023-04-07 13:54:04 +02:00
arroyoquiel
6af9d54a47
Fancier [Y/N/B]
Fancier [Y/N/B], does not require for you to press the letter and then enter, and also asks you if you want to download the model instead of downloading it automatically if you don't have it.

Pressing B lets you open the link in the browser for a faster download because most browsers support multi-segment downloads. With Invoke-WebRequest it would take me ~30 minutes to download with a 200Mbps speed.

Also lets you retry the download if failed or disconnected.
2023-04-07 05:40:08 -06:00
Saifeddine ALOUI
79543b1edf
Update README.md 2023-04-07 12:23:46 +02:00
Saifeddine ALOUI
dfb60f013f
Merge pull request #22 from arroyoquiel/patch-4
Resolved model download error
2023-04-07 10:55:49 +02:00
arroyoquiel
701f28d7d9
Resolved model download error
If previously there were a "models" folder, it would just close the install.bat window and wouldn't continue, so I removed the "else ()" and also added a "IF NOT EXIST models/gpt4all-lora-quantized-ggml.bin" if the user already had the model manually downloaded

Also added a (y/n) choice
2023-04-07 02:37:57 -06:00
Saifeddine ALOUI
8430e26ad9
Update README.md 2023-04-07 10:30:41 +02:00
Saifeddine ALOUI
485e9611a3
Update README.md 2023-04-07 10:27:36 +02:00
arroyoquiel
e11128ba73
Resolved model download error
If previously there were a "models" folder, it would just close the install.bat window and wouldn't continue, so I removed the "else ()" and added a "IF NOT EXIST models/gpt4all-lora-quantized-ggml.bin" if the user already had the model manually downloaded
2023-04-07 01:47:43 -06:00
Saifeddine ALOUI
dc6685d16b
Merge pull request #21 from arroyoquiel/patch-3
Resolved installation error
2023-04-07 09:21:12 +02:00
arroyoquiel
1b01a96ccc
Resolved installation error
Changed to "%ERRORLEVEL%" because ".ERRORLEVEL." is not a valid syntax, this should fix the "Failed to install required packages. Please check your internet connection and try again. Press any key to continue . . ." error despite the requirements being installed correctly.
2023-04-07 01:15:54 -06:00
Saifeddine ALOUI
07ba3c564a
Now the models folder is checked before downloading
If the models folder does not exist create it
2023-04-07 09:07:59 +02:00
Saifeddine ALOUI
dde07f7144
Merge pull request #19 from arroyoquiel/patch-1
Update install.bat - Invoke-WebRequest command fails with a DirectoryNotFoundException error.
2023-04-07 09:05:30 +02:00
arroyoquiel
8a22bc69e6
Update install.bat
The current code assumes that the models directory exists, but this may not always be the case. If the models directory does not exist, the Invoke-WebRequest command fails with a DirectoryNotFoundException error.
2023-04-07 00:23:14 -06:00
Saifeddine ALOUI
00039f3d2a
Merge pull request #17 from DennisStanistan/main
Update install.3.10.sh to wget the model
2023-04-07 07:20:27 +02:00
Dennis Stanistan
efea100f2c
activate the correct virtual env in run.sh
install.sh and install.3.10.sh runs python3.11 -m venv env but run.sh tries to activate in venv, this commit fixes it
2023-04-07 07:38:26 +03:00
Dennis Stanistan
20e86d7dfc
Update install.3.10.sh to wget the model 2023-04-07 07:31:25 +03:00
Andriy Mulyar
0351e02ef8
Merge pull request #16 from DennisStanistan/main
fix model path in install.sh
2023-04-07 00:28:51 -04:00
Dennis Stanistan
3b3bfc6fd4
fix model path in install.sh 2023-04-07 07:26:29 +03:00
Saifeddine ALOUI
601bfcac32
Update README.md 2023-04-07 05:39:16 +02:00