Skip to content

Commit

Permalink
chore: fix makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrery committed Sep 29, 2023
1 parent 275017e commit c9dec26
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 4 deletions.
2 changes: 1 addition & 1 deletion use_case_examples/cifar/cifar_brevitas_training/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

EXAMPLE_NAME=cifar_brevitas_finetuning
EXAMPLE_NAME=cifar_brevitas_training
JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute
TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

EXAMPLE_NAME=cifar_brevitas_finetuning
EXAMPLE_NAME=cifar_brevitas_with_model_spitting
JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute
TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh"

Expand Down
12 changes: 12 additions & 0 deletions use_case_examples/credit_scoring/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Useful for jupyter notebooks
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

EXAMPLE_NAME=credit_scoring
JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute
TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh"

run_example: one

one:
@$(TIME_NB) CreditScoring.ipynb
12 changes: 12 additions & 0 deletions use_case_examples/disease_prediction/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Useful for jupyter notebooks
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

EXAMPLE_NAME=dicease_prediction
JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute
TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh"

run_example: one

one:
@$(TIME_NB) HealthCarePrediction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

EXAMPLE_NAME=cifar_brevitas_finetuning
EXAMPLE_NAME=sentiment_analysis_with_transformers
JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute
TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh"

Expand Down
4 changes: 3 additions & 1 deletion use_case_examples/titanic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

EXAMPLE_NAME=cifar_brevitas_finetuning
EXAMPLE_NAME=titanic
JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute
TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh"

bash download_data.sh

run_example: one

one:
Expand Down

0 comments on commit c9dec26

Please sign in to comment.