Coder Social home page Coder Social logo

omargohan / text-generation-webui.pinokio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cocktailpeanut/text-generation-webui.pinokio

0.0 0.0 0.0 1.38 MB

One-click installer and dashboard for https://github.com/oobabooga/text-generation-webui

JavaScript 32.94% Python 67.06%

text-generation-webui.pinokio's Introduction

text-generation-webui.pinokio

A one-click installer for oobabooga/text-generation-webui

How to use

  1. Install with the install.json 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.
  3. Run either the basic.json, chat.json, notebook.json, or custom.json. This will launch the web ui.
  4. Make sure to add a model in the "Model" tab (Explained below)

Running Llama 2

Step 1. Download models

download_model.png

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

load_model.png

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.

basic_mode.png

2. Notebook mode

One column used for both input and output

notebook_mode.png

3. Chat mode

Chat UI.

chat_mode.png

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

text-generation-webui.pinokio's People

Contributors

cocktailpeanut avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.