castorini / rank_llm

Repository for prompt-decoding using LLMs (GPT3.5, GPT4, Vicuna, and Zephyr)
http://rankllm.ai
Apache License 2.0
273 stars 35 forks source link

Separated scripts from modules into /scripts #78

Closed wu-ming233 closed 5 months ago

wu-ming233 commented 5 months ago

Separated main(args) from the following modules/files:

Each into a separate file prefixed with run_{file_name} under src/rank_llm/scripts.

Additionally, some lines under demo and rerank were reformatted by black, along with some updates in imports for the separated modules above.

sahel-sh commented 5 months ago

@wu-ming233 thank you for the PR, please resolve the conflicting files.

wu-ming233 commented 5 months ago

@wu-ming233 thank you for the PR, please resolve the conflicting files.

Updated!

wu-ming233 commented 5 months ago

Removed unnecessary sys path snippets, and incorporated the new PR an hour ago.