-
Notifications
You must be signed in to change notification settings - Fork 42
47 lines (43 loc) · 1.55 KB
/
paper.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: paper
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
paper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install
run: |
pip install .
- name: Install paper1 depends
run: |
pip install -r paper1_CFs/requirements.txt
- name: Run paper1 experiments
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: jupyter nbconvert --ExecutePreprocessor.timeout=-1 --execute "paper1_CFs/*.ipynb" --to notebook --output-dir='temp' --clear-output
- name: Install paper2 depends
run: |
pip install -r paper2_LIME/requirements.txt
- name: Run paper2 experiments
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: jupyter nbconvert --ExecutePreprocessor.timeout=-1 --execute "paper2_LIME/*.ipynb" --to notebook --output-dir='temp' --clear-output
- name: Install paper3 depends
run: |
pip install -r paper3_Scents/requirements.txt
- name: Run paper3 experiments
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: jupyter nbconvert --ExecutePreprocessor.timeout=-1 --execute "paper3_Scents/*.ipynb" --to notebook --output-dir='temp' --clear-output