Skip to content

Commit

Permalink
readme - add openai api key as an env var
Browse files Browse the repository at this point in the history
  • Loading branch information
AAnirudh07 committed Mar 3, 2023
1 parent 2594e63 commit 578f4d1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apps/accelerate/chatllama/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ pip install -e .
```
Follow the instructions in the Llama repository to download the model weights and tokenizer.

Finally you need to add your OpenAI API key as an environment variable by running the following command in your terminal or command prompt (replacing YOUR_API_KEY with your actual API key):

For Linux/Mac:
```
export OPENAI_API_KEY=YOUR_API_KEY
```

For Windows:
```
set OPENAI_API_KEY=YOUR_API_KEY
```

# Get started with ChatLLaMA

Expand Down

0 comments on commit 578f4d1

Please sign in to comment.