Skip to content

Augment LLM reasoning with results from a search engine.

Notifications You must be signed in to change notification settings

omar-florez/llm_online

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

LLMs learn static representation of knowledge in the weigths. Our experiments show that smaller models (7B) can compete with models of higher capacity such as ChatGPT and Llama 2 in perceived utility and F1 score if they access search engines to augment their reasoning power during in-context learning.

Steps to run

  1. Create a file named .env in the root folder and define your API keys for OpenAI and SearchAPI.
  • touch .env
openai_api_key = ''
serpapi_api_key = ''
  1. Run with:
  • pip install -r requirements.txt
  • python run/run_online.py

About

Augment LLM reasoning with results from a search engine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages