Giter VIP home page Giter VIP logo

alpaca-turbo's Introduction

Alpaca-Turbo

Licence

GitHub release (latest by date) Commits/month

Contributors Downloads Discord

Alpaca-Turbo is a language model that can be run locally without much setup required. It is a user-friendly web UI for the alpaca.cpp language model based on LLaMA, with unique features that make it stand out from other implementations. The goal is to provide a seamless chat experience that is easy to configure and use, without sacrificing speed or functionality.

๐Ÿ“ Example views

Chat Frontpage

Alpaca-Turbo Screenshot 2

Chat functionality

Alpaca-Turbo Screenshot 1

๐Ÿ“ฆ Installation Steps

๐Ÿ“บ Video Instructions

๐Ÿณ Using Docker (only Linux is supported with docker)

Note: for some reason this docker container works on Linux but not on Windows

Docker must be installed on your system

  1. Download the latest alpaca-turbo.zip from the release page.
  2. Extract the contents of the zip file into a directory named alpaca-turbo.
  3. Copy your alpaca models to alpaca-turbo/models/ directory.
  4. Run the following command to set everything up:
     docker-compose up
    
  5. Visit http://localhost:7887 to use the chat interface of the chatbot.

OR

๐ŸชŸ Using Windows (standalone or miniconda) AND Mac M1/M2 (using miniconda)

  1. Links for installing miniconda:
    • Windows
    • Mac M1/M2
      • Install for all users
      • Make sure to add c:\ProgramData\miniconda3\condabin to your environment variables
  2. Download the latest alpaca-turbo.zip from the release page.
  3. Extract Alpaca-Turbo.zip to Alpaca-Turbo

Make sure you have enough space for the models in the extracted location

  1. Copy your alpaca models to alpaca-turbo/models/ directory.
  2. Open cmd as Admin and type
    conda init
    
  3. close that window
  4. open a new cmd window in your Alpaca-Turbo dir and type
    conda create -n alpaca_turbo python=3.8 -y
    conda activate alpaca_turbo
    pip install -r requirements.txt
    python api.py
    
  5. Visit http://localhost:7887 select your model and click change wait for the model to load
  6. ready to interact

๐Ÿ’ Contributing

As an open source project in a rapidly developing field, I am open to contributions, whether it be in the form of a new feature, improved infra, or better documentation.

For detailed information on how to contribute.

๐Ÿ™Œ Credits

๐ŸŒŸ History

Star History Chart

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.