Git Product home page Git Product logo

get_me_a_nobel_prize_streamlit's Introduction


Logo

Get Me A Nobel Prize - powered by LLMs

A streamlined interface built on Streamlit that interacts with the GPT-4 or GPT-3.5 models (custom models coming soon!) from OpenAI to generate scientific hypotheses. Users can input their scientific problems or the output of their machine learning algorithm of choice to generate potential solutions and visualizations. The visualization is powered by UMAP, and is used to visualize the one-sentence embeddings of the generated hypotheses, where semanticaly similar hypotheses are going to be closer together. App Screenshot

The app can be accessed here: https://getmeanobelprize.streamlit.app/

๐ŸŒŸ Features

  • Interactive UI: Built with Streamlit.
  • OpenAI Integration: Uses GPT-3.5-turbo and GPT-4 models.
  • Visualization: UMAP-based scatter plot of one-sentence embeddings of the generated hypotheses.
  • AI Chat: Chat with the model, view history, and download the chat history.

๐Ÿ”ง Prerequisites

  • Python (>= 3.7)
  • Streamlit
  • OpenAI API key
  • UMAP
  • Plotly

๐Ÿš€ Installation & Usage

  1. Clone:
    git clone https://github.com/Paureel/get_me_a_nobel_prize_streamlit
  2. Navigate:
    cd get_me_a_nobel_prize_streamlit
  3. Install Dependencies:
    conda create --name envname --file requirements.txt
  4. Run:
    streamlit run app.py

Todos

  • [] Add custom prompts (the one I'm using is hardcoded)
  • [] Ability to download the embedding vectors
  • [] Add custom models instead of OpenAI models
  • [] More examples

โœจ Contributing

  1. Fork the project.
  2. Create your feature branch: git checkout -b feature/AmazingFeature
  3. Commit changes: git commit -m 'Add some AmazingFeature'
  4. Push: git push origin feature/AmazingFeature
  5. Open a pull request.

๐Ÿ“„ License

MIT License. See LICENSE for details.

Support

If you liked this project, you can support me by buying me a coffee here :) : buymeacoffee.com/aurelproszw

Acknowledgements

Thank you for Astropomeai for the initial Tree of Thoughts Langchain implementation: https://medium.com/@astropomeai/implementing-the-tree-of-thoughts-in-langchains-chain-f2ebc5864fac

get_me_a_nobel_prize_streamlit's People

Contributors

paureel avatar paureel93 avatar

Stargazers

Lilian Denzler avatar

Watchers

 avatar

Forkers

paureel93

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.