-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffcb9e5
commit 695d44a
Showing
2 changed files
with
55 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -163,4 +163,5 @@ cython_debug/ | |
/model_dir/ | ||
/dataset_dir/ | ||
/repos/ | ||
/logs/ | ||
/logs/ | ||
/cache/ |
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,53 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "docker: compose up", | ||
"type": "shell", | ||
"options": { | ||
"cwd": "${workspaceFolder}/docker/up/" | ||
}, | ||
"command": "docker compose -p olah up", | ||
}, | ||
{ | ||
"label": "docker: build main", | ||
"type": "shell", | ||
"command": "docker build -t xiaoyao9184/olah:main -f ./docker/build@source/dockerfile .", | ||
}, | ||
{ | ||
"label": "docker: build 0.3.3", | ||
"type": "shell", | ||
"command": "docker build -t xiaoyao9184/olah:0.3.3 -f ./docker/build@pypi/dockerfile .", | ||
}, | ||
{ | ||
"label": "huggingface-cli: download cais/mmlu", | ||
"type": "shell", | ||
"options": { | ||
"cwd": "${workspaceFolder}", | ||
"env": { | ||
"HF_ENDPOINT": "http://localhost:8090", | ||
"HF_HUB_ETAG_TIMEOUT": "100", | ||
"HF_HUB_DOWNLOAD_TIMEOUT": "100" | ||
} | ||
}, | ||
"command": "huggingface-cli download cais/mmlu --repo-type dataset --revision main --cache-dir ./cache/huggingface/hub" | ||
}, | ||
{ | ||
"label": "conda: run olah-cli", | ||
"type": "shell", | ||
"command": [ | ||
"conda run --no-capture-output -n olah olah-cli -c ./assets/full_configs.toml" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "conda: create env", | ||
"type": "shell", | ||
"command": [ | ||
"conda env create -f ./environment.yml" | ||
] | ||
} | ||
] | ||
} |