Git Product home page Git Product logo

openassistant's Introduction

OpenAssistant

Badge 1 Badge 2

Quick Experience

openassistant app

darkassistant is the new version(the task will be completed by agents):
darkassistant app

Features

Let's ask the assistant first🤔:

display4

So this project encompasses the following features:

1. Rapid Conversion of LLM to Agent🤖

Effortlessly transform your Language Model (LLM) into an Agent.

2. LLM Proficiency Testing Tool🛠️

Explore and evaluate the capabilities of your Language Model through the integrated testing tool.

3. Open Assistant WebUI

Experience the convenience of the Open Assistant Web User Interface (WebUI).

Watch the demo(Vicuna v1.5)

  • Youtube Watch the video
  • BiliBili Watch the video

Everyone have their own AI assistant

Image 1 Image 2
Image 3 Image 4

Support models

models on huggingface:

  • vicuna
  • airoboros
  • koala
  • alpaca
  • chatglm
  • chatglm2
  • dolly_v2
  • oasst_pythia
  • oasst_llama
  • tulu
  • stablelm
  • baize
  • rwkv
  • openbuddy
  • phoenix
  • claude
  • mpt-7b-chat
  • mpt-30b-chat
  • mpt-30b-instruct
  • bard
  • billa
  • redpajama-incite
  • h2ogpt
  • Robin
  • snoozy
  • manticore
  • falcon
  • polyglot_changgpt
  • tigerbot
  • xgen
  • internlm-chat
  • starchat
  • baichuan-chat
  • llama-2
  • cutegpt
  • open-orca
  • qwen-7b-chat
  • aquila-chat
  • ...

How to use

1. Installation

git clone https://github.com/Qiyuan-Ge/OpenAssistant.git
cd OpenAssistant
pip install -r requirements.txt

2. Starting the server

First, launch the controller:

python3 -m fastchat.serve.controller

Then, launch the model worker(s):

python3 -m fastchat.serve.multi_model_worker \
    --model-path model_math \
    --model-names "gpt-3.5-turbo,text-davinci-003" \
    --model-path embedding_model_math \
    --model-names "text-embedding-ada-002"

Finally, launch the RESTful API server:

python3 -m fastchat.serve.openai_api_server --host 0.0.0.0 --port 6006

You should see terminal output like:

INFO:     Started server process [1301]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:6006 (Press CTRL+C to quit)

See more details in https://github.com/lm-sys/FastChat/blob/main/docs/openai_api.md

3. Starting the web UI

streamlit run main.py

Then replace the API Base with your api base (in this case is http://0.0.0.0:6006/v1)
apibase

openassistant's People

Contributors

qiyuan-ge avatar martianbandit 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.