GithubHelp home page GithubHelp logo

chatbot's Introduction

Alice Chatbot App ⚡

Open in GitHub Codespaces Open app(stopped the service as maintaing was really expensive)

⚡⚡!!!! I had to halt the project due to the high costs associated with its deployment. !!!⚡⚡

🤔 What is this?

This is an experimental Streamlit chatbot app built for LLaMA2 (or any other LLM). The app includes session chat history and provides an option to select multiple LLaMA2 API endpoints on Replicate.

llama2 demo

llama2 demo

llama2 demo

Features

  • Chat history is maintained for each session (if you refresh, chat history clears)
  • Option to select between different LLaMA2 chat API endpoints (7B, 13B or 70B). The default is 70B.
  • Configure model hyperparameters from the sidebar (Temperature, Top P, Max Sequence Length).
  • Includes "User:" and "Assistant:" prompts for the chat conversation.
  • Each model (7B, 13B & 70B) runs on Replicate - (7B and 13B run on one A100 40Gb, and 70B runs on one A100 80Gb).
  • Docker image included to deploy this app in Fly.io

Usage

  • Start the chatbot by selecting an API endpoint from the sidebar.
  • Configure model hyperparameters from the sidebar.
  • Type your question in the input field at the bottom of the app and press enter.

License

  • Web chatbot license (this repo): Apache 2.0
  • For the LLaMA models license, please refer to the License Agreement from Meta Platforms, Inc.

Acknowledgements

  • Special thanks to the team at Meta AI, Replicate, a16z-infra and the entire open-source community.

Disclaimer

This is an experimental version of the app. Use at your own risk. While the app has been tested, the authors hold no liability for any kind of losses arising out of using this application.

UI Configuration

The app has been styled and configured for a cleaner look. Main menu and footer visibility have been hidden. Feel free to modify this to your custom application.

Resources

chatbot's People

Contributors

stan0047 avatar

Watchers

 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.