https://github.com/cocktailpeanut/text-generation-webui.pinokio
One-click installer and dashboard for https://github.com/oobabooga/text-generation-webui
https://github.com/cocktailpeanut/text-generation-webui.pinokio
pinokio
Last synced: 4 months ago
JSON representation
One-click installer and dashboard for https://github.com/oobabooga/text-generation-webui
- Host: GitHub
- URL: https://github.com/cocktailpeanut/text-generation-webui.pinokio
- Owner: cocktailpeanut
- Created: 2023-07-19T13:07:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-06T03:40:37.000Z (10 months ago)
- Last Synced: 2024-08-06T06:28:10.599Z (10 months ago)
- Topics: pinokio
- Language: Python
- Homepage:
- Size: 1.35 MB
- Stars: 21
- Watchers: 3
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# text-generation-webui.pinokio
A one-click installer for [oobabooga/text-generation-webui](https://github.com/oobabooga/text-generation-webui)
# How to use
1. Install with the [install.json](install.json?raw) script
2. The installation will open in a **default mode**. If you want to try other modes like chat mode and notebook mode, **click stop** to stop the server and come back to the project page, and you will see buttons like **start chat mode**, **start basic mode**, **start notebook mode**, and **start with custom flags**.
2. Run either the [basic.json](basic.json), [chat.json](chat.json), [notebook.json](notebook.json), or [custom.json](custom.json). This will launch the web ui.
3. Make sure to add a model in the "Model" tab (Explained below)# Running Llama 2
## Step 1. Download models

Go to the **Model** tab and find the input field asking for a huggingface name. The raw model from Meta is not immediately usable in Text-generation-ui (and requires permission), so enter the following converted models (for transformer):
- `NousResearch/Llama-2-7b-hf`: Llama2 7B HF
- `NousResearch/Llama-2-7b-chat-hf`: Llama2 7B Chat HF
- `NousResearch/Llama-2-13b-hf`: Llama2 13B HF
- `NousResearch/Llama-2-13b-chat-hf`: Llam2 13B Chat HF
- `NousResearch/Llama-2-70b-hf: Llama2 70B HF
- `NousResearch/Llama-2-70b-chat-hf`: Llama2 70B Chat HF## Step 2. Load models

Downloading alone doesn't automatically load the model.
After downloading, press the refresh button from the model loader section, and select the newly downloaded model.
Then press load.
That's all! You're now ready to play with your model!
# Modes
## 1. Basic mode
The default mode. Separate columns for input and output.

## 2. Notebook mode
One column used for both input and output

## 3. Chat mode
Chat UI.

## 4. Custom mode
If you are an advanced user and want to directly tweak the command line flags as explained here: https://github.com/oobabooga/text-generation-webui#starting-the-web-ui you can use this mode