forked from likenneth/persona_drift
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add requirements.txt + setup instructions for regular (non-conda) pip…
… install
- Loading branch information
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
OPENAI_API_KEY=OPENAI-API-KEY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |