Skip to content

Commit

Permalink
add requirements.txt + setup instructions for regular (non-conda) pip…
Browse files Browse the repository at this point in the history
… install
  • Loading branch information
k8si committed Sep 17, 2024
1 parent e5b57b0 commit e736b48
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
OPENAI_API_KEY=OPENAI-API-KEY
11 changes: 11 additions & 0 deletions SETUP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Modified Setup

```bash
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
python -m ipykernel install --user --name=drift --display-name="drift"
cp .env.example .env
# Edit .env file to fill in your OpenAI API key
```
14 changes: 14 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
transformers==4.32.0
torch
nltk==3.8.1
requests
langdetect==1.0.9
pandas
matplotlib
seaborn
jupyter
ipykernel
numpy<2
openai
python-dotenv
accelerate

0 comments on commit e736b48

Please sign in to comment.