-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 667 Bytes
/
Makefile
File metadata and controls
33 lines (25 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
VENV:=. .pyenv/bin/activate
.pyenv:
virtualenv -p python3 .pyenv
requirements: .pyenv
git submodule update --init
${VENV} && \
pip install -e vendor/transformers && \
pip install -e vendor/wandb-client && \
pip install -e vendor/pytorch-lightning && \
pip install -r vendor/transformers/examples/requirements.txt && \
pip install -r requirements.txt
data/reddit-sarcasm:
mkdir -p data/reddit-sarcasm
data/glue/_done:
python -m bertology.utils.download_glue_data \
--data_dir data/glue
touch data/glue/_done
data/glue: data/glue/_done
ver:
python -V
which python
exit 1
echo going on
jupyter:
${VENV} && cd notebooks && jupyter notebook