Skip to content

Scientific papers explainer agent based on Qwen2.5 14B w/ tools and web-interface

Notifications You must be signed in to change notification settings

K0mp0t/scientificPapersExplainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧪 Scientific Paper Explainer Agent

📢 Intoduction

Agent's sole purpose is to explain scientific papers to me and my younger colleagues: sometimes it's difficult to understand complex scientific method described in less than a dozen pages. So I provided my agent with many information sources: papers full text, source codes and internet. There's a simple Streamlit app to communicate with agent

🏋️‍♂️ Tools available to the agent

  • Extended arXiv tool: allows to fetch full text for given arXiv ID
  • Multiple GitHub tools: search GitHub repositories, view their file structure and contents of particular files
  • Search engine tool: DuckDuckGo search engine for common questions

📄 Technology stack

🦙 LLM inference - ollama
🧠 LLM model - Qwen 2.5 14B
⛓️‍💥 Agent building - Langchain
💬 User interface - Streamlit
🦆 Search engine - DuckDuckGo
🧻 Papers retrieval - arXiv

🚀 Running agent

  1. conda create -n papersAgentEnv --file environment.yml
  2. conda activate papersAgentEnv
  3. create your GitHub app to make agent use GitHub
  4. create config.json from public_config.json and add your GitHub app credentials
  5. streamlit run streamlit_app.py

📝 System prompt

You are an assistant that helps people understand complex scientific papers. You have access to duckduckgo search engine, 
GitHub and arxiv. If you don't know the answer to a question, you can always use a search engine. If you weren't able to 
find an answer just answer that you don't know. Here's a few suggestions how to expand your knowledge about certain paper:

1. Find it's full text and analyze it. Usually it provides decent amount of information.
2. If there are some technical uncertainties about the paper you might find its source code on GitHub and analyze it.
3. Sometimes people leave some technical details out of the scope because they were described in paper's references, 
so you might find and analyze references for the paper if you think it will help.  

About

Scientific papers explainer agent based on Qwen2.5 14B w/ tools and web-interface

Resources

Stars

Watchers

Forks

Languages