Giter Club home page Giter Club logo

falconai's Introduction

FALCON Chatbot

FALCON is an open source chatbot fine-tuned on Open-Llama 7B v2 for RADAR applications. This chatbot was created by four high schoolers during the summer of 2023 as part of the JHU Applied Physics Laboratory's (APL) ASPIRE program. FALCON chatbot assists APL users in the AMDS (Air & Missle Defence Sector) with day-to-day tasks in secure/confidential working environments with no internet access. With FALCON, APL users can have more confidence giving the AI more complicated tasks, freeing their time for more creative endeavors.

Website: http://falconai.outer.jhuapl.edu

Disclaimer: This is a secure website from APL, and is only available in specific whitelisted IP address areas.

  • Original model: Open-Llama v2 (7 billion parameters)
  • Fine-tuned on: radar textbooks and journals, threats briefs
  • Protected with: LangChain gaurdrails (NSFW, jailbreaking)
  • Built with: ReAct framework Human Machine Teaming capabilities
  • Constructed with: Flask (Python web framework)

Put in a photo of the Web App UI, maybe with some box shadows when it looks nice, remind Zenchang pls

Features

  • Normal Mode
    • The normal mode uses the fine-tuned open-llama model, and is best suited for answering general questions relating to radars. With conversational memory, users can ask questions and converse with the model. Users can also ask questions outside of radars, but the responses might not be as accurate.
  • Document Mode
    • The document ingest mode allows users to upload multiple documents to FALCON. Using the llama 13B Kenny, confirm the final model model from OPAL, users can ask specific questions about the text, such as "What are the top 3 threats I need to know about from North Korea as a radar specialist?", or more general questions, such as "summarize and list the main points of this document".
  • Explanation Mode
    • The explanation mode activates HMT (Human Machine Teaming), built with the ReAct framework, prompting the model to explain how it got to its answers. With more advanced AI reasoning, users can have more confidence giving the AI more complicated tasks, freeing their time for more creative endeavors.
  • Strong CounterAI Gaurdrails
    • To prevent the model from outputting illegal, profane, or otherwise NSFW content, we implemented AI guardrails. By using language model chaining via LangChain, we are able to determine if input prompts fall into the above categories without impacting model performance.

How to use FALCON Chatbot

ASPIRE Poster

Credits

Contributors:

  • Zenchang Sun
  • Kenneth Wang
  • Justin Sykes
  • Niko Tabernero

APL Mentors

  • Michael Tabernero
  • Josh McCarter
  • Ryan Allen
  • Edwina Liu

License

Unlicensed.

falconai's People

Contributors

cyberninja101 avatar kennlw avatar niko1235 avatar sykesju avatar

Stargazers

 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.