From 19e519ae93f2e8f9c78fb985b19873a38b52611c Mon Sep 17 00:00:00 2001 From: wendy Date: Thu, 17 Aug 2023 20:52:30 -0700 Subject: [PATCH 1/3] added accelerate --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 7e283ae..273fd8e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +accelerate argparse func_timeout openai From 4e257de5e8189f741470ab860b82f1e29c3053c6 Mon Sep 17 00:00:00 2001 From: wendy Date: Thu, 17 Aug 2023 21:03:24 -0700 Subject: [PATCH 2/3] add reminder to set openai api key --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a46d04c..82f917d 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ Having implemented the query generator, the next piece of abstraction would be t ## Running the Test ### OpenAI +Remember to have your OpenAI API key set as an environment variable before running the test. Instructions [here](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety).
To test it out with just 1 question (instead of all 175): ```bash From ecf9b37b0eadb6af094b97b66069385190973246 Mon Sep 17 00:00:00 2001 From: wendy Date: Thu, 17 Aug 2023 21:12:40 -0700 Subject: [PATCH 3/3] added openai_api_key var name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 82f917d..7ea7e57 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Having implemented the query generator, the next piece of abstraction would be t ## Running the Test ### OpenAI -Remember to have your OpenAI API key set as an environment variable before running the test. Instructions [here](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety).
+Remember to have your OpenAI API key (`OPENAI_API_KEY="sk-..."`) set as an environment variable before running the test. Instructions [here](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety).
To test it out with just 1 question (instead of all 175): ```bash