Lord of Large Language Models Web User Interface
Go to file
Saifeddine ALOUI e9805793a5 upgraded tool
2023-08-28 01:40:24 +02:00
.devcontainer Cleared code 2023-08-26 03:07:31 +02:00
.github Added personalities manipulation tools 2023-06-08 08:58:02 +02:00
.vscode Upgraded install batch files 2023-04-06 22:07:20 +02:00
ai_ethics bugfix 2023-07-12 23:36:18 +02:00
api upgraded ui 2023-08-27 02:31:22 +02:00
assets enhanced 2023-07-17 13:03:42 +02:00
configs upgraded ui 2023-08-27 02:31:22 +02:00
databases New code struture with separated backend 2023-04-15 13:30:08 +02:00
docs Cleared code 2023-08-26 03:07:31 +02:00
extensions Added extension 2023-07-06 11:36:57 +02:00
help updated faqs 2023-06-22 09:07:33 +02:00
images updated 2023-06-24 13:06:06 +02:00
presets fixed wininstall 2023-08-28 00:41:55 +02:00
scripts Cleared code 2023-08-26 03:07:31 +02:00
static enhanced UI 2023-08-23 04:21:58 +02:00
templates Cleared code 2023-08-26 03:07:31 +02:00
tests Cleared code 2023-08-26 03:07:31 +02:00
train added training code 2023-06-06 22:20:29 +02:00
web upgraded tool 2023-08-28 01:40:24 +02:00
.gitignore Enhanced UI 2023-08-27 01:16:46 +02:00
.hadolint.yaml Hadolint config added 2023-04-07 18:14:03 +02:00
app.py upgraded tool 2023-08-28 01:40:24 +02:00
c_webui.bat updated 2023-07-12 17:02:55 +02:00
c_webui.sh Fixed syntax coloring 2023-06-30 15:23:49 +02:00
CODE_OF_CONDUCT.md Initial commit 2023-04-06 21:12:49 +02:00
CONTRIBUTING.md Added personalities manipulation tools 2023-06-08 08:58:02 +02:00
docker-compose.yml updated docker file 2023-06-10 16:13:01 +02:00
Dockerfile Fix missing configs and assets in Dockerfile 2023-07-27 18:22:24 +03:00
installer_cpu.iss upgraded tool 2023-08-28 01:40:24 +02:00
LICENSE V5: new personalities structuring 2023-08-18 01:29:53 +02:00
linux_install.sh bugfixes 2023-08-26 18:01:09 +02:00
linux_run.sh bugfixes in install scripts 2023-07-21 15:38:45 +02:00
linux_update.sh upgraded 2023-07-15 23:08:19 +02:00
logo.png upgraded 2023-06-26 00:05:34 +02:00
macos_install.sh fixed 2023-08-04 16:09:22 +02:00
macos_run.sh bugfixes in install scripts 2023-07-21 15:38:45 +02:00
macos_update.sh added update for macos 2023-07-21 15:39:40 +02:00
package-lock.json Added personalities manipulation tools 2023-06-08 08:58:02 +02:00
README.md updated readme 2023-08-27 19:21:44 +02:00
requirements_dev.txt Cleared code 2023-08-26 03:07:31 +02:00
requirements.txt updated 2023-07-24 16:10:58 +02:00
restart_script.py steps can fail now 2023-07-28 01:16:26 +02:00
setup.py V5: new personalities structuring 2023-08-18 01:29:53 +02:00
tailwind.config.js Light and Dark mode + Tailwind Files 2023-04-18 21:49:44 -07:00
uninstall.bat Upgraded install batch files 2023-04-06 22:07:20 +02:00
uninstall.sh Initial commit 2023-04-06 21:12:49 +02:00
update_script.py bugfix, to force updating lollms 2023-08-25 17:53:38 +02:00
webui.bat updated 2023-07-12 17:03:16 +02:00
webui.sh fixed parameters forwarding for linux 2023-07-19 22:05:36 +02:00
win_install.bat fixed wininstall 2023-08-28 00:41:55 +02:00
win_run.bat upgrade 2023-07-15 20:30:36 +02:00
win_update.bat upgrade 2023-07-15 20:30:36 +02:00

LoLLMS Web UI

Logo

GitHub license GitHub issues GitHub stars GitHub forks Discord Follow me on Twitter Follow Me on YouTube pages-build-deployment

Welcome to LoLLMS WebUI (Lord of Large Language Models: One tool to rule them all), the hub for LLM (Large Language Model) models. This project aims to provide a user-friendly interface to access and utilize various LLM models for a wide range of tasks. Whether you need help with writing, coding, organizing data, generating images, or seeking answers to your questions, LoLLMS WebUI has got you covered.

Click here for my youtube video on how to use the tool

Features

  • Choose your preferred binding, model, and personality for your tasks
  • Enhance your emails, essays, code debugging, thought organization, and more
  • Explore a wide range of functionalities, such as searching, data organization, and image generation
  • Easy-to-use UI with light and dark mode options
  • Integration with GitHub repository for easy access
  • Support for different personalities with predefined welcome messages
  • Thumb up/down rating for generated answers
  • Copy, edit, and remove messages
  • Local database storage for your discussions
  • Search, export, and delete multiple discussions
  • Support for Docker, conda, and manual virtual environment setups

Screenshots

Main page image Settings page image Hardware status image Support for most known bindings image image Huge and updated models zoo for each binding type image Models search options image Custom models installation image Huge personalities library (about 300 personalities split in 36 categories) image Personalities search option image Personalities bag where you can activate simultaniously multiple personalities image Multiple personalities discussions image Hot personality selection image

Artbot image Lollms personality maker image Chat with docs with commands like send file and set database image

Python Specialist image

Installation

Prerequisites

Before installing LoLLMS WebUI, make sure you have the following dependencies installed:

Ensure that the Python installation is in your system's PATH, and you can call it from the terminal. To verify your Python version, run the following command:

Windows:

python --version

Linux:

python3 --version

If you receive an error or the version is lower than 3.10, please install a newer version and try again.

Installation steps

For detailed installation steps please refer to these documents:

Easy install

  • Download the appropriate application launcher based on your platform: For Windows: webui.bat For Linux: webui.sh For Linux: c_webui.sh - using miniconda3
  • Place the downloaded launcher in a folder of your choice, for example: Windows: C:\ai\LoLLMS-webui Linux: /home/user/ai/LoLLMS-webui
  • Run the launcher script. Note that you might encounter warnings from antivirus or Windows Defender due to the tool's newness and limited usage. These warnings are false positives caused by reputation conditions in some antivirus software. You can safely proceed with running the script. Once the installation is complete, the LoLLMS WebUI will launch automatically.

Using Conda

If you use conda, you can create a virtual environment and install the required packages using the provided requirements.txt file. Here's an example of how to set it up: First clone the project or download the zip file and unzip it:

git clone https://github.com/ParisNeo/lollms-webui.git
cd lollms-webui

Now create a new conda environment, activate it and install requirements

With cuda support (GPU mode):

conda create --prefix ./env python=3.10 cuda-toolkit ninja git
conda activate ./env
pip install -r requirements.txt

Without cuda support (CPU mode):

conda create --prefix ./env python=3.10 ninja git
conda activate ./env
pip install -r requirements.txt

You should create an empty file called .no_gpu in the folder in order to prevent lollms from trying to use GPU.

Using Docker

Alternatively, you can use Docker to set up the LoLLMS WebUI. Please refer to the Docker documentation for installation instructions specific to your operating system.

Usage

You can launch the app from the webui.sh or webui.bat launcher. It will automatically perform updates if any are present. If you don't prefer this method, you can also activate the virtual environment and launch the application using python app.py from the root of the project. Once the app is running, you can go to the application front link displayed in the console (by default localhost:9600 but can change if you change configuration)

Selecting a Model and Binding

  • Open the LoLLMS WebUI and navigate to the Settings page.
  • In the Models Zoo tab, select a binding from the list (e.g., llama-cpp-official).
  • Wait for the installation process to finish. You can monitor the progress in the console.
  • Once the installation is complete, click the Install button next to the desired model.
  • After the model installation finishes, select the model and press Apply changes.
  • Remember to press the Save button to save the configuration.

Starting a Discussion

  • Go to the Discussions view.
  • Click the + button to create a new discussion.
  • You will see a predefined welcome message based on the selected personality (by default, LoLLMS).
  • Ask a question or provide an initial prompt to start the discussion.
  • You can stop the generation process at any time by pressing the Stop Generating button.

Managing Discussions

  • To edit a discussion title, simply type a new title or modify the existing one.
  • To delete a discussion, click the Delete button.
  • To search for specific discussions, use the search button and enter relevant keywords.
  • To perform batch operations (exporting or deleting multiple discussions), enable Check Mode, select the discussions, and choose the desired action.

Contributing

Contributions to LoLLMS WebUI are welcome! If you encounter any issues, have ideas for improvements, or want to contribute code, please open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the Apache 2.0 License. You are free to use this software commercially, build upon it, and integrate it into your own projects. See the LICENSE file for details.

Acknowledgements

Please note that LoLLMS WebUI is not affiliated with the LoLLMS application developed by Nomic AI. The latter is a separate professional application available at LoLLMS.io, which has its own unique features and community.

We express our gratitude to all the contributors who have made this project possible and welcome additional contributions to further enhance the tool for the benefit of all users.

Contact

For any questions or inquiries, feel free to reach out via our discord server: https://discord.gg/4rR282WJb6

Thank you for your interest and support!

If you find this tool useful, don't forget to give it a star on GitHub, share your experience, and help us spread the word. Your feedback and bug reports are valuable to us as we continue developing and improving LoLLMS WebUI.

If you enjoyed this tutorial, consider subscribing to our YouTube channel for more updates, tutorials, and exciting content.

Happy exploring with LoLLMS WebUI!