Skip to content

an unofficial implementation of paper "Query Rewriting via Large Language Models"

Notifications You must be signed in to change notification settings

Orderheart/GenRewrite

Repository files navigation

an unofficial implementation of paper "Query Rewriting via Large Language Models"

  1. pip install -r requirement.txt
  2. pealse download longformer in huggenface to enable the embedding moodule.(using download.py in prepare file)
  3. set the databse configuration in postgres.json/mysql.json in config_file
  4. set the openai api key in pipeline_module/gpt.py

About

an unofficial implementation of paper "Query Rewriting via Large Language Models"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages