-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provided more flexible setup options
- Loading branch information
Showing
4 changed files
with
49 additions
and
17 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
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 |
---|---|---|
|
@@ -63,20 +63,36 @@ As such the `main` branch is under development and evolving. To replicate specif | |
|
||
## Getting Started | ||
|
||
Requirements: [Anaconda](https://conda.io/projects/conda/en/latest/user-guide/install/index.html), [GNU Make](https://www.gnu.org/software/make/manual/make.html) | ||
|
||
### Download the repo: | ||
```bash | ||
# download the repo | ||
git clone --branch main --depth 1 [email protected]:benlipkin/probsem.git | ||
``` | ||
### Build environment: | ||
|
||
# build environment | ||
make env | ||
_Note: Multiple installation strategies are provided._ | ||
|
||
# test installation | ||
make test | ||
- [Anaconda](https://conda.io/projects/conda/en/latest/user-guide/install/index.html), [Make](https://www.gnu.org/software/make/manual/make.html): automatically build and populate virtual environment (recommended). | ||
```bash | ||
make env | ||
``` | ||
Can test installation via: | ||
```bash | ||
make test | ||
``` | ||
|
||
# NOTE: to use OpenAI models, an API key is required at ~/.openai_api_key | ||
``` | ||
|
||
- pip[strict]: install exact dependencies used during development into current environment. | ||
```bash | ||
python -m pip install -r requirements.txt | ||
``` | ||
|
||
- pip[flexible]: install general dependencies with fewer version specifications at discretion of user. | ||
```bash | ||
python -m pip install -e . | ||
``` | ||
|
||
### Setup API Key: | ||
To use OpenAI models, an API key must be placed at `~/.openai_api_key` | ||
|
||
## Run | ||
|
||
|
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
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