Skip to content

Paureel/get_me_a_nobel_prize_streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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

About

Streamlit app for generating new scientific hypotheses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages