diff --git a/prompting/rewards/web_retrieval.py b/prompting/rewards/web_retrieval.py index 8993aced8..be98ed3b1 100644 --- a/prompting/rewards/web_retrieval.py +++ b/prompting/rewards/web_retrieval.py @@ -23,7 +23,7 @@ # Define file paths PAST_WEBSITES_FILE = "past_websites.csv" -TOP_DOMAINS_FILE = "../data/top100k_domains.csv" +TOP_DOMAINS_FILE = "data/top100k_domains.csv" # Define blacklisted terms BLACKLISTED_TERMS = { diff --git a/scripts/install.sh b/scripts/install.sh index 930791ac8..2904f5d3f 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -11,9 +11,8 @@ poetry install --extras "validator" # Build AutoAWQ==0.2.8 from source if [ -d AutoAWQ ]; then rm -rf AutoAWQ; fi -git clone git@github.com:casper-hansen/AutoAWQ.git -cd AutoAWQ && git checkout 16335d087dd4f9cdc8933dd7a5681e4bf88311b6 && pip install -U . && cd .. -rm -rf AutoAWQ +git clone https://github.com/casper-hansen/AutoAWQ.git +cd AutoAWQ && git checkout 16335d087dd4f9cdc8933dd7a5681e4bf88311b6 && poetry run pip install -e . && cd .. poetry run pip install flash-attn --no-build-isolation