mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-20 09:16:15 +00:00
Update README.md
Some spelling and grammar fixes.
This commit is contained in:
parent
74d0293585
commit
f78304a636
50
README.md
50
README.md
@ -16,9 +16,9 @@ GPT4All is an exceptional language model, designed and developed by Nomic-AI, a
|
||||
|
||||
If you are interested in learning more about this groundbreaking project, visit their [Github repository](https://github.com/nomic-ai/gpt4all), where you can find comprehensive information regarding the app's functionalities and technical details. Moreover, you can delve deeper into the training process and database by going through their detailed Technical report, available for download at [Technical report](https://s3.amazonaws.com/static.nomic.ai/gpt4all/2023_GPT4All_Technical_Report.pdf).
|
||||
|
||||
One of the app's impressive features is that it allows users to send messages to the chatbot and receive instantaneous responses in real-time, ensuring a seamless user experience. Additionally, the app facilitates the exportation of the entire chat history in either text or JSON format, providing greater flexibility to the users.
|
||||
One of the app's impressive features is that it allows users to send messages to the chatbot and receive instantaneous responses in real time, ensuring a seamless user experience. Additionally, the app facilitates the exportation of the entire chat history in either text or JSON format, providing greater flexibility to the users.
|
||||
|
||||
It's worth noting that the model has recently been launched, and it's expected to evolve over time, enabling it to become even better in the future. This webui is designed to provide the community with easy and fully localized access to a chatbot that will continue to improve and adapt over time.
|
||||
It's worth noting that the model has recently been launched, and it's expected to evolve across time, enabling it to become even better in the future. This web UI is designed to provide the community with easy and fully localized access to a chatbot that will continue to improve and adapt across time.
|
||||
# Features
|
||||
|
||||
- Chat with locally hosted AI inside a web browser
|
||||
@ -31,7 +31,7 @@ It's worth noting that the model has recently been launched, and it's expected t
|
||||
|
||||
# Installation and running
|
||||
|
||||
Make sure that your CPU supports `AVX2` instruction set. Without it this application wont run out of the box. To check your CPU features, please visit the website of your CPU manufacturer for more information and look for `Instruction set extension: AVX2`.
|
||||
Make sure that your CPU supports `AVX2` instruction set. Without it, this application won't run out of the box. To check your CPU features, please visit the website of your CPU manufacturer for more information and look for `Instruction set extension: AVX2`.
|
||||
|
||||
## Windows 10 and 11
|
||||
|
||||
@ -42,13 +42,13 @@ Make sure that your CPU supports `AVX2` instruction set. Without it this applica
|
||||

|
||||
|
||||
2. Extract contents into a folder.
|
||||
3. Install application by double clicking on `install.bat` file from Windows explorer as normal user.
|
||||
4. Run application by double clicking on `run.bat` file from Windows explorer as normal user to start the application.
|
||||
3. Install application by double clicking on `install.bat` file from Windows Explorer as normal user.
|
||||
4. Run application by double clicking on `run.bat` file from Windows Explorer as normal user to start the application.
|
||||
|
||||
### Advanced mode:
|
||||
|
||||
1. Install [git](https://git-scm.com/download/win).
|
||||
2. Open terminal/powershell and navigate to a folder you want to clone this repository.
|
||||
2. Open Terminal/PowerShell and navigate to a folder you want to clone this repository.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/nomic-ai/gpt4all-ui.git
|
||||
@ -130,12 +130,12 @@ bash ./install.sh
|
||||
bash ./run.sh
|
||||
```
|
||||
|
||||
On Linux/MacOS, if you have issues, refer more details are presented [here](docs/Linux_Osx_Install.md)
|
||||
On Linux/MacOS, if you have issues, refer to the details presented [here](docs/Linux_Osx_Install.md)
|
||||
These scripts will create a Python virtual environment and install the required dependencies. It will also download the models and install them.
|
||||
|
||||
## Docker Compose
|
||||
Make sure to put models the inside the `models` directory.
|
||||
After that you can simply use docker-compose or podman-compose to build and start the application:
|
||||
After that, you can simply use docker-compose or podman-compose to build and start the application:
|
||||
|
||||
Build
|
||||
```bash
|
||||
@ -162,20 +162,20 @@ Stop detached (one that runs in background)
|
||||
docker compose stop
|
||||
```
|
||||
|
||||
After that you can open the application in your browser on http://localhost:9600
|
||||
After that, you can open the application in your browser on http://localhost:9600
|
||||
|
||||
Now you're ready to work!
|
||||
|
||||
# Supported models
|
||||
You can also refuse to download the model during the install procedure and download it manually.
|
||||
|
||||
**For now we support ggml models that work out of the box (tested on Windows 11 and Ubuntu 22.04.2) such as:**
|
||||
**For now, we support ggml models that work "out-of-the-box" (tested on Windows 11 and Ubuntu 22.04.2), such as:**
|
||||
|
||||
- [GPT4ALL 7B](https://huggingface.co/ParisNeo/GPT4All/resolve/main/gpt4all-lora-quantized-ggml.bin) or visit [repository](https://huggingface.co/ParisNeo/GPT4All)
|
||||
- [Vicuna 7B rev 1](https://huggingface.co/eachadea/legacy-ggml-vicuna-7b-4bit/resolve/main/ggml-vicuna-7b-4bit-rev1.bin) or visit [repository](https://huggingface.co/eachadea/legacy-ggml-vicuna-7b-4bit)
|
||||
- [Vicuna 13B rev 1](https://huggingface.co/eachadea/ggml-vicuna-13b-4bit/resolve/main/ggml-vicuna-13b-4bit-rev1.bin) or visit [repository](https://huggingface.co/eachadea/ggml-vicuna-13b-4bit)
|
||||
|
||||
**These models dont work out of the box and need to be converted to the right ggml type:**
|
||||
**These models don't work "out-of-the-box" and need to be converted to the right ggml type:**
|
||||
|
||||
- [Vicuna 7B](https://huggingface.co/eachadea/legacy-ggml-vicuna-7b-4bit/resolve/main/ggml-vicuna-7b-4bit.bin) or visit [repository](https://huggingface.co/eachadea/legacy-ggml-vicuna-7b-4bit)
|
||||
- [Vicuna 13B q4 v0](https://huggingface.co/eachadea/ggml-vicuna-13b-1.1/resolve/main/ggml-vicuna-13b-1.1-q4_0.bin) or visit [repository](https://huggingface.co/eachadea/ggml-vicuna-13b-1.1/)
|
||||
@ -186,13 +186,13 @@ Just download the model into the `models` folder and start using the tool.
|
||||
|
||||
# Build custom personalities and share them
|
||||
|
||||
To build a new personality, create a new file with the name of the personality inside the `personalities` folder. You can look at `gpt4all_chatbot.yaml` file as an example. Then you can fill the fields with the description, the conditionning etc of your personality. Then save the file.
|
||||
To build a new personality, create a new file with the name of the personality inside the `personalities` folder. You can look at `gpt4all_chatbot.yaml` file as an example. Then you can fill the fields with the description, conditionning, etc. of your personality. Then save the file.
|
||||
|
||||
You can launch the application using the personality in two ways:
|
||||
- Either you want to change it permanently by putting the name of the personality inside your configuration file
|
||||
- Or just use the `--personality` or `-p` option to give the personality name to be used.
|
||||
- Change it permanently by putting the name of the personality inside your configuration file
|
||||
- Use the `--personality` or `-p` option to give the personality name to be used
|
||||
|
||||
If you deem your personality worthy of sharing, you can share the personality by adding it to the [GPT4all personalities](https://github.com/ParisNeo/GPT4All_Personalities) repository. Just fork the repo, add your file and do a pull request.
|
||||
If you deem your personality worthy of sharing, you can share the it by adding it to the [GPT4all personalities](https://github.com/ParisNeo/GPT4All_Personalities) repository. Just fork the repo, add your file, and do a pull request.
|
||||
|
||||
# Advanced Usage
|
||||
|
||||
@ -215,15 +215,15 @@ To run the Flask server, execute the following command:
|
||||
python app.py [--config CONFIG] [--personality PERSONALITY] [--port PORT] [--host HOST] [--temp TEMP] [--n-predict N_PREDICT] [--top-k TOP_K] [--top-p TOP_P] [--repeat-penalty REPEAT_PENALTY] [--repeat-last-n REPEAT_LAST_N] [--ctx-size CTX_SIZE]
|
||||
```
|
||||
|
||||
On Linux/MacOS more details are [here](docs/Linux_Osx_Usage.md)
|
||||
On Linux/MacOS more details can be found [here](docs/Linux_Osx_Usage.md)
|
||||
|
||||
## Options
|
||||
* `--config`: the configuration file to be used. It contains default configurations to be used. The script parameters will override the configurations inside the configuration file. It must be placed in configs folder (default: default.yaml)
|
||||
* `--personality`: the personality file name. It contains the definition of the pezrsonality of the chatbot. It should be placed in personalities folder. The default personality is `gpt4all_chatbot.yaml`
|
||||
* `--config`: the configuration file to be used. It contains default configurations. The script parameters will override the configurations inside the configuration file. It must be placed in configs folder (default: default.yaml)
|
||||
* `--personality`: the personality file name. It contains the definition of the pezrsonality of the chatbot and should be placed in personalities folder. The default personality is `gpt4all_chatbot.yaml`
|
||||
* `--model`: the name of the model to be used. The model should be placed in models folder (default: gpt4all-lora-quantized.bin)
|
||||
* `--seed`: the random seed for reproductibility. If fixed, it is possible to reproduce the outputs exactly (default: random)
|
||||
* `--port`: the port on which to run the server (default: 9600)
|
||||
* `--host`: the host address on which to run the server (default: localhost). To expose application to local network set this to 0.0.0.0.
|
||||
* `--host`: the host address at which to run the server (default: localhost). To expose application to local network, set this to 0.0.0.0.
|
||||
* `--temp`: the sampling temperature for the model (default: 0.1)
|
||||
* `--n-predict`: the number of tokens to predict at a time (default: 128)
|
||||
* `--top-k`: the number of top-k candidates to consider for sampling (default: 40)
|
||||
@ -232,7 +232,7 @@ On Linux/MacOS more details are [here](docs/Linux_Osx_Usage.md)
|
||||
* `--repeat-last-n`: the number of tokens to use for detecting repeated n-grams (default: 64)
|
||||
* `--ctx-size`: the maximum context size to use for generating responses (default: 2048)
|
||||
|
||||
Note: All options are optional, and have default values.
|
||||
Note: All options are optional and have default values.
|
||||
|
||||
Once the server is running, open your web browser and navigate to http://localhost:9600 (or http://your host name:your port number if you have selected different values for those) to access the chatbot UI. To use the app, open a web browser and navigate to this URL.
|
||||
|
||||
@ -240,17 +240,17 @@ Make sure to adjust the default values and descriptions of the options to match
|
||||
|
||||
# Update application To latest version
|
||||
|
||||
On windows run:
|
||||
On Windows, run:
|
||||
```bash
|
||||
update.bat
|
||||
```
|
||||
On linux or macos run:
|
||||
On Linux or OS X, run:
|
||||
```bash
|
||||
bash update.sh
|
||||
```
|
||||
# Contribute
|
||||
|
||||
This is an open-source project by the community for the community. Our chatbot is a UI wrapper for Nomic AI's model, which enables natural language processing and machine learning capabilities.
|
||||
This is an open-source project by the community and for the community. Our chatbot is a UI wrapper for Nomic AI's model, which enables natural language processing and machine learning capabilities.
|
||||
|
||||
We welcome contributions from anyone who is interested in improving our chatbot. Whether you want to report a bug, suggest a feature, or submit a pull request, we encourage you to get involved and help us make our chatbot even better.
|
||||
|
||||
@ -281,11 +281,11 @@ Please note that all contributions are subject to review and approval by our pro
|
||||
|
||||
Here are some of the future plans for this project:
|
||||
|
||||
**Enhanced control of chatbot parameters:** We plan to improve the user interface (UI) of the chatbot to allow users to control the parameters of the chatbot such as temperature and other variables. This will give users more control over the chatbot's responses, and allow for a more customized experience.
|
||||
**Enhanced control of chatbot parameters:** We plan to improve the UI of the chatbot to allow users to control the parameters of the chatbot such as temperature and other variables. This will give users more control over the chatbot's responses, and allow for a more customized experience.
|
||||
|
||||
**Extension system for plugins:** We are also working on an extension system that will allow developers to create plugins for the chatbot. These plugins will be able to add new features and capabilities to the chatbot, and allow for greater customization of the chatbot's behavior.
|
||||
|
||||
**Enhanced UI with themes and skins:** Additionally, we plan to enhance the user interface of the chatbot to allow for themes and skins. This will allow users to personalize the appearance of the chatbot, and make it more visually appealing.
|
||||
**Enhanced UI with themes and skins:** Additionally, we plan to enhance the UI of the chatbot to allow for themes and skins. This will allow users to personalize the appearance of the chatbot and make it more visually appealing.
|
||||
|
||||
We are excited about these future plans for the project and look forward to implementing them in the near future. Stay tuned for updates!
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user